2017-05-10 11:04:06 +02:00
|
|
|
{
|
|
|
|
"name": "opt-cc",
|
2017-10-08 12:17:21 +02:00
|
|
|
"version": "1.5.3",
|
2017-05-10 11:04:06 +02:00
|
|
|
"license": "MIT",
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2017-05-23 13:26:26 +02:00
|
|
|
"start": "npm run deploy-static-prod && npm start --prefix ./api",
|
|
|
|
"dev": "npm run deploy-static && npm run dev --prefix ./api",
|
2017-07-23 08:46:54 +02:00
|
|
|
"deploy-static": "cd ./static && $(npm bin)/ng build && ln -s ../api/resource/ ../public/resource",
|
2017-10-08 12:17:21 +02:00
|
|
|
"deploy-static-prod": "cd ./static && $(npm bin)/ng build --prod --aot && ln -s ../api/resource/ ../public/resource",
|
2017-05-11 15:12:17 +02:00
|
|
|
"postinstall": "npm install --prefix ./static && npm install --prefix ./api",
|
2017-07-08 13:14:59 +02:00
|
|
|
"mongodb": "mkdir -p mongodb-data && mongod --dbpath ./mongodb-data",
|
2017-05-21 03:59:27 +02:00
|
|
|
"test": "npm test --prefix ./api",
|
2017-05-27 23:35:31 +02:00
|
|
|
"e2e": "npm run deploy-static && concurrently \"npm run e2e --prefix ./api\" \"wait-on -t 60000 http://localhost:3001/ && npm run e2e --prefix ./static\" --success first --kill-others",
|
2017-05-23 12:51:03 +02:00
|
|
|
"start-e2e": "npm run deploy-static && npm run e2e --prefix ./api",
|
|
|
|
"test-e2e": "npm run e2e --prefix ./static"
|
2017-05-21 03:59:27 +02:00
|
|
|
},
|
2017-08-12 15:28:37 +02:00
|
|
|
"dependencies": {
|
2017-10-06 20:11:18 +02:00
|
|
|
"uglify-js": "^3.1.3"
|
2017-08-12 15:28:37 +02:00
|
|
|
},
|
2017-05-21 03:59:27 +02:00
|
|
|
"devDependencies": {
|
2017-05-23 12:51:03 +02:00
|
|
|
"concurrently": "^3.4.0",
|
|
|
|
"wait-on": "^2.0.2"
|
2017-05-10 11:04:06 +02:00
|
|
|
}
|
|
|
|
}
|