2.0.0 • Published 5 years ago
npm-script-signal v2.0.0
npm-script-signal
npm script wrapper that passes through signals
Install
$ npm install --save npm-script-signal
Usage
Anywhere when you might normally call npm
, instead call the npm-script-signal
executable. npm
will forward only SIGTERM
signals to scripts (as of 3.8.1).
# lifecycle scripts
npm-script-signal start
# arbitrary scripts
npm-script-signal run my-script
License
MIT © Ben Drucker