Compare commits

..

2 Commits

Author SHA1 Message Date
Florian Hartwich 4180f66667 Optimize package.json 2017-05-10 12:11:53 +02:00
Florian Hartwich 23fa0f912f Fix package.json 2017-05-10 11:53:58 +02:00
2 changed files with 4 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,7 @@
"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",
"mongodb": "mongod --dbpath ./mongodb-data"
}
}