npm升级package.json依赖包到最新版本号 转载自:https://blog.csdn.net/syaivin/article/details/79388244?utm_source=blogxgwz1 1、安装: npm install -g npm-check-updates 2、使用: 检查package.json中dependencies的最新版本: ncu 更新dependencies到新版本: ncu -u 更新全部到最新版本: ncu -a