index | npm-run-all | run-s | run-p | Node API |
---|
npm-run-all
A CLI tool to run multiple npm-scripts in parallel or sequential.
> npm-run-all clean lint build:*
> npm-run-all clean --parallel "build:* -- --watch"
Installation
npm install npm-run-all
- Requires
Node@>=0.10
andnpm@>=2
- The
npm-run-all
package introduces 3 CLI commands:npm-run-all
,run-s
, andrun-p
.
CLI Commands
This npm-run-all
package introduces 3 CLI commands.
The main command is npm-run-all. We can make complex plans with npm-run-all command.
Both run-s and run-p are the shorthand commands. run-s is for sequential, run-p is for parallel. We can make simple plans with those commands.
Node API
This npm-run-all
package provides Node API.