Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # requires jq to work
- cat package.json | jq ".dependencies" | jq "keys[]" | xargs echo | xargs -i echo 'add {}' | xargs yarn && \
- cat package.json | jq ".devDependencies" | jq "keys[]" | xargs echo | xargs -i echo 'add {} --dev' | xargs yarn
Add Comment
Please, Sign In to add comment