Skip to content

npm-run

NPM run utilities.

Function Description
npmRun Runs a command using npm checking if the command is overridden in the package.json.
npmRunOptional Runs a command using npm only if the command is defined in the package.json scripts. If the command is not defined, it is silently skipped.
Enum Description
NpmRunOptionalResult The result of running an optional npm command.