Created
July 3, 2018 10:33
-
-
Save andreasvirkus/4a302dd15254077c228bd8294f9186c7 to your computer and use it in GitHub Desktop.
Install peerDependencies on UNIX machines
This file contains hidden or 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
( | |
export PKG=eslint-config-airbnb; | |
npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment