ES6 project which:
- Loads in a browser with dynamic transpiling using SystemJS
- Loads from an ES5 file compiled with SystemJS Builder
- Runs Jasmine unit tests written in ES6 style using karma-systemjs, sharing config with production app
Set-up:
- Install nodejs
- Install global utilities:
npm install -g karma bower
- Install project dependencies:
npm install && bower install
View app demo:
- Run
node demo/server.js
from project root - Visit
http://localhost:3000/demo/dynamic.html
orhttp://localhost:3000/demo/compiled.html
in a browser
Compile:
- Run
grunt es6
Execute tests:
- Run
karma start