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 2df9172 commit 6e61103
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 @@ -5,7 +5,7 @@
"ng": "ng",
"start": "ng serve",
"bundle-webpack": "npm run build",
"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/fabric8-stack-analysis-ui/node_modules",
"clean:app": "npm run rimraf -- package-lock.json node_modules dist",
"lint": "ng lint",
Expand All @@ -20,6 +20,7 @@
"test:app": "ng test --watch=false",
"test:lib": "ng test fabric8-stack-analysis-ui --watch=false --browsers ChromeHeadlessNoSandbox",
"test:lib:dev": "ng test fabric8-stack-analysis-ui",
"reinstall": "npm run clean && npm install",
"rimraf": "rimraf",
"pack:lib": "cd dist/fabric8-stack-analysis-ui && npm pack",
"package": "npm run build:lib && npm run pack:lib",
Expand Down

0 comments on commit 6e61103

Please sign in to comment.