opt-cc/package.json

24 lines
1.1 KiB
JSON
Raw Normal View History

2017-05-10 11:04:06 +02:00
{
"name": "opt-cc",
2018-03-08 10:19:55 +01:00
"version": "1.7.1",
"author": "Florian Hartwich <hardi@noarch.de>",
2017-05-10 11:04:06 +02:00
"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",
"deploy-static": "cd ./static && $(npm bin)/ng build && ln -s ../api/resource/ ../public/resource",
2017-12-23 10:41:36 +01:00
"deploy-static:prod": "cd ./static && $(npm bin)/ng build --prod --aot && ln -s ../api/resource/ ../public/resource",
"postinstall": "npm install --prefix ./static && npm install --prefix ./api",
2018-03-12 10:44:42 +01:00
"lint": "npm run lint --prefix=api && npm run lint --prefix=static",
"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",
"start-e2e": "npm run deploy-static && npm run e2e --prefix ./api",
"test-e2e": "npm run e2e --prefix ./static"
},
2017-10-10 19:03:52 +02:00
"dependencies": {},
"devDependencies": {
"concurrently": "^3.4.0",
"wait-on": "^2.0.2"
2017-05-10 11:04:06 +02:00
}
}