Skip to content

Instantly share code, notes, and snippets.

@tribou
Created November 21, 2016 03:47
Show Gist options
  • Save tribou/45f7d3367d2f89873cca940708e48eca to your computer and use it in GitHub Desktop.
Save tribou/45f7d3367d2f89873cca940708e48eca to your computer and use it in GitHub Desktop.
#!/bin/bash
PKG=eslint-config-tribou
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