0.0.1 ⢠Published 4 years ago
pkg-prompt v0.0.1
pkg-prompt
An interactive runner for a npm project package.json scripts, forked from npm-script-prompt.
Installation
Install globally:
npm i -g pkg-promptOr, 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 exit0.0.1
4 years ago