Optimize package.json
parent
23fa0f912f
commit
4180f66667
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue