gulp-ts
deprecated!
Switch to e.g. gulp-typescript.
TypeScript compiler plugin for Gulp. Not actively maintained.
First install gulp-ts
npm install --save-dev gulp-ts
Usage:
var gulp = requre('gulp');
var ts = require('gulp-ts');
gulp.task('typescript', function() {
gulp.src('source.ts')
.pipe(ts())
.pipe(gulp.dest('out'));
});
Supports the following options.
.pipe(ts({
exePath: '',
globalExe: false,
sourceMap : false,
declaration : false,
removeComments : false,
noImplicitAny : false,
noResolve : false,
module : 'amd',
target : 'ES3',
out : '',
sourceRoot : '',
mapRoot : ''
}));