Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ForgeAPI

Hierarchy

  • ForgeAPI

Index

Methods

import

  • Attempt to import a given module directory to the Electron Forge standard.

    • Sets up git and the correct NPM dependencies
    • Adds a template forge config to package.json

    Parameters

    Returns Promise<void>

init

install

lint

  • Lint a local Electron application.

    The promise will be rejected with the stdout+stderr of the linting process if linting fails or will be resolved if it succeeds.

    Parameters

    Returns Promise<void>

make

package

publish

start

  • start(opts: StartOptions): Promise<ChildProcess>
  • Start an Electron application.

    Handles things like native module rebuilding for you on the fly

    Parameters

    • opts: StartOptions

    Returns Promise<ChildProcess>