Last active
April 13, 2018 04:48
-
-
Save ugdark/497beb50836f7e6d2ef6a9d01fb0a2c2 to your computer and use it in GitHub Desktop.
Pacakge.jsonの更新 (npm-check-updates) ref: https://qiita.com/ugdark/items/c97fa1c13d6c078b2f4f
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ npm outdated | |
Package Current Wanted Latest Location | |
truffle 4.1.3 4.1.5 4.1.5 study_solidity | |
zeppelin-solidity 1.7.0 1.8.0 1.8.0 study_solidity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ npm install --save-dev npm-check-updates | |
$ ./node_modules/.bin/ncu | |
Using ~ package.json | |
⸨░░░░░░░░░░░░░░░░░░⸩ ⠏ : | |
The following dependencies are satisfied by their declared version range, but the installed versions are behind. You can install the latest versions without modifying your package file by using npm update. If you want to update the dependencies in your package file anyway, run ncu -a. | |
truffle ^4.1.3 → ^4.1.5 | |
zeppelin-solidity ^1.7.0 → ^1.8.0 | |
$ ncu -a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rm -rf node_modules package-lock.json | |
$ npm install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment