If you have the list of
dependencies
and dev-dependencies
for your application( update your package.json
). To see what needs to be upgraded, we can use a super-handly Node.js module called npm-check-updates. Using this application is easy; first, install it globally (I recommend installing it globally, since you should be using this for all your projects which rely on NPM!) by running npm install -g npm-check-updates
, and second, run ncu
within the your application directory.
Then you need to run
npm upgrade
which will upgrade all the packages to the latest version found in package.json
.