![Dependency Status](https://david-dm.org/yuki-takei/electron-angular2-boilerplate .svg) ![devDependency Status](https://david-dm.org/yuki-takei/electron-angular2-boilerplate /dev-status.svg)
- Electron
- ES6
- Angular2
- Typescript
- Bootstrap3
- LESS (with less.js when developing)
- LiveReload
- compile and minify for production
- Electron: Babel and Browserify
- Angular2: JSPM
- LESS to CSS
- package for Windows, Mac OSX, and Linux
- node.js
(confirmed to work with v0.12.7)
$ cd /path/to/local_repos
$ npm install -g gulp jspm dtsm
$ npm install
$ jspm install
$ dtsm install
## provides a http server that hosts an angular app run by JSPM
$ gulp serve
## provides a http server that hosts an angular app
## run with Self-Executing (SFX) Bundles generated by JSPM
$ gulp serve:dist
## privides an electron server that loads an angular app run by JSPM
$ gulp serve:electron
## privides an electron server that loads an angular app
## run with Self-Executing (SFX) Bundles generated by JSPM
$ gulp serve:dist:electron
$ gulp package
/
├── .tmp
│ ├── dist # location for compiled Angular2 App files
│ ├── typings # location for DefinitelyTyped files
│ └── serve # location for compiled Electron App files
├── gulp # gulp tasks
├── src # Angular2 Application src dir
│ ├── app # main module for Angular2 Application
│ ├── index.dev.html # entry point (development)
│ ├── index.html # entry point (production)
│ ├── jspm.config.js # JSPM config file
└── src-electron # Electron Application src dir
A boilerplate with AngularJS 1.x ver is here.
- Fork the repository on Github
- Write your change
- Submit a Pull Request using Github
- Author:: Yuki Takei (yuki@weseek.co.jp)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.