:electron: A complete tool for building and publishing Electron applications
Перейти к файлу
dependabot[bot] 5e126423ff
build(deps-dev): bump @babel/core from 7.11.0 to 7.11.1 (#1888)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.0 to 7.11.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.11.1/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Lee <malept@users.noreply.github.com>
2020-08-05 12:05:02 -07:00
.github build(deps): update codecov/codecov-action requirement to v1.0.12 (#1880) 2020-08-02 23:51:13 -07:00
ci chore: bump minimum Node version to 10 (#1405) 2020-01-15 17:43:52 -08:00
packages build(deps): bump @octokit/core from 3.1.1 to 3.1.2 (#1886) 2020-08-05 10:59:01 -07:00
tools build: refactor GitHub Action jobs (#1875) 2020-07-31 18:05:42 -07:00
typings refactor: sudo-prompt provides its own typings (#1799) 2020-06-26 12:58:54 -07:00
.babelrc build: emit Node 10 compatible code 2020-02-19 16:47:19 -08: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
.eslintignore feat: add template for typescript (#1319) 2019-12-04 10:01:02 -08:00
.eslintrc.json refactor: create base template & test utils (#1351) 2019-12-17 14:18:44 -08:00
.gitignore build(ci): use Codecov Action instead of devDependency (#1854) 2020-07-20 12:19:41 -07:00
.mocharc.json chore: upgrade dependencies (#701) 2019-02-28 22:19:33 -08:00
.now.json feat(core): V6 Docs (#496) 2018-05-01 00:49:39 +10:00
.npmignore chore: make type checking faster, type check entire repo at once 2018-10-24 16:24:27 +11:00
.nvmrc feat(core): V6 API (#433) 2018-04-11 17:03:01 +10:00
CHANGELOG.md Update CHANGELOG.md for 6.0.0-beta.52 2020-06-27 10:49:39 -07:00
CONTRIBUTING.md docs: add note about conventional commits to the pull request docs 2020-03-08 12:35:51 -07:00
LICENSE docs(LICENSE): add a license file 2016-12-03 23:55:46 +11:00
README.md docs: clean up README wording (#1625) 2020-04-13 08:21:33 -07:00
SUPPORT.md refactor: convert from electron-download to @electron/get (#921) 2019-06-13 10:06:37 -07:00
package.json build(deps-dev): bump @babel/core from 7.11.0 to 7.11.1 (#1888) 2020-08-05 12:05:02 -07:00
tsconfig.json build: emit Node 10 compatible code 2020-02-19 16:47:19 -08:00
tsconfig.packages.json feat: add template for typescript (#1319) 2019-12-04 10:01:02 -08:00
yarn.lock build(deps-dev): bump @babel/core from 7.11.0 to 7.11.1 (#1888) 2020-08-05 12:05:02 -07:00

README.md

Electron Forge

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 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 10 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