2017-05-10 11:04:06 +02:00
|
|
|
{
|
|
|
|
"name": "opt-cc",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"license": "MIT",
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2017-05-11 18:36:32 +02:00
|
|
|
"start": "npm run deploy-static-prod && node ./api/server.js",
|
|
|
|
"dev": "npm run deploy-static && nodemon ./api/server.js",
|
|
|
|
"deploy-static": "cd ./static && ng build && ln -s ../api/resource/ ../public/resource",
|
|
|
|
"deploy-static-prod": "cd ./static && ng build --env=prod && ln -s ../api/resource/ ../public/resource",
|
2017-05-11 15:12:17 +02:00
|
|
|
"postinstall": "npm install --prefix ./static && npm install --prefix ./api",
|
|
|
|
"mongodb": "mongod --dbpath ./mongodb-data",
|
|
|
|
"test": "npm test --prefix ./api"
|
2017-05-10 11:04:06 +02:00
|
|
|
}
|
|
|
|
}
|