-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
106 lines (106 loc) · 3.04 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "csoverflow",
"version": "1.0.0",
"description": "Open Source O/A forum for computer science students.",
"main": "server/server.ts",
"engines": {
"node": "12.19.1",
"npm": "6.14.8",
"yarn": "1.22.4"
},
"scripts": {
"start": "cross-env NODE_ENV=production node prod/server.js",
"server": "nodemon server/server.ts",
"client": "npm --prefix ./client run start",
"client:install": "npm --prefix ./client install",
"server:install": "npm install",
"server:build": "tsc -p tsconfig.prod.json",
"client:build": "npm --prefix ./client run build && npm run client:move-build",
"develop": "concurrently \"npm run server\" \"npm run client\"",
"develop:ci": "concurrently \"npm start\" \"cd client && npm start\"",
"client:move-build": "ts-node utils/move-from-to.ts client/build prod/client",
"heroku-prebuild": "cd client && npm install --dev",
"heroku-postbuild": "NPM_CONFIG_PRODUCTION=false npm run server:build && npm run client:install && npm run client:build",
"format": "prettier --write \"server/**/*.{ts,tsx,js,jsx}\" \"client/**/*.{ts,tsx,js,jsx}\"",
"prepare": "husky install",
"pre-commit": "lint-staged"
},
"repository": {
"type": "git",
"url": "git+https://github.com/adarshaacharya/csoverflow.git"
},
"keywords": [
"csoverflow",
"typescript",
"mern",
"react",
"postgreSQL",
"node",
"express"
],
"author": "Aadarsha <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/adarshaacharya/csoverflow/issues"
},
"homepage": "https://github.com/adarshaacharya/csoverflow#readme",
"dependencies": {
"@types/express-rate-limit": "^5.1.0",
"bcryptjs": "^2.4.3",
"compression": "^1.7.4",
"cors": "^2.8.5",
"cross-env": "^7.0.2",
"express": "^4.17.1",
"express-rate-limit": "^5.2.3",
"fs-extra": "^9.0.1",
"gravatar": "^1.8.1",
"joi": "^17.2.1",
"jsonwebtoken": "^8.5.1",
"lint-staged": "^10.5.4",
"normalize-url": "^5.3.0",
"pg": "^8.4.1",
"pg-hstore": "^2.3.3",
"sequelize": "^6.3.5"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@types/bcryptjs": "^2.4.2",
"@types/compression": "^1.7.0",
"@types/cors": "^2.8.8",
"@types/express": "^4.17.8",
"@types/fs-extra": "^9.0.2",
"@types/gravatar": "^1.8.1",
"@types/joi": "^14.3.4",
"@types/jsonwebtoken": "^8.5.0",
"@types/node": "^14.11.10",
"concurrently": "^5.3.0",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"husky": "^6.0.0",
"nodemon": "^2.0.5",
"prettier": "^2.1.2",
"ts-node": "^9.0.0",
"typescript": "^4.0.3"
},
"nodemonConfig": {
"ignore": [
"client/*",
"**/*.test.ts",
"**/*.spec.ts",
".git",
"node_modules"
],
"watch": [
"server/*"
]
},
"lint-staged": {
"client/src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"npm run format"
],
"server/**/*.{js,ts}": [
"npm run format"
]
}
}