https://github.com/nickbytes/electron-menubar-boilerplate
Babel + Electron + Menubar + React + Browserify + SASS :rocket: :turtle:
https://github.com/nickbytes/electron-menubar-boilerplate
Last synced: about 1 year ago
JSON representation
Babel + Electron + Menubar + React + Browserify + SASS :rocket: :turtle:
- Host: GitHub
- URL: https://github.com/nickbytes/electron-menubar-boilerplate
- Owner: nickbytes
- License: mit
- Created: 2016-10-18T16:49:55.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-24T10:15:59.000Z (about 10 years ago)
- Last Synced: 2025-02-09T01:36:37.161Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Electron Menubar Boilerplate 🎉 🚀
Babel + Electron + Menubar + React + Browserify + SASS. Based on [menubar](https://github.com/maxogden/menubar) and [jolteon](https://github.com/vulpino/jolteon) 😀
## Features
- One command app builds
- Live reloading
- App Linting
## How to get started
```
npm install -g gulp-cli electron-prebuilt
git clone --depth=1 --branch=master https://github.com/itsnauman/electron-menubar-boilerplate.git electron-menubar
cd electron-menubar
rm -rf .git
npm install
gulp serve
```
### If you're on windows...
`gulp package-osx` will fail because symlinks. Sorry. Blame gulp-atom-electron.
## Directory Structure
- Your client HTML lives in app/.
- Your client javascript lives in app/js/.
- Your client SCSS lives in app/scss.
- Your react components live in app/js/components/.
- Your electron server code lives in src/.
- Everything is programmed using Javascript, the new, cool kind (ES2015).
### Building
- Build the client and server bundles: `gulp build`
- Watch app/ and src/ for changes and update build/ automagically: `gulp watch`
- Lint everything (We use StandardJS, but you can modify the .eslintrc): `gulp lint`
- Open up the app: `gulp serve`. This will also live reload everything, so don't worry about that.
- Package the app for release: `gulp package`.