Important notice I don't have time to look after this repo anymore but I have created an updated version. The new repo is available at https://github.com/remojansen/ts-vscode-boilerplate.
You can use this project to learn how to use Gulp with TypeScript + Sass + Browserify + Karma + BroserSync.
lint: Lints JSON under
./data, TypeScript under
./testand Sass under
build: Compiles Sass and TypeScript files from
bundle: Bundle files from
./distpowered by Browserify.
test: Run Mocha + Chai + Sinon unit test powered by Karma.
serve: Host app in static server and refresh browser on changes powered by BrowserSync.
The default task runs the lint, build, bundle and test tasks.
There are two additional tasks:
clean: Deletes the