https://github.com/luin/quicker-npm-run
Alternative to `npm run` with support for autocomplete.
https://github.com/luin/quicker-npm-run
Last synced: about 1 year ago
JSON representation
Alternative to `npm run` with support for autocomplete.
- Host: GitHub
- URL: https://github.com/luin/quicker-npm-run
- Owner: luin
- License: mit
- Created: 2019-12-31T04:22:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-31T05:05:06.000Z (over 6 years ago)
- Last Synced: 2025-04-25T16:46:53.808Z (about 1 year ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# quicker-npm-run
Alternative to `npm run` with support for autocomplete.
## Install
```
npm install -g quicker-npm-run
```
## Usage
A command "nr" will be available after the installation. You can invoke "nr" directly without any arguments to enter the interactive mode. "nr" will prompt all the script names for you to select one to exec.
```
nr
```
Otherwise, in the common usage, you would provide a keyword for quicker-npm-run to look up from the script names.
1. `"t"` matches `"test"`, `"got"`, `"t"`, but not `"build"`.
2. `"dh"` matches `"docker:ssh"` but not `"dig"`.
```
nr t
```
You can optionally pass arguments to the underlying command without the need of `--`:
```
nr t --fix
```