# npm-run-cli

> CLI to run scripts in package.json

Latest version **1.1.1** (published 2020-03-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install npm-run-cli
pnpm add npm-run-cli
yarn add npm-run-cli
bun add npm-run-cli
```

Provides the command `npm-run`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2020-03-15 |
| First published | 2020-03-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 2 |
| Unpacked size | 1.5 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | m@smuco.de |
| Maintainers | smucode |

## Links

- npm: https://www.npmjs.com/package/npm-run-cli
- npm.io page: https://npm.io/package/npm-run-cli

## Dependencies (2)

- [ramda](https://npm.io/package/ramda.md) ^0.27.0
- [inquirer](https://npm.io/package/inquirer.md) ^7.0.6

## Recent versions

- 1.1.1 (latest) — 2020-03-15
- 1.1.0 — 2020-03-15
- 1.0.0 — 2020-03-07

## README

# CLI to run scripts from package.json

## Example

Given the following scripts section in package.json:

```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](https://raw.githubusercontent.com/smucode/npm-run-cli/master/demo.gif)

## Installation

`npm install -g npm-run-cli`

## Usage

`npm-run`

## Configuration

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

```json
{
  "delimiter": ":"
}
```

---
_Source: https://npm.io/package/npm-run-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
