npm-run-cli

1.1.1 • Public • Published

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": ":"
}

Readme

Keywords

none

Package Sidebar

Install

npm i npm-run-cli

Weekly Downloads

1

Version

1.1.1

License

ISC

Unpacked Size

1.59 MB

Total Files

8

Last publish

Collaborators

  • smucode