npm updateto automatically update my packages to the latest versions From docs: > This command will update all the packages listed to the latest version (specified by the tag config), respecting the semver constraints of both your package and its dependencies (if they also require the same package).
npm outdated- to see what could be still updated.
npm update - only updates
package-lock.json and does not change
package.json. I started searching for a way to automatically update my dependencies in
package.json file as well.
How to automatically update
package.json dependencies' versions?
npm -g install npm-check-updates
ncuto see outdated versions or
ncu --upgradeto update the