run

This execution function is used to run an NPM run operation, which runs a script as defined in a package.json file. The body parameter is supplied as a higher-order function that executes within the scope of an NpmRunExecutionTemplate object, in which the parameters for the script execution can be declared.

Parameters

body

A trailing lambda function which is used to populate the NpmRunExecutionTemplate object.