1.1.1 • Published 4 years ago
npm-run-cli v1.1.1
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:
Installation
npm install -g npm-run-cli
Usage
npm-run
Configuration
Add .npmrunrc
to override the configuration. The default config is:
{
"delimiter": ":"
}