Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

is there any npm clean install

"build": "npm build",

#cleans/removes node modules
"clean": "rm -rf node_modules",   npm ci

#first removes node_modules and then re-install it!
"reinstall": "npm run clean && npm install"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #npm #clean #install
ADD COMMENT
Topic
Name
1+7 =