Last active
June 21, 2018 17:40
-
-
Save mafintosh/5b836e90970d70877babe9739dccf5cd to your computer and use it in GitHub Desktop.
Resets the npm defaults to how they used to be
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
npm config set loglevel http | |
npm config set progress false | |
npm config set package-lock false | |
npm config set save false | |
mkdir -p ~/.config/configstore/ | |
printf '{"optOut": true,"lastUpdateCheck": 0}' > ~/.config/configstore/update-notifier-npm.json |
@davidmarkclements is that equivalent to npm config set shrinkwrap false
?
seems to do the same thing yeah - but to me... npm config set package-lock false
makes more sense
package-lock !== shrinkwrap - so.. if either of those was going to be altered in the future, I'd bank on npm config set shrinkwrap
being changed/deprecated
@davidmarkclements updated!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
what about
npm config set package-lock false