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

Commit a1aedfe

Browse files
committed
fix(build): update npm clean script to clear the cache
1 parent 0f7c609 commit a1aedfe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44
"scripts": {
55
"ng": "ng",
66
"start": "ng serve",
7-
"clean": "npm run clean:lib && npm run clean:app",
7+
"clean": "npm cache clear --force && npm run clean:lib && npm run clean:app",
88
"clean:lib": "npm run rimraf -- projects/ngx-feature-flag/node_modules",
99
"clean:app": "npm run rimraf -- package-lock.json node_modules dist src/assets/README.md",
1010
"build": "npm run build:lib && npm run build:app",
1111
"build:app": "ng build",
1212
"prebuild:app": "cp README.md src/assets/README.md",
13+
"reinstall": "npm run clean && npm install",
1314
"rimraf": "rimraf",
1415
"test": "npm run test:lib",
1516
"test:app": "ng test --watch=false",

0 commit comments

Comments
 (0)