:electron: A complete tool for building and publishing Electron applications
Перейти к файлу
Samuel Attard 766259fa43 feat(maker-dmg): update electron-installer-dmg for new features 2018-07-12 16:08:17 +10:00
.github feat(core): V6 API (#433) 2018-04-11 17:03:01 +10:00
ci ci: use NOW_TOKEN on travis to deploy 2018-07-04 14:02:10 +10:00
packages feat(maker-dmg): update electron-installer-dmg for new features 2018-07-12 16:08:17 +10:00
tools build: fixup publish script 2018-07-05 15:10:11 +10:00
.appveyor.yml style: set-up tslint 2018-05-03 14:53:33 +10:00
.babelrc feat(generic): add source-map-support for better stacktraces 2018-05-02 20:34:29 -07: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: set up README sync so that docs on the site are published to js.electronforge.io and to npm w 2018-05-03 17:55:53 +10:00
.now.json feat(core): V6 Docs (#496) 2018-05-01 00:49:39 +10:00
.nvmrc feat(core): V6 API (#433) 2018-04-11 17:03:01 +10:00
.travis.yml feat(core): V6 API (#433) 2018-04-11 17:03:01 +10:00
CHANGELOG.md Update CHANGELOG.md 2018-07-06 10:05:19 +10: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 feat(maker-dmg): update electron-installer-dmg for new features 2018-07-12 16:08:17 +10: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 feat(maker-dmg): update electron-installer-dmg for new features 2018-07-12 16:08:17 +10: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