The npm command that you wish to execute for the build. Can be:
install: Installs all module dependencies.
build: Runs node-gyp to build any binary dependencies.
BuildDescription.env
Optional environmental variables to spawn npm with.
Some interesting fields are:
npm_config_registry - registry to download from
npm_config_nodedir - location of node-gyp's include directory
BuildDescription.uid = 'nobody'
Optional user to spawn npm as.
BuildDescription.gid = undefined
Optional group to spawn npm under.
BuildDescription.package
Optional package.json overrides.
Can be extended easily from the repository during npm.configure.
Some interesting fields are:
engines.node - version to spawn as
BuildDescription.repository
A checkout npm module repository to download before building.
BuildDescription.directories.root
The place to use for creating the build.
Understudy Actions
Extensibility for complex actions can be done via Understudy based actions, only before actions are supported.
build.configure (buildDescription)
npm.configure (buildDescription)
npm.package (buildDescription, package)
build.output (buildDescription, tgzStream)
Events
Notifications of actions that have been completed are available via the EventEmitter APIs.
npm.spawned (buildDescription, npmProcess)
#### Copyright (C) Charlie Robbins, Bradley Meck and the Contributors
#### Authors: [Bradley Meck](https://github.com/bmeck), [Charlie Robbins](https://github.com/indexzero)
#### License: MIT
Hammer Icon by Edward Boatman from The Noun Project