1
npm install -g npm-check-updates
12345
ncu --help //查看相关命令ncu //检查当前项目中是否有需要更新的包ncu -u //更新当前项目中引用的package至最新版 package.json