Skip to content
Piotr edited this page May 14, 2016 · 1 revision

Explanation

Commands

  • live-server this command run server with hot-reload. To install it type npm install -g live-server
  • tsc --watch --sourceMap this command compile typescript to js and also generates *.map.js files to allow debugging typescript in browser

files

  • tsconfig.json config for tsc command (compile ts files to js)
  • app.component.ts , boot.ts very basic angular files
  • index.html is contains config to Systemjs config is the same like in oficial angular tutorial

packages

  • angular2 self descriptive
  • es6-shim Provides compatibility shims so that legacy JavaScript engines behave as closely as possible to ECMAScript 6 (Harmony).
  • reflect-metadata allow use decorators
  • rxjs The Reactive Extensions for JavaScript
  • systemjs allow import and export modules betwen files
  • zone.js You can think of it as thread-local storage for JavaScript VMs
Clone this wiki locally