1.0.1 • Published 6 years ago
electron-react-tools v1.0.1
WARNING
This is an experimental version, it depends react-scripts and react-dev-utils for now, there might be dramatic updates or rewrite in future.
Electron React Tools
This kit aims to provide easy to use tools for React developers to work with Electron.
Usage
You can either install globally or locally.
Global Usage
Run electron-react-tools start
in your app directry.
Local Usage
Install as a dev dependency
npm install --dev electron-react-tools
or
yarn add --dev electron-react-tools
and add "electron-start": "electron-react-tools start"
line to scripts in package.json file. Then run
npm run electron-start
or
yarn electron-start
##NOTE
This version assumes your application's entry point is ./src/index.js and ./public/index.html
In further versions these will be configurable.