-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
executable file
·42 lines (42 loc) · 1.52 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
{
"name": "server",
"version": "0.0.0",
"private": true,
"engines": {
"npm": "~3.10.8"
},
"scripts": {
"production": "NODE_ENV=production node app.js",
"postinstall": "npm run install-dependencies",
"logs": "docker logs -f $(docker ps -aq | head -n 1)",
"install-dependencies": "cd client/assets && npm install; cd ../..; hash govend && npm run installgo || echo '(!) govend not installed - go dependencies not downloaded'",
"installgo": "cd src/build-chaincode && GOPATH=$(pwd)/../.. && govend -v",
"gobuild": "cd src/build-chaincode && GOPATH=$(pwd)/../.. && go build",
"build-css": "node-sass --include-path scss client/assets/css/scss/main.scss client/assets/css/main.css",
"watch-css": "node-sass --watch --include-path scss client/assets/css/scss/main.scss client/assets/css/main.css",
"nodemon": "GOPATH=$(pwd) nodemon ./bin/www",
"deploy": "NODE_ENV=production DEPLOYANDEXIT=true GOPATH=$(pwd) GPRC_TRACE=all DEBUG=hfc node app.js",
"push": "cf push",
"start": "npm run build-css | npm run watch-css | npm run nodemon"
},
"dependencies": {
"adm-zip": "^0.4.7",
"bluebird": "^3.3.5",
"body-parser": "~1.15.1",
"cfenv": "^1.0.3",
"cookie-parser": "~1.3.5",
"debug": "~2.2.0",
"express": "~4.13.1",
"fs-extra": "^0.30.0",
"hfc": "0.6.5",
"jsonwebtoken": "^5.7.0",
"morgan": "~1.6.1",
"watchjs": "0.0.0",
"winston": "^2.2.0",
"ws": "^1.1.0"
},
"devDependencies": {
"node-sass": "^3.4.2",
"nodemon": "^1.10.2"
}
}