OptionalarchThe system process.arch value
OptionalbuildSkip prebuild download and rebuild module from source.
The path to the node_modules directory to rebuild.
Optional ExperimentalcacheSets a custom cache path for the useCache option.
OptionaldebugRebuilds a Debug build of target modules. If this is false, a Release build will be generated instead.
OptionaldisableDisables the copying of .node files if not needed.
The version of Electron to build against.
OptionalextraAn array of module names to rebuild in addition to detected modules
OptionalforceForce a rebuild of modules regardless of their current build state.
OptionalforceOverride the Application Binary Interface (ABI) version for the version of Electron you are targeting. Only use when targeting nightly releases.
the electron/node-abi repository for a list of Electron and Node.js ABIs
OptionalheaderURL to download Electron header files from.
OptionalignoreArray of module names to ignore during the rebuild process.
OptionaljobsNumber of parallel compile jobs node-gyp should run, passed through as node-gyp's --jobs flag.
OptionalmodeWhether to rebuild modules sequentially or in parallel.
OptionalonlyAn array of module names to rebuild. Only these modules will be rebuilt.
OptionalplatformOverride the target platform to something other than the host system platform. Note: This only applies to downloading prebuilt binaries. It is not possible to cross-compile native modules.
The system process.platform value
OptionalprebuildGitHub tag prefix passed to prebuild-install.
OptionalprojectPath to the root of the project if using npm or yarn workspaces.
OptionaltypesArray of types of dependencies to rebuild. Possible values are prod, dev, and optional.
Optional ExperimentaluseEnables hash-based caching to speed up local rebuilds.
OptionaluseWhether to use the clang executable that Electron uses when building.
This will guarantee compiler compatibility.
Override the target rebuild architecture to something other than the host system architecture.