2017-05-10 11:04:06 +02:00
{
"name" : "opt-cc" ,
2019-08-04 13:16:11 +02:00
"version" : "1.9.5" ,
2017-10-28 12:58:40 +02:00
"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" ,
2018-07-02 22:17:16 +02:00
"pre-deploy-clean" : "rm -f ./public/resource" ,
2018-07-02 20:23:47 +02:00
"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" ,
2018-03-24 19:04:22 +01:00
"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-05-21 03:59:27 +02:00
} ,
2017-10-10 19:03:52 +02:00
"dependencies" : { } ,
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
}
}