Skip to content

jluisfgarza/electron-react-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electron-React-Boiler-Template

Developer

Run npm install after cloning the repo.

"scripts": {
  "react-start": "react-scripts start",
  "react-build": "react-scripts build",
  "react-test": "react-scripts test --env=jsdom",
  "react-eject": "react-scripts eject",
  "electron-build": "electron-builder",
  "release": "npm run react-build && electron-builder --publish=always",
  "build": "npm run react-build && npm run electron-build",
  "start": "concurrently \"cross-env BROWSER=none npm run react-start\" \"wait-on http://localhost:3000 && electron .\""
}

npm start Starts react react inside electron.

npm run build Builds react project on 'build' directory and builds electron packages on 'dist' directory.


Example

Releases

No releases published

Packages

No packages published