:electron: A complete tool for building and publishing Electron applications
Перейти к файлу
dependabot-preview[bot] 98ba287935
build(deps-dev): bump @types/webpack from 4.41.7 to 4.41.8 (#1583)
* build(deps-dev): bump @types/webpack from 4.41.7 to 4.41.8

Bumps [@types/webpack](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/webpack) from 4.41.7 to 4.41.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/webpack)

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

* Finish upgrading via bolt

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: dependabot-preview[bot] <dependabot-preview[bot]@users.noreply.github.com>
2020-03-23 14:22:27 -07:00
.github build: update Heroku CLI repo key on Linux CI workers 2020-03-20 23:57:29 -07:00
ci chore: bump minimum Node version to 10 (#1405) 2020-01-15 17:43:52 -08:00
packages build(deps): bump fs-extra from 8.1.0 to 9.0.0 (#1577) 2020-03-21 00:35:23 -07:00
tools refactor: use @malept/cross-spawn-promise instead of cross-spawn-promise (#1496) 2020-02-16 15:59:50 -08:00
typings
.babelrc build: emit Node 10 compatible code 2020-02-19 16:47:19 -08:00
.cz.js
.editorconfig
.eslintignore
.eslintrc.json refactor: create base template & test utils (#1351) 2019-12-17 14:18:44 -08:00
.gitignore chore: ignore yarn.lock in subdirectories 2020-02-18 09:13:26 -08:00
.mocharc.json
.now.json
.npmignore
.nvmrc
CHANGELOG.md Update CHANGELOG.md for 6.0.0-beta.50 2020-02-25 12:32:53 -08:00
CONTRIBUTING.md docs: add note about conventional commits to the pull request docs 2020-03-08 12:35:51 -07:00
LICENSE
README.md chore: bump minimum Node version to 10 (#1405) 2020-01-15 17:43:52 -08:00
SUPPORT.md
package.json build(deps-dev): bump @types/webpack from 4.41.7 to 4.41.8 (#1583) 2020-03-23 14:22:27 -07:00
tsconfig.json build: emit Node 10 compatible code 2020-02-19 16:47:19 -08:00
tsconfig.packages.json
yarn.lock build(deps-dev): bump @types/webpack from 4.41.7 to 4.41.8 (#1583) 2020-03-23 14:22:27 -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/random build tool?

By default, Electron Forge only runs vanilla (i.e., non-compiled) 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 and Electron Compile, and a template for Webpack.

Team

Samuel Attard Mark Lee