Optional
cwdThe current working directory from which the script will be run. If not specified, the current working directory of the process will be used.
Optional
errorBehavior when the script exits with a non-zero code.
Whether the script is a workspace script.
Optional
stdioDetermines how the child process will handle standard input/output streams.
Options for running an npm script.