Skip to content

Find and run scripts in your package.json in an interactive way.

License

Notifications You must be signed in to change notification settings

stsourlidakis/npm-run-interactive

Repository files navigation

npm-run-interactive

Find and run scripts in your package.json in an interactive way.

Basic usage example

Installation

npm i npm-run-interactive -g

Usage

Navigate in your project's directory and just run nri to see a list of all your npm/yarn scripts that you can then execute.

Navigation

Cycle through the scripts with the up/down arrows or tab/shift+tab.

Filtering

Filter the scripts by typing in the prompt, your input will be searched in script names and values.

Non-interactive mode

Skip the prompt and just view your scripts in JSON format by redirecting output to a non-interactive stdout (file, cat, jq etc).

Non-interactive mode example

About

Find and run scripts in your package.json in an interactive way.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published