Fix package.json

pull/1/head
Florian Hartwich 2017-05-10 11:53:58 +02:00
parent 007e3dcd1d
commit 23fa0f912f
2 changed files with 3 additions and 8 deletions

View File

@ -1,15 +1,12 @@
{
"name": "optCommandCenter-frontend",
"name": "opt-cc-static",
"version": "1.0.0",
"license": "MIT",
"private": true,
"angular-cli": {},
"scripts": {
"ng": "ng",
"start": "ng build --env=prod && ln -s ../resource/ rest-server/public/resource && node ./rest-server/server.js",
"dev": "npm run deploy && nodemon ./rest-server/server.js",
"deploy": "ng build && ln -s ../resource/ rest-server/public/resource",
"deploy-prod": "ng build --env=prod && ln -s ../resource/ rest-server/public/resource",
"start": "ng serve",
"test": "ng test"
},
"dependencies": {
@ -29,7 +26,6 @@
"rxjs": "^5.2.0",
"socket.io-client": "^1.4.8",
"ts-helpers": "^1.1.1",
"ts-md5": "^1.2.0",
"typescript": "^2.3.2",
"zone.js": "^0.8.5"
},

View File

@ -8,7 +8,6 @@
"dev": "npm run deploy-static && nodemon opt-cc-api/server.js",
"deploy-static": "cd opt-cc-static && ng build && ln -s ../opt-cc-api/resource/ ../public/resource",
"deploy-static-prod": "cd opt-cc-static && ng build --env=prod && ln -s ../opt-cc-api/resource/ ../public/resource",
"postinstall": "npm install --prefix ./opt-cc2-static ./opt-cc2-static && npm install --prefix ./opt-cc-api ./opt-cc-api"
"postinstall": "npm install --prefix ./opt-cc-static ./opt-cc-static && npm install --prefix ./opt-cc-api ./opt-cc-api"
}
}