This content originally appeared on DEV Community and was authored by anitaparmar26
If you've ever installed npm packages and you got same version (not upgrade packages). So not worry just three lines of code will help to update.
This npm-check-updates is a utility that automatically adjusts a package.json with the latest version of all dependencies.
$ npm i -g npm-check-updates
$ ncu -u
$ npm install.
1. $ npm i -g npm-check-updates
Thank you for reading.
This content originally appeared on DEV Community and was authored by anitaparmar26
anitaparmar26 | Sciencx (2021-08-25T06:03:46+00:00) How to update package.json dependencies. Retrieved from https://www.scien.cx/2021/08/25/how-to-update-package-json-dependencies/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.