0.3.0 • Published 8 years ago

gulp-ts v0.3.0

Weekly downloads
11
License
MIT
Repository
github
Last release
8 years ago

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({
  // explicit path to tsc executable file; taken if not falsy
  exePath: '',

  // forces usage of tsc executable file from system PATH
  globalExe: false,

  // Generates corresponding .map file.
  sourceMap : false,

  // Generates corresponding .d.ts file.
  declaration : false,

  // Do not emit comments to output.
  removeComments : false,

  // Warn on expressions and declarations with an implied 'any' type.
  noImplicitAny : false,

  // Skip resolution and preprocessing.
  noResolve : false,

  // Specify module code generation: 'commonjs' or 'amd'  
  module : 'amd',

  // Specify ECMAScript target version: 'ES3' (default), or 'ES5'
  target : 'ES3',

  // Concatenate and emit output to single file.
  out : '', // output file name

  // Specifies the location where debugger should locate TypeScript files instead of source locations.
  sourceRoot : '',

  // Specifies the location where debugger should locate map files instead of generated locations.
  mapRoot : ''
}));
0.3.0

8 years ago

0.2.0

9 years ago

0.1.0

9 years ago

0.0.15

10 years ago

0.0.14

10 years ago

0.0.13

10 years ago

0.0.12

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago