An open API service indexing awesome lists of open source software.

https://github.com/olimsaidov/electron-react-boilerplate

Single package.json electron app boilerplate with react && hot reloading.
https://github.com/olimsaidov/electron-react-boilerplate

boilerplate electron react react-hot-loader webpack webpack-blocks

Last synced: about 2 months ago
JSON representation

Single package.json electron app boilerplate with react && hot reloading.

Awesome Lists containing this project

README

          

# electron-react-boilerplate

Single `package.json` electron app boilerplate with react && hot reloading.
Webpack HMR is configured via `webpack/hot/signal` (no webpack-dev-server).
All deps except electron native libraries must bu installed as `dev` dependency.

### Usage

Download template

```
$ wget https://github.com/olimsaidov/electron-react-boilerplate/archive/master.zip
$ unzip master.zip
$ cd electron-react-boilerplate-master
```

Install dependencies

```
$ yarn install
```

Run electron and webpack in watch mode with hot reload

```
$ yarn start
```

Build application for production

```
$ yarn build
```

Build electron app

```
$ yarn dist -wm
```