forked from codeforgso/GoVote
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
27 lines (27 loc) · 1.14 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
{
"name": "govote",
"version": "0.0.1",
"engines": {
"node": "13.13.x"
},
"private": true,
"dependencies": {
"dotenv": "^8.2.0",
"govote-frontend": "file:client",
"govote-server": "file:server"
},
"scripts": {
"start": "concurrently --kill-others-on-fail \"npm run server\" \"npm run client\"",
"server": "cd server && npm run start:dev",
"prod-server": "cd server && npm run start",
"client": "cd client && npm start",
"build": "cd client && npm install && react-scripts build",
"docker:create-tables": "docker-compose exec govote-server node ./bin/create-tables.js",
"docker:etl": "docker-compose exec govote-server node ./bin/etl.js",
"loadDataMac": "pg_ctl -D /usr/local/var/postgres stop ; pg_ctl -D /usr/local/var/postgres start && node ./server/bin/create-tables.js manual && node ./server/bin/etl.js manual",
"loadDataWin": "(pg_ctl -D \"C:/Program Files/PostgreSQL/11/data/\" stop || true ) && pg_ctl -D \"C:/Program Files/PostgreSQL/11/data\" start && node ./server/bin/create-tables.js manual && node ./server/bin/etl.js manual"
},
"devDependencies": {
"concurrently": "^5.3.0"
}
}