update package react code example Example: upgrade all packages in package.json npm install -g npm-check-updates ncu -u npm install