Optimize package.json

pull/1/head
Florian Hartwich 2017-05-10 12:11:53 +02:00
parent 23fa0f912f
commit 4180f66667
1 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@
"dev": "npm run deploy-static && nodemon opt-cc-api/server.js",
"deploy-static": "cd opt-cc-static && ng build && ln -s ../opt-cc-api/resource/ ../public/resource",
"deploy-static-prod": "cd opt-cc-static && ng build --env=prod && ln -s ../opt-cc-api/resource/ ../public/resource",
"postinstall": "npm install --prefix ./opt-cc-static ./opt-cc-static && npm install --prefix ./opt-cc-api ./opt-cc-api"
"postinstall": "npm install --prefix ./opt-cc-static ./opt-cc-static && npm install --prefix ./opt-cc-api ./opt-cc-api",
"mongodb": "mongod --dbpath ./mongodb-data"
}
}