Skip to content

ysuzuki19/reactron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reactron

React + Electron boiler plate

react

create react project with create-react-app

START ON LINUX

run electron app for developing.

$ git clone https://github.com/ysuzuki19/reactron
$ cd reactron
$ npm install
$ npm run electron

if you want to run on browser,

$ npm start

BUILD ON LINUX

$ npm run build-linux     # build linux only
$ npm run build-mac       # build mac   only
$ npm run build-win       # build win   only
$ npm run build-all       # build linux/mac/win

OPEN DEV TOOL ON ELECTRON

Please uncomment out following line in public/electron.js

mainWindow.webContents.openDevTools()

FOR MAC USER

Please remove following line in package.json.

"target": "tar.gz"