From a1aedfe664d0b33c08215f3f159c58fddce96b81 Mon Sep 17 00:00:00 2001 From: joshuawilson Date: Wed, 14 Nov 2018 22:45:43 -0500 Subject: [PATCH] fix(build): update npm clean script to clear the cache --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 59717e8..19649e6 100644 --- a/package.json +++ b/package.json @@ -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",