run-scripts

0.4.0 • Public • Published

Build Status

Run multiple npm scripts sequentially in one go.

Install

$ npm install -g run-scripts

Usage

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 command3

You can just run:

$ run-scripts command1 command2 command3

If 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 command3

License

MIT © Fahad Ibnay Heylaal

Package Sidebar

Install

npm i run-scripts

Weekly Downloads

1,654

Version

0.4.0

License

MIT

Last publish

Collaborators

  • fahad19
  • renan