Last active
December 29, 2016 10:41
-
-
Save Alex-Just/cd58827c8fea3618b8d8275a985976d9 to your computer and use it in GitHub Desktop.
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
# http://stackoverflow.com/questions/16073603/how-do-i-update-each-dependency-in-package-json-to-the-latest-version | |
# Use npm-check-updates or npm outdated to suggest the latest versions. | |
npm outdated | |
# If you agree, update. | |
npm update | |
rm -rf node_modules | |
rm npm-shrinkwrap.json | |
npm shrinkwrap | |
npm install | |
# Single line | |
npm update && rm -rf node_modules && npm cache clean && rm npm-shrinkwrap.json && npm shrinkwrap && npm install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment