-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
46 lines (46 loc) · 1.82 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
{
"name": "grants",
"version": "0.0.1",
"private": true,
"scripts": {
"postinstall": "cd client && npm install",
"setup": "mkdir -p data/db && cp -r config data/config",
"start": "node ./bin/www",
"start:dev": "NODE_ENV=development nodemon --ignore 'client/*' ./bin/www",
"start:client": "cd client && npm start",
"build": "npm run build:client",
"build:all": "npm run build:client && npm run build:server",
"build:client": "rm -rf ./public && mkdir public && cd client && npm run build && cp -r ./build/* ../public",
"build:server": "docker-compose build",
"run:all": "npm run docker:db:daemon && npm run docker:web:daemon",
"docker:db": "docker-compose run -v `pwd`/data/db:/var/lib/postgresql/data grant_db",
"docker:web": "docker-compose run -v `pwd`/data/config:/usr/etc/grants -p 3001:3001 grant_app",
"docker:db:daemon": "docker-compose run -d -v `pwd`/data/db:/var/lib/postgresql/data grant_db",
"docker:web:daemon": "docker-compose run -d -v `pwd`/data/config:/usr/etc/grants -p 3001:3001 grant_app",
"docker": "docker-compose build && docker-compose up",
"docker:dev": "docker-compose -f docker-compose.dev.yml build && docker-compose -f docker-compose.dev.yml up"
},
"dependencies": {
"bluebird": "^3.5.1",
"body-parser": "~1.17.1",
"connect-flash": "^0.1.1",
"cookie-parser": "~1.4.3",
"debug": "~2.6.3",
"deep-diff": "^0.3.8",
"ejs": "^2.5.7",
"express": "~4.15.2",
"express-session": "^1.15.6",
"formidable": "^1.1.1",
"jade": "~1.11.0",
"morgan": "~1.8.1",
"nodemailer": "^4.4.0",
"passport": "^0.4.0",
"passport-google-oauth": "^1.0.0",
"pg": "^7.4.0",
"serve-favicon": "~2.4.2"
},
"devDependencies": {
"eslint-config-prettier": "^3.0.1",
"nodemon": "^1.12.1"
}
}