based on https://angular.io/docs/js/latest/quickstart.html
-
npm install -g http-server typescript tsd
-
tsd reinstall -r -o
-
tsc -p ./src
to compile with typescript -
npm install
-
open a new tab and run
http-server
-
browse to http://localhost:8080/index.html