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 6, 2022
1 parent 772abb3 commit ee71d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"scripts": {
"preinstall": "npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions",
"preinstall": "rm -rf node_modules package-lock.json && 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 ee71d22

Please sign in to comment.