https://github.com/danielkov/reactron
React and Electron boilerplate with minimal dependencies and no state management, or 'extras'.
https://github.com/danielkov/reactron
babel boilerplate browserify electron es6 es6-javascript react react-dom react-router template
Last synced: 2 months ago
JSON representation
React and Electron boilerplate with minimal dependencies and no state management, or 'extras'.
- Host: GitHub
- URL: https://github.com/danielkov/reactron
- Owner: danielkov
- Created: 2017-02-22T23:17:53.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-23T01:55:57.000Z (over 9 years ago)
- Last Synced: 2025-04-08T22:02:02.667Z (about 1 year ago)
- Topics: babel, boilerplate, browserify, electron, es6, es6-javascript, react, react-dom, react-router, template
- Language: JavaScript
- Size: 188 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reactron
Reactron is a minimal React + Electron app boilerplate with absolutely minimal dependencies. To substitute for Webpack or Gulp, it uses `browserify` into `babelify` with the presets: `babel-preset-es2015` and `babel-preset-react`. To learn more about these, check out their respective repositories.
## Install
`git clone` it into your desired directory, change the configurations in `package.json` and finally start adding your own dependencies and expand on the code-base. You can change the directory structure if you'd like, but make sure you wire up the `import`s as well. If you move or rename the main entry file, make sure your change is reflected in the `package.json` file, under the `build` script.
## Build
To build the app, run `npm run build`. To check out what your app looks like, use `electron .`.
## Issues
If you run into issues while compiling, make sure you have executed `npm i` before you started compiling and also make sure you have `browserify` installed on you computer as a global module. To do this you should do `npm i -g browserify`.