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 hidden or 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
seems to do the same thing yeah - but to me...
npm config set package-lock false
makes more sensepackage-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