Print scripts section from package.json:
- install the jq command line tool (e.g. brew install jq)
- add alias
alias cpacks="jq '.scripts' package.json"
- test if everything works by sourcing the aliases and running
cpacks
A Collection of Productivity Recipes
alias cpacks="jq '.scripts' package.json"
cpacks
alias -g G=' | grep -i ‘ a
ls G 'f.*oo'
Credit: ZSH plugin: common-aliases
Press <CTRL>+X <CTRL>+E
Credit: Why ZSH