opt-cc/package.json

15 lines
600 B
JSON

{
"name": "opt-cc",
"version": "1.0.0",
"license": "MIT",
"private": true,
"scripts": {
"start": "npm run deploy-static-prod && node ./rest-server/server.js",
"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-cc2-static ./opt-cc2-static && npm install --prefix ./opt-cc-api ./opt-cc-api"
}
}