nqr
v1.0.0
Published
NPM Quick Run: A zero-dependency wrapper that reduces "npm run x" to "nqr x"
Downloads
110,552
Readme
NPM Quick Run
A simple zero-dependency, 2 line, bash script that proxies npm run
to nqr
to make npm scripts just a little easier to run.
Install
npm i nqr --save-dev
Usage
# before
npm run do-something
# after
nqr do-something
package.json usage
Before
{
"name": "your-package",
"scripts": {
"foo": "echo \"foo\"",
"bar": "echo \"bar\"",
"foobar": "npm run foo && npm run bar"
}
}
Before
{
"name": "your-package",
"scripts": {
"foo": "echo \"foo\"",
"bar": "echo \"bar\"",
"foobar": "nqr foo && nqr bar"
}
}