generator-electron-angular2
v0.4.0
Published
starter project for electron with angular2
Downloads
3
Readme
generator-electron-angular2
A Yeoman generator that creates project scaffolding for an app that uses Electron and Angular2
Install
First, make sure you have node, npm and Yeoman installed. Then execute the following command:
$ npm install -g generator-electron-angular2
You may need to execute this with administrative privileges.
Usage
Create a new directory for your project. Then run yo from within that directory.
$ yo electron-angular2
Your generated project
Structure
your-project-name/
|-dev-tools/
|-test-config/
|-karma.conf.js
|-karma-test-shim.js
|-src/
|-components/
|-my-root.component.ts
|-my-root.jade
|-my-child.component.ts
|-my-child.jade
|-scss/
|-styles.scss
|-test/
|-global/
test-env.ts
|-test-setup.ts
|-boot.ts
|-index.jade
|-main.js
|-Gruntfile.js
|-package.json
|-systemjs.config.js
|-tsconfig.json
|-typings.json
|-.gitignore
Scripts
To build the source files and launch BrowserSync:
$ grunt
To run unit tests:
$ grunt test
To run unit tests with coverage report:
$ grunt test-coverage