run-npm
v0.0.2
Published
Run the NPM binary no matter what
Downloads
5
Readme
run-npm
Run the npm binary no matter what
Please see https://github.com/sindresorhus/run-node for details on why this exists.
My use case was to run npm scripts from git hooks, especially when git hooks are executed in GUI clients.
npm
Install
$ npm install --save-dev run-npm
Usage
$ ./node_modules/.bin/run-npm run <script from package.json>
Manually
Install
Download the run-npm file:
$ curl -sSLO https://github.com/mikenikles/run-npm/raw/master/run-npm && chmod +x run-npm
Usage
./run-npm run <script from package.json>
Created by
However, the inspiration is from https://github.com/sindresorhus/run-node.
License
MIT © Mike Nikles