Update packages

Discover outdated packages w/ npm-check-updates (-u updates package.json)

npx npm-check-updates -u

or 

npx ncu -u

Discover outdated packages w/ npm

npm outdated

Update one package to latest w/ npm

npm update react --depth 6

Update one package to the latest w/ npm

npm install react@latest