update npm packages 1

update npm packages

npm i -g npm-check-updates
ncu -u
npm install

Here is what the above code is Doing:
1. Install the npm-check-updates package globally.
2. Run the ncu command to update the package.json file.
3. Run npm install to install the new versions of the packages.

Similar Posts