This is a simple template for TypeScript-based in-browser apps, using Gulp, Browserify, Watchify, and Uglify. Based on the TypeScript Gulp tutorial.
You should have Node.js + npm + gulp installed.
- Download Node.js (including npm)
- Install gulp using
npm install -g gulp-cli
.
- Download the template using e.g.
git clone --depth 1 https://github.com/mormegil-cz/browser-ts-template.git
- Download the required npm dependencies:
npm install
- Start the build using
gulp
; Gulp now compiles your TS files and keeps running and compiling on every change of the source files.