Skip to content

Commit

Permalink
fix(): improve build script to clean dist folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Ks89 committed Jun 12, 2021
1 parent 4668470 commit 54e7d53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
"serve:dev": "ng serve",
"serve:prod": "ng serve --configuration production",
"build": "npm run build:lib && npm run build:main",
"build:lib": "ng build @ks89/angular-modal-gallery --configuration production && npm run copy:build && npm run copy:other",
"build:lib:watch": "ng build @ks89/angular-modal-gallery --configuration production --watch",
"build:lib": "npm run clean:dist && ng build @ks89/angular-modal-gallery --configuration production && npm run copy:build && npm run copy:other",
"build:lib:watch": "npm run clean:dist && ng build @ks89/angular-modal-gallery --configuration production --watch",
"build:main": "npm run build:main:dev",
"build:main:dev": "ng build",
"build:main:prod": "ng build --configuration production",
"build:examples": "npm run build:lib && npm run clean:examples && npm run copy:dist:examples",
"build:all": "npm run build:lib && npm run build:main && npm run build:examples",
"clean": "npm run clean:main",
"clean:main": "npm run clean:dist && npm run clean:coverage",
"clean:dist": "rimraf @ks89",
"clean:dist": "rimraf @ks89 dist",
"clean:coverage": "rimraf coverage",
"clean:angular-cli-12": "rimraf examples/angular-cli-12/node_modules/@ks89 examples/angular-cli-12/dist",
"clean:angular-cli-material": "rimraf examples/angular-cli-material/node_modules/@ks89 examples/angular-cli-material/dist",
Expand Down

0 comments on commit 54e7d53

Please sign in to comment.