Created
June 9, 2017 06:46
-
-
Save lonnelars/36553e0396bf7ae48577cf813e3ffb08 to your computer and use it in GitHub Desktop.
List available npm tasks. Assumes package.json exists in cwd. Assumes jq is installed (https://stedolan.github.io/jq/)
This file contains 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 bash | |
jq '.scripts | keys' package.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment