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

Commit 6e61103

Browse files
committed
fix(build): update npm clean script to clear the cache
1 parent 2df9172 commit 6e61103

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"ng": "ng",
66
"start": "ng serve",
77
"bundle-webpack": "npm run build",
8-
"clean": "npm run clean:lib && npm run clean:app",
8+
"clean": "npm cache clear --force && npm run clean:lib && npm run clean:app",
99
"clean:lib": "npm run rimraf -- projects/fabric8-stack-analysis-ui/node_modules",
1010
"clean:app": "npm run rimraf -- package-lock.json node_modules dist",
1111
"lint": "ng lint",
@@ -20,6 +20,7 @@
2020
"test:app": "ng test --watch=false",
2121
"test:lib": "ng test fabric8-stack-analysis-ui --watch=false --browsers ChromeHeadlessNoSandbox",
2222
"test:lib:dev": "ng test fabric8-stack-analysis-ui",
23+
"reinstall": "npm run clean && npm install",
2324
"rimraf": "rimraf",
2425
"pack:lib": "cd dist/fabric8-stack-analysis-ui && npm pack",
2526
"package": "npm run build:lib && npm run pack:lib",

0 commit comments

Comments
 (0)