
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
script-runner
Advanced tools
Invoke multiple commands, running in parallel / sequential, matching npm scripts
Invoke multiple commands, running in parallel / sequential, matching npm scripts
npm install --save-dev script-runner
usage: run [<options> [cmd..]..]
options:
-h, --help output usage information
-v, --verbose verbose logging (not implemented yet)
--silent suppress output of children
--no-errors also suppress error-output of children
-t, --test no running only show process structure
-s, --sequential following cmds will be run in sequence
-p, --parallel following cmds will be run in parallel
-i, --ignore the following cmd will be ignored for --first, --wait and errors
-f, --first only in parallel block: close all sibling processes after first exits
-w, --wait only in parallel block: will not close sibling processes on error
-m, --master only in parallel block: close all sibling processes when the following cmd exits. exitCode will only depend on master
run also looks in node_modules/.bin for cmds
run-para is a shorthand for run --parallel
run-seq is a longhand for run
run-npm will match cmd with npm script and replace them, usage of globs is allowed
e.g.
run-npm -p build:* -s deploy
run "echo 1" "echo 2"
run-para "echo 1" "echo 2"
run-npm build:*
run mocha
run-npm -p serve --master "run-npm 'sleep 1' test:e2e"
// package.json
"scripts": {
...
"build": "run-npm build:*",
"build:step1": "do something",
"build:step2": "do another thing"
...
}
Copyright (c) 2016 Paul Pflugradt Licensed under the MIT license.
FAQs
Invoke multiple commands, running in parallel / sequential, matching npm scripts
The npm package script-runner receives a total of 164 weekly downloads. As such, script-runner popularity was classified as not popular.
We found that script-runner demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.