- Install npm-check-updates
- Update package.json
- Install new versions
npm i -g npm-check-updates
ncu -u
npm install
ncu
will only check for updates but not update package.json
npm i -g npm-check-updates
ncu -u
npm install
ncu
will only check for updates but not update package.json