:electron: A complete tool for building and publishing Electron applications
Перейти к файлу
Samuel Attard f655cf85dd
Update CHANGELOG.md for 6.0.0-beta.64
2022-06-16 11:20:28 -07:00
.github build: don't run GH Pages on PR (#2868) 2022-06-09 20:14:18 -07:00
.husky build(deps-dev): upgrade husky to ^5.1.3 2021-03-03 22:47:53 -08:00
ci refactor: typescript projects & docs generation (#2804) 2022-05-03 10:29:31 -07:00
packages Release 6.0.0-beta.64 2022-06-16 11:20:27 -07:00
tools build: provide tag message in bump script 2022-06-16 11:20:21 -07:00
typings refactor: typescript projects & docs generation (#2804) 2022-05-03 10:29:31 -07:00
.editorconfig chore(core): add *.ts to .editorconfig (#527) 2018-07-06 11:35:26 +10:00
.eslintignore refactor: use custom eslint config + prettier instead of airbnb config (#2520) 2021-09-12 10:44:30 -07:00
.eslintrc.json refactor: typescript projects & docs generation (#2804) 2022-05-03 10:29:31 -07:00
.gitignore refactor: typescript projects & docs generation (#2804) 2022-05-03 10:29:31 -07:00
.mocharc.js refactor: typescript projects & docs generation (#2804) 2022-05-03 10:29:31 -07:00
.npmignore chore: make type checking faster, type check entire repo at once 2018-10-24 16:24:27 +11:00
.prettierignore chore(prettier): ignore generated .webpack folders in Webpack tests 2021-10-02 14:41:47 -07:00
.swcrc build: replace babel with swc (#2725) 2022-02-27 00:19:44 -08:00
CHANGELOG.md Update CHANGELOG.md for 6.0.0-beta.64 2022-06-16 11:20:28 -07:00
CONTRIBUTING.md refactor: use custom eslint config + prettier instead of airbnb config (#2520) 2021-09-12 10:44:30 -07:00
LICENSE docs(LICENSE): add a license file 2016-12-03 23:55:46 +11:00
README.md chore: update vanity URL 2021-11-29 16:48:29 -08:00
SUPPORT.md docs: update discord invite (#2672) 2022-01-17 15:09:07 -08:00
codecov.yml chore: add threshold to codecov (#2811) 2022-04-20 09:24:39 -07:00
package.json Release 6.0.0-beta.64 2022-06-16 11:20:27 -07:00
tsconfig.test.json refactor: typescript projects & docs generation (#2804) 2022-05-03 10:29:31 -07:00
yarn.lock build(deps): bump node-forge from 1.2.1 to 1.3.0 (#2780) 2022-06-13 15:54:54 -04:00

README.md

Electron Forge

Build Status Discord npm version 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 under electron-forge), please view the 5.x branch.


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

Getting Started

Note: Electron Forge requires Node 12.13.0 (LTS) or above, plus git installed.

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

npx create-electron-app my-new-app
# or
yarn create electron-app my-new-app

# then
cd my-new-app
npm start

Alternatively (less recommended):

npm install -g @electron-forge/cli
electron-forge init my-new-app
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/other build tool?

By default, Electron Forge only runs vanilla (i.e., non-compiled) JavaScript, but for typescript, webpack, and other build tool support check out the plugins section of our docs site. We currently have plugins for Webpack and Electron Compile, and a template for Webpack.

Team

Samuel Attard Mark Lee