-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
35 lines (35 loc) · 1.19 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
{
"name": "pizzamon",
"version": "0.1.0",
"private": true,
"author": {
"name": "Guido Lange",
"email": "[email protected]",
"url": "https://github.com/gylxan"
},
"scripts": {
"client": "cd client && npm start",
"server": "nodemon server.js --ignore server/database/db.json",
"init-dev": "node ./server/database/initiate.js",
"dev": "concurrently --kill-others-on-fail \"npm run server\" \"npm run client\"",
"build-client": "cd client && npm run build",
"build-server": "cpx -C ./package.json ./build && del-cli ./build/node_modules && cd ./build && npm install --production && del-cli -f ./package.json",
"copy-server": "cpx -C ./server.js ./build && cpx -C ./server/**/*.{js,service} ./build/server",
"copy-client": "cpx -C ./client/build/**/*.* ./build/client",
"build": "npm run build-client && npm run copy-client && npm run build-server && npm run copy-server",
"start": "cross-env NODE_ENV=production node ./server.js"
},
"dependencies": {
"body-parser": "1.18.3",
"express": "4.16.4",
"lowdb": "1.0.0",
"minimist": "1.2.0"
},
"devDependencies": {
"concurrently": "4.0.1",
"nodemon": "1.18.10",
"cpx": "1.5.0",
"cross-env": "5.2.0",
"del-cli": "1.1.0"
}
}