Basic configuration to create cross-platform desktop app with Electron and Create-React-App
$ git clone https://github.com/sebazdev/electron-cra.git
$ cd electron-cra
$ npm install
$ npm run dev
Foreman run dev server and then run electron.
$ npm run build
$ npm run electron
Electron run /build/index.html