Skip to content

Instantly share code, notes, and snippets.

@benjaminsehl

benjaminsehl/scripts

Last active Aug 6, 2020
Embed
What would you like to do?
Zsh alias to print the scripts from a package.json file
alias scripts="pcregrep -M '(?<=scripts\":\s)(.|\n)*?(?=\n\s*},)' package.json"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment