I copied package.json from another project and now want to bump all of the dependencies to their latest versions since this is a fresh project and I don\'t mind
This feature has been introduced in npm v5. update to npm using npm install -g npm@latest and
to update package.json
delete /node_modules and package-lock.json (if you have any)
run npm update. this will update the dependencies package.json to the latest, based on semver.
to update to very latest version. you can go with npm-check-updates