安装: npm install -g npm-check-updates
use:
Check the latest version of dependencies in package.json: ncu
Update dependencies to new version: ncu -u
Update all dependencies to the latest version (including the currently specified version range that satisfies the latest version number, such as ^4.2.0 -> ^4.3.0): ncu -a