siketyan / nr

Modern and pretty alternative of npm-run-all
https://www.npmjs.com/package/@siketyan/nr
MIT License
12 stars 0 forks source link
cli nodejs npm npm-scripts

nr - Modern and pretty alternative of npm-run-all

NPM Version MIT License

Prerequisites

Installation

npm install -D @siketyan/nr

or

pnpm add -D @siketyan/nr

or

yarn add -D @siketyan/nr

Usage

[!NOTE] You can specify target scripts using wildcards, braces, or globs. For details, please refer the documentation of minimatch.

Run in serial (default)

nr foo bar baz

Run in parallel

nr -p foo bar baz

If you want to limit concurrent tasks, append a number to the flag:

nr -p 2 foo bar baz