:electron: A complete tool for building and publishing Electron applications
Перейти к файлу
Samuel Attard 22549d9293 chore: make templates work in v6 2018-10-22 12:48:29 +11:00
.github feat(core): V6 API (#433) 2018-04-11 17:03:01 +10:00
ci chore: use yarn to run commands on CI to make output better 2018-09-10 14:32:34 +10:00
packages chore: make templates work in v6 2018-10-22 12:48:29 +11:00
tools chore: update dependencies 2018-10-22 11:47:50 +11:00
.appveyor.yml chore: use yarn to run commands on CI to make output better 2018-09-10 14:32:34 +10:00
.babelrc chore: update dependencies 2018-10-22 11:47:50 +11:00
.cz.js Add cz scopes to be the packages in bolt workspaces 2018-04-16 11:49:19 +10:00
.editorconfig chore(core): add *.ts to .editorconfig (#527) 2018-07-06 11:35:26 +10:00
.eslintrc feat(core): V6 API (#433) 2018-04-11 17:03:01 +10:00
.gitignore chore: add .npmignore when publishing 2018-10-16 15:46:52 +11:00
.now.json feat(core): V6 Docs (#496) 2018-05-01 00:49:39 +10:00
.npmignore chore: add .npmignore when publishing 2018-10-16 15:46:52 +11:00
.nvmrc feat(core): V6 API (#433) 2018-04-11 17:03:01 +10:00
.travis.yml fix: bumps bolt version in Travis (was already bumped in docker and appveyor (#570) 2018-09-10 14:31:26 +10:00
CHANGELOG.md Update CHANGELOG.md 2018-10-16 16:00:30 +11:00
CONTRIBUTING.md feat(core): V6 Docs (#496) 2018-05-01 00:49:39 +10:00
LICENSE docs(LICENSE): add a license file 2016-12-03 23:55:46 +11:00
README.md Point install docs to `@beta` for less confusion 2018-06-19 09:30:24 -07:00
SUPPORT.md feat(core): V6 Docs (#496) 2018-05-01 00:49:39 +10:00
mocha.opts refactor(all): rewrote in typescript 2018-04-28 13:20:03 +10:00
package.json chore: update dependencies 2018-10-22 11:47:50 +11:00
tsconfig.json refactor(all): rewrote in typescript 2018-04-28 13:20:03 +10:00
tslint.json style: set-up tslint 2018-05-03 14:53:33 +10:00
yarn.lock chore: update dependencies 2018-10-22 11:47:50 +11:00

README.md

Electron Forge

Linux/macOS Build Status Windows Build status Commitizen friendly npm version npm license status

A complete tool for building modern Electron applications.

Electron Forge unifies the existing (and well maintained) build tools for Electron development into a simple, easy to use package so that anyone can jump right in to Electron development.


🚨 🚧 WARNING 🚧 🚨

🏗️

The master branch is a rewrite of Electron Forge that will eventually be the 6.x series. If you are looking for the 5.x series (the version currently published to NPM), please view the 5.x branch.


Website | Goals | Usage | Configuration | Support | Contributing | Changelog

Getting Started

Note: Electron Forge requires Node 6 or above, plus git installed.

npm install -g @electron-forge/cli@beta
electron-forge init my-new-app
cd my-new-app
npm start

Alternatively, if you have a more recent version of npm or yarn, you can use npx, or yarn create.

npx @electron-forge/cli@beta init my-new-app
# or
yarn create electron-app my-new-app

# then
cd my-new-app
npm start

Project Goals

  1. Starting with Electron should be as simple as a single command.
  2. Developers shouldn't have to worry about setting up build tooling, native module rebuilding, etc. Everything should "just work" for them out of the box.
  3. Everything from creating the project to packaging the project for release should be handled by one core dependency in a standard way while still offering users maximum choice and freedom.

With these goals in mind, under the hood this project uses, among others:

  • electron-rebuild: Automatically recompiles native Node.js modules against the correct Electron version.
  • Electron Packager: Customizes and bundles your Electron app to get it ready for distribution.

Docs and Usage

For Electron Forge documentation and usage you should check out our website: electronforge.io

FAQ

How do I use this with webpack/babel/typescript/random build tool?

As of Electron Forge 6+ by default we only do vanilla JavaScript but if you want to do some fancy build tool stuff you should check out the plugins section of our docs site. We currently have plugins for Webpack, Parcel and Electron Compile.

Team

Samuel Attard Mark Lee