Skip to content

Commit

Permalink
CONFIG. Remove 'node_modules' and 'package-lock.json' when run the np…
Browse files Browse the repository at this point in the history
…m script 'preinstall'
  • Loading branch information
beatrizsmerino committed Jul 7, 2022
1 parent 45f922d commit 143a023
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 @@ -3,7 +3,8 @@
"version": "0.1.0",
"private": true,
"scripts": {
"preinstall": "npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions",
"install:clean": "rm -rf node_modules package-lock.json",
"preinstall": "npm run install:clean && npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions",
"postinstall": "npm run lint",
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
Expand Down

0 comments on commit 143a023

Please sign in to comment.