Answers for "how to update node packages"

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
1

how to update dev dependencies npm

npm update --save-dev

// Alternatively, the same command to save time
npm update -D
Posted by: Guest on March-20-2020
1

npm update syntax

npm update -g
Posted by: Guest on March-15-2020
1

npm update syntax

npm outdated -g --depth=0
Posted by: Guest on March-15-2020
0

npm update syntax

npm update
Posted by: Guest on March-15-2020

Code answers related to "how to update node packages"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language