1.1.1 • Published 4 years ago

npm-run-cli v1.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

CLI to run scripts from package.json

Example

Given the following scripts section in package.json:

{
  "scripts": {
    "build": "tsc index.ts --outDir dist",
    "build:watch": "tsc index.ts --outDir dist --watch",
    "demo:test": "",
    "demo:test:unit": "",
    "demo:test:integration": "",
    "demo:build": ""
  }
}

npm-run will output:

demo

Installation

npm install -g npm-run-cli

Usage

npm-run

Configuration

Add .npmrunrc to override the configuration. The default config is:

{
  "delimiter": ":"
}
1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago