0.0.2 • Published 8 years ago

run-npm v0.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

run-npm Build Status

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