-
Notifications
You must be signed in to change notification settings - Fork 4
run script.sh ( setup )
aameen-tulip edited this page Jan 23, 2023
·
3 revisions
run-script.sh - manual page for run-script.sh 0.1.1
run-script.sh [OPTIONS] /SCRIPT-NAME /[SCRIPT-NAMES…]
Run one or more scripts from package.json in a wrapped runtime
environment. This script must be run from a directory containing a
package.json file.
- -p,–modify-path
- Force modification of
PATHwith bin directories - -P,–no-modify-path
- Do not modify
PATHwith bin directories - -I,–no-ignore-missing
- Throw an error if a script is undefined
- -i,–ignore-missing
- Do not throw an error if a script is undefined
- -b,–parent-bins
- Force searching up for bin directories
- -B,–no-parent-bins
- Do not search up for bin directories
- -u,–usage
- Print usage message to STDOUT
- -h,–help
- Print this message to STDOUT
- -V,–version
- Print version to STDOUT
The following environment variables may be used to locate various executables or in place of options/flags.
Variables marked as “Bool” are treated as false when unset or set to the empty string, or true for any non-empty value. Flags will always take priority over environment variables.
- NO_MODIFY_PATH
- Do not modify
PATHwith bin directories. ( Bool ) - NO_PARENT_BINS
- Do not search up for bin directories. ( Bool )
- IGNORE_MISSING
- Do not throw an error if a script is undefined. ( Bool )
- NODEJS
- Absolute path to
nodeexecutable. - JQ
- Absolute path to
jqexecutable. - BASH
- Absolute path to
bashexecutable.