Skip to content

Commit

Permalink
build: Modify package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Saka7 committed Jul 25, 2017
1 parent 982830c commit 06a3f99
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"angular-cli": {},
"scripts": {
"build": "ng build --prod --output-hashing none",
"build:prod": "npm run precache && npm run build && npm run copy",
"build:sw": "npm run build && npm run precache",
"build:prod": "npm run build:sw && npm run copy",
"start": "ng serve",
"start:prod": "npm run precache && ng serve --prod",
"lint": "tslint \"src/**/*.ts\"",
Expand All @@ -14,7 +15,7 @@
"pree2e": "webdriver-manager update --standalone false --gecko false",
"precache": "sw-precache --root=dist --config=sw-precache.config.js",
"e2e": "protractor",
"copy": "cp -r dist ../backend/src/main/resources/public"
"copy": "cp -r dist/* ../backend/src/main/resources/public"
},
"dependencies": {
"@angular/common": ">=4.2.2 <5.0.0",
Expand Down

0 comments on commit 06a3f99

Please sign in to comment.