https://github.com/sean-perkins/angular-electron-seed
An Angular (4+) seed with Electron, Live-reload, AngularCLI, etc.
https://github.com/sean-perkins/angular-electron-seed
angular angular-cli electron ngx seed typescript
Last synced: 10 months ago
JSON representation
An Angular (4+) seed with Electron, Live-reload, AngularCLI, etc.
- Host: GitHub
- URL: https://github.com/sean-perkins/angular-electron-seed
- Owner: sean-perkins
- Created: 2017-05-21T09:07:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-24T01:51:48.000Z (over 8 years ago)
- Last Synced: 2024-12-22T14:36:48.408Z (about 1 year ago)
- Topics: angular, angular-cli, electron, ngx, seed, typescript
- Language: TypeScript
- Size: 24.4 KB
- Stars: 117
- Watchers: 21
- Forks: 38
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Angular Electron Seed
This seed combines the technologies of Angular (4+) with [Electron](https://electron.atom.io/) to create a robust development stack for creating Desktop applications. Leveraging the stock AngularCLI build process, we are able to maintain webpack and stock tooling with minimal tweaking.

## Getting Started
|Command|Description|
|--|--|
|`npm i`| Install the required dependencies|
|`npm run start`|Builds the project and opens your app in Electron|
|`npm run start.watch`|Builds the project and watches for file changes with Angular CLI|
|`npm run watch`|Runs the custom tooling and syncs the live-sync with the AngularCLI watch task|
|`npm run bundle.mac`|Bundles your MacOS app into the bundles directory|
|`npm run bundle.windows`|Bundles your Windows app into the bundles directory|
|`npm run bundle.linux`|Bundles your Linux app into the bundles directory|
### Features
- IPC Protocol - Send messages between Electron and Angular (plays beep when clicking Getting Started)
- Exposed Electron API via `NgxElectronService`
- Bundle your app for Mac, Windows or Linux
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
Before running the tests make sure you are serving the app via `ng serve`.
## Built with Angular Electron Seed
- [Google Sidekick](https://github.com/sean-perkins/google-sidekick)
# Contributors
[
](https://github.com/sean-perkins) |
:---:
|[Sean Perkins](https://github.com/sean-perkins)|