If you are a user, running is the one built-in command that makes your life super easy. But no, this article is meant for the users. yarn yarn upgrade-interactive hardcore npm When using npm there is a built-in to check for dependencies updates too. shows you list of outdated packages. tool npm outdated npm outdated in action But there is a better tool for that! Using to check for updates and updating your is a no-brainer. npm-check-updates package.json npm-check-updates is a command-line tool that allows you to upgrade your package.json or bower.json dependencies to the latest versions, regardless of existing version constraints. Installation npm install -g npm-check-updates Usage $ ncu nuxt ^1.0.0 → ^2.2.0node-sass ^4.9.2 → ^4.9.4vue-scrollto ^2.11.0 → ^2.13.0 Run with -u to upgrade your package.json Well, wasn't that easy? It shows which packages have updates and using the flag it automatically replaces the version in package.json. -u Edited 19 Oct 2018 - Updated the article with new images and up to date information.
Share Your Thoughts