Answers for "npm upgrade pacakge"

7

how to update my package.json

npm install -g npm-check-updates
/after install run following:
ncu -u

//Then this:
npm update
Posted by: Guest on October-09-2020
0

upgrade npm pacckage to latest version

To upgrade to latest version in accordance to limit set by package.json with
the "^" use
"npm up <package>"

To upgrade to latest package version that may have breaking changes, use
"npm i <package>@latest"
Posted by: Guest on June-15-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language