Last active
March 16, 2022 15:37
-
-
Save jbenner-radham/a25cf4902fc841c5773969ca681d174a to your computer and use it in GitHub Desktop.
A JQ powered package.json query utility.
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
#!/usr/bin/env sh | |
set -o errtrace; set -o errexit; set -o pipefail | |
if [ -n "${1}" ]; then filter="${1}"; else filter=''; fi | |
jq ."${filter}" package.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment