node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org ยป

browserify-typescript

Browserify Typescript

var gulp = require("gulp");

gulp.task("default", function () {
	return gulp.src("**/*.ts", { read: false })
		.pipe(browserify({
			transform: ["browserify-typescript"],
			extensions: [".ts"]
		}))
		.pipe(gulp.dest("main.js"));
});