run-npm

0.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i run-npm

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • mikenikles