14 lines
597 B
JSON
14 lines
597 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-cc-static ./opt-cc-static && npm install --prefix ./opt-cc-api ./opt-cc-api"
|
|
}
|
|
}
|