1.安装方法
$ npm install -g npm-check-updates
2.使用
$ cd yourproject
$ npm-check-updates
babel-core ~6.26.0 → ~6.26.3
babel-plugin-add-module-exports ~0.2.1 → ~1.0.4
faker ^4.1.0 → ^5.5.3
husky ~0.14.3 → ~7.0.4
jest ~21.2.1 → ~27.3.1
$ ncu -u #批量更新