Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
OrganizationAdvent CalendarQiitadon (β)
Qiita JobsQiita ZineQiita Blog
Help us understand the problem. What is going on with this article?

npm-run-all とは

More than 3 years have passed since last update.

npm-run-all とは

公式 : npm-run-all

1. 概要

- `npm run clean && npm run build:css && npm run build:js && npm run build:html`  
+ `npm-run-all clean build:*`  

複数の npm-scripts を実行するためのコマンドラインツール

2. インストール方法

npm install node-run-all --save-dev

3. つかい方

    $ npm-run-all [--help | -h | --version | -v]
    $ npm-run-all [実行タスク] [オプション]

    実行タスクを、並行 or 順次に実行

    -p, --parallel [実行タスク]   - 実行タスクを、並列実行
    -s, --sequential [実行タスク] - 実行タスクを、順次実行
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away