Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
fix(build): update npm clean script to clear the cache
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuawilson committed Nov 15, 2018
1 parent 0f7c609 commit a1aedfe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
"scripts": {
"ng": "ng",
"start": "ng serve",
"clean": "npm run clean:lib && npm run clean:app",
"clean": "npm cache clear --force && npm run clean:lib && npm run clean:app",
"clean:lib": "npm run rimraf -- projects/ngx-feature-flag/node_modules",
"clean:app": "npm run rimraf -- package-lock.json node_modules dist src/assets/README.md",
"build": "npm run build:lib && npm run build:app",
"build:app": "ng build",
"prebuild:app": "cp README.md src/assets/README.md",
"reinstall": "npm run clean && npm install",
"rimraf": "rimraf",
"test": "npm run test:lib",
"test:app": "ng test --watch=false",
Expand Down

0 comments on commit a1aedfe

Please sign in to comment.