Skip to content

smucode/npm-run-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

CLI to run scripts from package.json

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published