opt-cc/package.json

28 lines
1.5 KiB
JSON
Raw Normal View History

2017-05-10 11:04:06 +02:00
{
"name": "opt-cc",
"version": "1.9.5",
"author": "Florian Hartwich <hardi@noarch.de>",
2017-05-10 11:04:06 +02:00
"private": true,
"scripts": {
2019-02-02 22:54:41 +01:00
"start": "npm run deploy-static-prod && npm start --prefix ./server",
"dev": "npm run deploy-static && npm run dev --prefix ./server",
"pre-deploy-clean": "rm -f ./public/resource",
"deploy-static": "npm run pre-deploy-clean && npm run build --prefix=static && npm run deploy-static:link-resource && npm run deploy-static:api-docs",
2018-07-02 22:18:37 +02:00
"deploy-static:prod": "npm run pre-deploy-clean && npm run build:prod --prefix=static && npm run deploy-static:link-resource && npm run deploy-static:api-docs",
2019-02-02 22:54:41 +01:00
"deploy-static:link-resource": "ln -s ../server/resource/ public/resource",
"deploy-static:api-docs": "npm run api:docs --prefix=server",
"postinstall": "npm install --prefix ./static && npm install --prefix ./server",
"lint": "npm run lint --prefix=server && npm run lint --prefix=static",
"test": "npm test --prefix ./server",
"e2e": "npm run deploy-static && concurrently \"npm run start-test --prefix ./server\" \"wait-on -t 60000 http://localhost:3001/ && npm run e2e --prefix ./static\" --success first --kill-others",
"start-e2e": "npm run deploy-static && npm run start-test --prefix ./server",
"test-e2e": "npm run e2e --prefix ./static",
2019-02-02 22:54:41 +01:00
"test-api": "npm run api:test-docs --prefix ./server"
},
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
}
}