Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Resets the npm defaults to how they used to be
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

This comment has been minimized.

Copy link

@davidmarkclements davidmarkclements commented Jun 29, 2017

what about npm config set package-lock false

@emilbayes

This comment has been minimized.

Copy link

@emilbayes emilbayes commented Jul 3, 2017

@davidmarkclements is that equivalent to npm config set shrinkwrap false?

@davidmarkclements

This comment has been minimized.

Copy link

@davidmarkclements davidmarkclements commented Jul 4, 2017

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

@mafintosh

This comment has been minimized.

Copy link
Owner Author

@mafintosh mafintosh commented Nov 16, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment