Skip to main content
Version: 2.28 (prerelease)

node_run_script

def node_run_script(entry_point: 'str', extra_env_vars: 'Iterable[str]' = ()) -> 'NodeRunScript': ...

A script that can be run directly via the run goal, mapped from the scripts section of a package.json file.

This allows running any script defined in package.json directly through pants run.