Guest User

Untitled

a guest
Feb 18th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #!/bin/sh
  2. # requires jq to work
  3. cat package.json | jq ".dependencies" | jq "keys[]" | xargs echo | xargs -i echo 'add {}' | xargs yarn && \
  4. cat package.json | jq ".devDependencies" | jq "keys[]" | xargs echo | xargs -i echo 'add {} --dev' | xargs yarn
Add Comment
Please, Sign In to add comment