pkg-scripts-runner-cli
v1.0.0
Published
Run multiple npm scripts in parallel or sequence with live output
Downloads
150
Maintainers
Readme
pkg-scripts-runner-cli
Run multiple npm scripts in parallel or sequence with live output.
Install
npm install -g pkg-scripts-runner-cliUsage
# Run scripts sequentially (default)
run-scripts build test lint
# Run scripts in parallel
run-scripts build test lint --parallel
# Stop on first failure
run-scripts build test lint --bail
# JSON output
run-scripts build test lint --json
# Suppress script output
run-scripts build test lint --silentOptions
| Flag | Description |
| -------------- | ------------------------------------ |
| --parallel | Run all scripts simultaneously |
| --sequential | Run scripts one by one (default) |
| --bail | Stop on first failure |
| --json | Output results as JSON |
| --silent | Suppress script output |
Output
Each script gets a color-coded prefix for easy identification. After all scripts complete, a summary is printed showing pass/fail status and duration for each script.
License
MIT
