Clone this and add assets in /build/. Run following commands in PowerShell:
Install typescript compiler
npm install -g typescript
Next line must be run in an admin Powershell window
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine
Install jQuery
npm install --save @types/jquery
Run once, it will compile whenever you save a .ts file
tsc -p .\tsconfig.json
Write program here, it will compile to ../build/script.js
Defaults: target ES6, remove comments, strict type checking