Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuki-takei/electron-angular2-boilerplate
Electron app boilerplate using gulp, jspm, and Angular 2
https://github.com/yuki-takei/electron-angular2-boilerplate
Last synced: about 1 month ago
JSON representation
Electron app boilerplate using gulp, jspm, and Angular 2
- Host: GitHub
- URL: https://github.com/yuki-takei/electron-angular2-boilerplate
- Owner: yuki-takei
- License: apache-2.0
- Created: 2015-08-08T04:20:52.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-15T21:44:23.000Z (almost 9 years ago)
- Last Synced: 2023-08-13T07:44:21.352Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 273 KB
- Stars: 15
- Watchers: 2
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Dependency Status](https://david-dm.org/yuki-takei/electron-angular2-boilerplate
.svg)](https://david-dm.org/alexweber/electron-angular2-boilerplate
) [![devDependency Status](https://david-dm.org/yuki-takei/electron-angular2-boilerplate
/dev-status.svg)](https://david-dm.org/yuki-takei/electron-angular2-boilerplate#info=devDependencies)electron-angular2-boilerplate
=============================Features
--------* 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 LinuxRequirements
------------* node.js
(confirmed to work with v0.12.7)Usage
------### Install dependencies
```
$ cd /path/to/local_repos
$ npm install -g gulp jspm dtsm
$ npm install
$ jspm install
```### Install DefinitelyTyped files
```
$ dtsm install
```### Run at local
```
## 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
```### Release
```
$ gulp package
```Directory Structure
-------------------```
/
├── .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
```Note
-----A boilerplate with AngularJS 1.x ver is [here](https://github.com/yuki-takei/electron-angular-boilerplate).
Contributing
------------1. Fork the repository on Github
1. Write your change
1. Submit a Pull Request using GithubLicense and Authors
-------------------
- Author:: Yuki Takei ()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 athttp://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.