-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
30 lines (30 loc) · 982 Bytes
/
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
{
"name": "d2-holy-grail",
"version": "1.0.0",
"author": "",
"license": "ISC",
"scripts": {
"start": "npm run server:prod",
"dev": "concurrently --kill-others-on-fail \"npm run server:dev\" \"npm run client:dev\"",
"server:dev": "cd server && npm run dev",
"client:dev": "cd client && npm run dev",
"server:prod": "cd server && npm run prod",
"server:build:prod": "cd server && npm install && npm install --only=dev --no-shrinkwrap && npm run build",
"client:build:prod": "cd client && npm install && npm install --only=dev --no-shrinkwrap && npm run build && cp -r build ../server/dist/client",
"heroku-postbuild": "npm run server:build:prod && npm run client:build:prod"
},
"devDependencies": {
"concurrently": "^6.2.1",
"husky": "^2.4.1",
"prettier": "^2.4.1",
"pretty-quick": "^3.1.1"
},
"prettier": {
"printWidth": 80
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}