转载自:https://blog.csdn.net/syaivin/article/details/79388244?utm_source=blogxgwz1
1、安装:
$ npm install -g npm-check-updates
2、使用:
进入package.json所在目录,检查package.json中dependencies的最新版本:
$ ncu
更新dependencies到新版本:
$ ncu -u
更新全部到最新版本:
$ npm install
转载自:https://blog.csdn.net/syaivin/article/details/79388244?utm_source=blogxgwz1
1、安装:
$ npm install -g npm-check-updates
2、使用:
进入package.json所在目录,检查package.json中dependencies的最新版本:
$ ncu
更新dependencies到新版本:
$ ncu -u
更新全部到最新版本:
$ npm install
本文标题:npm升级package.json依赖包到最新版本号
本文链接:https://www.haomeiwen.com/subject/wbkjzctx.html
网友评论