Code Monkey home page Code Monkey logo

rocket's Introduction

electron-react-preboot

A Highly Opinionated Boilerplate For Electron + React


Taylor Swift Volkswagen TypeScript Build Status Greenkeeper badge MIT license

Install

requires a node version >= 6 and an npm version >= 3.x.x

First, clone the repo via git:

git clone --depth=1 https://github.com/katallaxie/electron-react-preboot.git your-awesome-project

And then install dependencies with npm.

$ cd your-awesome-project
$ npm i

you will find readly compiled files in app

Run

Start the app in the dev environment. This starts the renderer process in hot-module-replacement mode and starts a server sends hot updates to the renderer process:

$ npm run start

that's it, you have your awesome Electron up an running

DevTools

Toggle Chrome DevTools

  • OS X: Cmd Alt I or F12
  • Linux: Ctrl Shift I or F12
  • Windows: Ctrl Shift I or F12

See electron-debug for more information.

DevTools extension

This boilerplate is included following DevTools extensions:

You can find the tabs on Chrome DevTools.

Packaging

To package apps for the local platform:

$ npm run publish

To package apps for all platforms:

First, refer to Multi Platform Build for dependencies.

License

MIT © Sebastian Döll

rocket's People

Watchers

Sebastian Döll avatar James Cloos avatar  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.