NPM 将所有依赖包版本升级到最新 安装 npm-check-updates 1$ npm install -g npm-check-updates 查看哪些包可以升级 1$ npm-check-updates 将所有包升级到最新 1$ npm-check-updates -u 2$ npm i