GithubHelp home page GithubHelp logo

lydiali9 / electron-forge Goto Github PK

View Code? Open in Web Editor NEW

This project forked from electron/forge

0.0 1.0 0.0 15.12 MB

A complete tool for creating, publishing, and installing modern Electron applications

Home Page: https://electronforge.io

License: MIT License

JavaScript 5.52% HTML 0.41% Shell 0.30% TypeScript 93.69% CSS 0.04% Batchfile 0.05%

electron-forge's Introduction

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

electron-forge's People

Contributors

anaisbetts avatar anulman avatar bendemboski avatar bengotow avatar choxi avatar codebytere avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar felixrieseberg avatar gitbook-bot avatar issacgerges avatar jacobq avatar liudonghua123 avatar lukebatchelor avatar malept avatar marshallofsound avatar michaelfig avatar mozgiii avatar nasum avatar pd4d10 avatar pierrickouw avatar r-nk avatar shimaore avatar stanlemon avatar tgds avatar unasuke avatar vhashimotoo avatar vintprox avatar yvanguidoin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.