678e63c6cd
* build(deps-dev): bump @babel/preset-env from 7.12.10 to 7.12.11 Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.10 to 7.12.11. - [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.12.11/packages/babel-preset-env) Signed-off-by: dependabot[bot] <support@github.com> * Finish upgrading via bolt Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> |
||
---|---|---|
.github | ||
ci | ||
packages | ||
tools | ||
typings | ||
.babelrc | ||
.cz.js | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.json | ||
.gitignore | ||
.mocharc.js | ||
.now.json | ||
.npmignore | ||
.nvmrc | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
SUPPORT.md | ||
package.json | ||
tsconfig.json | ||
tsconfig.packages.json | ||
yarn.lock |
README.md
Electron Forge
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
- Starting with Electron should be as simple as a single command.
- 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.
- 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 |