0.4.0 • Published 10 years ago
run-scripts v0.4.0
Run multiple npm scripts sequentially in one go.
Install
$ npm install -g run-scriptsUsage
In your package.json file, you may already have pre-defined scripts:
{
"scripts": {
"command1": "echo 1",
"command2": "echo 2",
"command3": "echo 3"
}
}Now instead of:
$ npm run command1 && npm run command2 && npm run command3You can just run:
$ run-scripts command1 command2 command3If you wish not to install the module globally, you can do this:
$ npm install --save-dev run-scripts
$ ./node_modules/.bin/run-scripts command1 command2 command3License
MIT © Fahad Ibnay Heylaal
