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