gulp-tvm-tsc

    0.3.4 • Public • Published

    gulp-tvm-tsc Build Status Dependency Status

    Compile TypeScript files to JavaScript with TypeScript Version Manager.

    Usage

    var gulp = require('gulp');
    var gutil = require('gulp-util');
    var tsc = require('gulp-tvm-tsc');
     
    gulp.task('tsc', function () {
      return gulp.src('test/*.ts')
        .pipe(tsc({
          version: '1.0.1', // default: latest
          option: '--target ES5 --removeComments'
        })).on('error', gutil.log)
        .pipe(gulp.dest('test/'));
    });

    Keywords

    none

    Install

    npm i gulp-tvm-tsc

    DownloadsWeekly Downloads

    2

    Version

    0.3.4

    License

    ISC

    Last publish

    Collaborators

    • watilde