0.0.1 ā€¢ Published 2 years ago

pkg-prompt v0.0.1

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
2 years ago

pkg-prompt

An interactive runner for a npm project package.json scripts, forked from npm-script-prompt.

Installation

Install globally:

npm i -g pkg-prompt

Or, run with npx: npx pkg-prompt.

Usage

Install the package globally and then run pkgscripts in an npm project. Choose the npm script you want to run and hit enter!

Example output prompt for for this repo:

- 5 scripts found for pkg-prompt šŸ“Ÿ

? Select an npm script to run (Use arrow keys)
āÆ test            - node index.js
  command:one     - echo "Running an example command..."
  command:two     - echo "Running an example command..."
  command:three   - echo "Running an example command..."
  (quit-prompt)   - Quit the prompt and exit