Skip to content

DataASAP/dataASAP

Repository files navigation

electron-react-redux-boilerplate

Build Status dependencies Status devDependencies Status

A minimal boilerplate to get started with Electron, React and Redux.

MOST IMPORTANT LINK IS - this will give you an actual config that allows you to create a release package without hacks https://github.com/jschr/electron-react-redux-boilerplate

Including:

Quick start

Clone the repository

git clone --depth=1 [email protected]:jschr/electron-react-redux-boilerplate.git

Install dependencies

cd electron-react-redux-boilerplate
npm install

Development

npm run develop

DevTools

Toggle DevTools:

  • OSX: Cmd Alt I or F12
  • Linux: Ctrl Shift I or F12
  • Windows: Ctrl Shift I or F12

Packaging

Modify electron-builder.yml to edit package info.

For a full list of options see: https://github.com/electron-userland/electron-builder/wiki/Options.

Create a package for OSX, Windows and Linux

npm run pack

Or target a specific platform

npm run pack:mac
npm run pack:win
npm run pack:linux

Tests

npm run test

Maintainers

Apps using this boilerplate