nx-electron
Version:
Electron Plugin for Nx
14 lines (13 loc) • 510 B
TypeScript
import type { ProjectGraph } from '@nx/devkit';
import { BuildElectronBuilderOptions } from '../executors/build/executor';
/**
* Creates a package.json in the output directory for support to install dependencies within containers.
*
* If a package.json exists in the project, it will reuse that.
*
* @param projectName
* @param graph
* @param options
* @constructor
*/
export declare function generatePackageJson(projectName: string, graph: ProjectGraph, options: BuildElectronBuilderOptions): void;