
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
script-runner
Advanced tools
Invoke multiple commands, running in parallel / sequential, matching npm scripts
Because dependencies of build or other processes are difficult to handle, a tool is needed to make package management easy again. Script runner has four handy cli tools to manage processes and run npm scripts.
npm install script-runner
usage: run [<options> [cmd..]..]
options:
-h, --help output usage information
-v, --verbose verbose logging (not implemented yet)
--silent suppress output of children
-t, --test no runing only show process structure
-s, --sequential following cmds will be run in sequenz
-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 (succes/error)
-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
-f, --first close all sibling processes after first exits (succes/error)
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
run "echo 1" "echo 2"
run-para "echo 1" "echo 2"
run-npm build:*
Copyright (c) 2016 Paul Pflugradt Licensed under the MIT license.
FAQs
Invoke multiple commands, running in parallel / sequential, matching npm scripts
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.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.