npmHooks.npmBuildHook

Hook for building packages that use npm. Can be used in multi-language environments.

Examples

Variables controlling npmBuildHook

npmBuildHook Exclusive Variables

npmBuildScript

Controls the script ran to build the npm package within the package.json file. Required to be set, usually to build, but can vary between packages.

npmBuildFlags

Controls the arguments to the {command}npm run $npmBuildScript command.

dontNpmBuild

Disables npmBuildHook when enabled

Honored Variables

The following variables are honored by the npmBuildHook.