npm update package.json scan all requires code example Example: how to update version of dependencies reactjs $ npm install -g npm-check-updates $ ncu -u $ npm install