美文网首页
npm 更新package.json中的dependencies

npm 更新package.json中的dependencies

作者: Talentisan | 来源:发表于2020-09-29 15:39 被阅读0次
安装:
npm install -g npm-check-updates 或 cnpm install -g npm-check-updates

使用:

检查package.json中dependencies的最新版本:
ncu

更新dependencies到新版本:
ncu -u

最后还需要 
npm install  或 cnpm install

相关文章

网友评论

      本文标题:npm 更新package.json中的dependencies

      本文链接:https://www.haomeiwen.com/subject/ovyeuktx.html