A biolerplate for building cross platform desktop apps with Electron, Angular 2 and Travis CI
This project is build from electron-forge angular 2 template
- Electron
- Angular
- Mocha, Ava & Chai for testing
- Application packaging via electron-packager
- Travis CI
Use the seed via git:
git clone https://github.com/RCTechnologies/Seed.git my-projectAfter this change into my-project and run
npm installRun npm run Package:platform to package the project.
The build artifacts will be stored in the out directory.
Use the :platform flag to package for either Linux, Windows(Win32), Mac(Darwin).
To run the app, run npm start
Run npm test to execute the unit tests via [AVA].
Run npm run watch to run test on save.
Travis.yml file is included with example settings that enables CI with Travis.
Example CI is following a 'Branchy' approach(http://www.josra.org/blog/An-automated-git-branching-strategy.html).
Pushing a branch mathching the pattern /^ready/.$/ (ready/) will trigger [Travis] to build/test and if successful merge the feature branch with master and delete the feature branch.
Live Reload
E2E
Convert to Electron-Forge --template
-Groom README