项目作者: katallaxie

项目描述 :
:bowtie: Mesos First! Mesos First!
高级语言: TypeScript
项目地址: git://github.com/katallaxie/rocket.git
创建时间: 2017-07-24T12:36:05Z
项目社区:https://github.com/katallaxie/rocket

开源协议:MIT License

下载


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:

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

And then install dependencies with npm.

  1. $ cd your-awesome-project
  2. $ 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:

  1. $ 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:

  1. $ npm run publish

To package apps for all platforms:

First, refer to Multi Platform Build for dependencies.

License

MIT © Sebastian Döll