4.1.5 • Published 5 years ago

npm-run-all v4.1.5

Weekly downloads
2,136,767
License
MIT
Repository
github
Last release
5 years ago
indexnpm-run-allrun-srun-pNode API

npm-run-all

npm version Downloads/month Build Status Build status Coverage Status Dependency Status

A CLI tool to run multiple npm-scripts in parallel or sequential.

⤴️ Motivation

  • Simplify. The official npm run-script command cannot run multiple scripts, so if we want to run multiple scripts, it's redundant a bit. Let's shorten it by glob-like patterns. Before: npm run clean && npm run build:css && npm run build:js && npm run build:html After: npm-run-all clean build:*
  • Cross platform. We sometimes use & to run multiple command in parallel, but cmd.exe (npm run-script uses it by default) does not support the &. Half of Node.js users are using it on Windows, so the use of & might block contributions. npm-run-all --parallel works well on Windows as well.

💿 Installation

$ npm install npm-run-all --save-dev
# or
$ yarn add npm-run-all --dev
  • It requires Node@>=4.

📖 Usage

CLI Commands

This npm-run-all package provides 3 CLI commands.

The main command is npm-run-all. We can make complex plans with npm-run-all command.

Both run-s and run-p are shorthand commands. run-s is for sequential, run-p is for parallel. We can make simple plans with those commands.

Yarn Compatibility

If a script is invoked with Yarn, npm-run-all will correctly use Yarn to execute the plan's child scripts.

Node API

This npm-run-all package provides Node API.

📰 Changelog

🍻 Contributing

Welcome♡

Bug Reports or Feature Requests

Please use GitHub Issues.

Correct Documents

Please use GitHub Pull Requests.

I'm not familiar with English, so I especially thank you for documents' corrections.

Implementing

Please use GitHub Pull Requests.

There are some npm-scripts to help developments.

  • npm test - Run tests and collect coverage.
  • npm run clean - Delete temporary files.
  • npm run lint - Run ESLint.
  • npm run watch - Run tests (not collect coverage) on every file change.
vortex-editor@agonzalezh/libreria-seguridad-backend@mace/nx-cli@slp/nx-cli@varet/zj2m-prom-exporter@nextiva-cypress/nextiva-cypressbit-bin@critto/bundle-devcaweb-clicovlabsdepa-easel@teambit/legacycirrus-mapper-class-transformercirrus-pool-class-transformercirrus-pool-v5-class-transformercirrus-pool-v6-class-transformervelcro-reactvijaybabu-editnkes6-libjupyterlab-prologif-dotenvvue-svg-symbol-loadercom.d3sd1.angular.multiplaformangular-multiplatformproject-name-heremongodb-backup-guitest-ans-wechat-sdkpocketrocket-commontk-basezca_hotelbedsreact-firebase-providerquietjs-bundle-2psychopolitique_billet_ovhmapmyindiacontrol@yigityuce/web-components@ctrine/toolboxcra-template-redux-tailwindcss-typescript@red-threads/open-budget-client@gocelestial/indieauth@idkwtm/wordpress-initcontentclusterpropertywithpotential.co.uksb-layout@psimk/porter-react-base-skeleton@psimk/porter-react-skeleton@psimk/porter-vue-skeleton@citeright/mixpanel@bolder/prettier-config@bolder/tslint-configastateful-cliwowpack1wowpack2wow-cypress-packagemern-stackgha-componentsgilsomo-newstructuremjml-browsersync-boilerplatealex-d.jsbootkitsand-product-configsand-migration-plannerreact-new-first-lib@dnb-hugo/toolsrjhans7-mapbox-gl-native-1rjhans7-mapbox-gl-native@mediamonks/porter-react-base-skeleton@mediamonks/porter-vue-skeleton@mediamonks/porter-react-skeleton@dotedu/ivx-web-story-forge@sotah-inc/api-local-develement-ui-color-settinghydrosphere@farnam/create-react-templatedshiosakyreis-integrationsmongo-airtablernw-tailwind.macrovuemantic@stan-ui/webpack-configreact-project-template@apreto/libsdoc2faqigo-devssr-rb-uihimacra-template-reactttomni-api-corenfx-database-library@in-r-tools/in-r-p@mothership/typesuitecreate-stackbit-playground@omni-qa/api-core@b0th/teststylight-cssaxiom--name-backenddiscovery-storybooklc-apmjohnmuirhealth-themenarconon-us-sitemocha-sauce-connect
4.1.5

5 years ago

4.1.4

5 years ago

4.1.3

6 years ago

4.1.2

6 years ago

4.1.1

7 years ago

4.1.0

7 years ago

4.0.2

7 years ago

4.0.1

7 years ago

4.0.0

7 years ago

3.1.2

7 years ago

3.1.1

8 years ago

3.1.0

8 years ago

3.0.0

8 years ago

2.3.0

8 years ago

2.2.2

8 years ago

2.2.1

8 years ago

2.2.0

8 years ago

2.1.2

8 years ago

2.1.1

8 years ago

2.1.0

8 years ago

2.0.0

8 years ago

1.8.0

8 years ago

1.7.0

8 years ago

1.6.0

8 years ago

1.5.3

8 years ago

1.5.3-0

8 years ago

1.5.2

8 years ago

1.5.1

8 years ago

1.5.0

8 years ago

1.4.0

8 years ago

1.3.4

8 years ago

1.3.3

8 years ago

1.3.2

8 years ago

1.3.1

8 years ago

1.3.0

8 years ago

1.2.14-beta

8 years ago

1.2.13

8 years ago

1.2.12

9 years ago

1.2.11

9 years ago

1.2.10

9 years ago

1.2.9

9 years ago

1.2.8

9 years ago

1.2.7

9 years ago

1.2.6

9 years ago

1.2.5

9 years ago

1.2.4

9 years ago

1.2.3

9 years ago

1.2.2

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.3

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago