Compare commits

..

No commits in common. "4180f6666732baba70808bf1dcff3e2297948b46" and "007e3dcd1ded33ef7bd2bc8e252e1d57540285b2" have entirely different histories.

2 changed files with 8 additions and 4 deletions

View File

@ -1,12 +1,15 @@
{
"name": "opt-cc-static",
"name": "optCommandCenter-frontend",
"version": "1.0.0",
"license": "MIT",
"private": true,
"angular-cli": {},
"scripts": {
"ng": "ng",
"start": "ng serve",
"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",
"test": "ng test"
},
"dependencies": {
@ -26,6 +29,7 @@
"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-cc-static ./opt-cc-static && npm install --prefix ./opt-cc-api ./opt-cc-api",
"mongodb": "mongod --dbpath ./mongodb-data"
"postinstall": "npm install --prefix ./opt-cc2-static ./opt-cc2-static && npm install --prefix ./opt-cc-api ./opt-cc-api"
}
}