From 23fa0f912ff432df69e84e457d7097eaec258822 Mon Sep 17 00:00:00 2001 From: Florian Hartwich Date: Wed, 10 May 2017 11:53:58 +0200 Subject: [PATCH] Fix package.json --- opt-cc-static/package.json | 8 ++------ package.json | 3 +-- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/opt-cc-static/package.json b/opt-cc-static/package.json index 30a7f65..217bf21 100644 --- a/opt-cc-static/package.json +++ b/opt-cc-static/package.json @@ -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" }, diff --git a/package.json b/package.json index f774039..07ee116 100644 --- a/package.json +++ b/package.json @@ -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" } } -