Skip to main content

Updating each dependency in package.json to the latest version?

How to update dependencies in package file

––– views

How can I update each dependency in package.json to the latest version?

It looks like npm-check-updates is the only way to make this happen now.

Type the following command to update dependencies:

npm i -g npm-check-updates
jsx

Link dependencies

ncu - u;
jsx

Finally install latest dependencies

npm install
jsx