Find and Execute Package.json Scripts the Easy Way
How to Quickly Find and Execute Scripts in a Large package.json Sometimes, package.json’s scripts section gets very long - especially in a monorepo. Fortunately, fzf + jq makes a great combo to quickly find and execute package.json’s scripts. Prerequisites You will need the following CLI: jq: a utility to work with JSON files fzf: a powerful, versatile fuzzy finder TL;DR: #!bin/bash # Display the list of npm scripts in a fuzzy finder to execute jq -r '....