Created
November 8, 2021 15:06
-
-
Save Dragod/7b12af5046f03368fecaeded7f12b206 to your computer and use it in GitHub Desktop.
Solve package-lock.json problems
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"scripts": { | |
"clean": "rm -Rf node_modules/ && rm -f ./package-lock.json && npm cache clean -f", | |
"clean_windows": "IF EXIST node_modules rd /s /q node_modules && IF EXIST package-lock.json DEL package-lock.json && npm cache clean -f", | |
"rebuild": "npm run clean && npm i", | |
"rebuild_windows": "npm run clean_windows && npm i" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment