A CLI tool to run multiple npm-scripts in parallel or sequential.
Installations
npm install npm-run-all
Developer Guide
Typescript
No
Module System
CommonJS
Min. Node Version
>= 4
Node Version
11.1.0
NPM Version
6.4.1
Score
61.8
Supply Chain
95.5
Quality
74.5
Maintenance
100
Vulnerability
99.6
License
Releases
Contributors
Languages
JavaScript (100%)
Developer
mysticatea
Download Statistics
Total Downloads
694,016,245
Last Day
161,161
Last Week
1,981,205
Last Month
12,405,536
Last Year
153,435,007
GitHub Statistics
5,763 Stars
267 Commits
242 Forks
35 Watching
4 Branches
22 Contributors
Bundle Size
163.78 kB
Minified
50.97 kB
Minified + Gzipped
Package Meta Information
Latest Version
4.1.5
Package Id
npm-run-all@4.1.5
Size
18.21 kB
NPM Version
6.4.1
Node Version
11.1.0
Publised On
24 Nov 2018
Total Downloads
Cumulative downloads
Total Downloads
694,016,245
Last day
-71.8%
161,161
Compared to previous day
Last week
-34.5%
1,981,205
Compared to previous week
Last month
-12.7%
12,405,536
Compared to previous month
Last year
-2.8%
153,435,007
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
9
index | npm-run-all | run-s | run-p | Node API |
---|
npm-run-all
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, butcmd.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
1$ npm install npm-run-all --save-dev 2# or 3$ 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.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
0 existing vulnerabilities detected
Reason
Found 6/30 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 6 are checked with a SAST tool
Score
3.3
/10
Last Scanned on 2024-12-16
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More