1.1.1 • Published 9 years ago

gulp-tsconfig-update v1.1.1

Weekly downloads
19
License
MIT
Repository
github
Last release
9 years ago

gulp-tsconfig-update

Build Status

A gulp plugin to update files property in tsconfig.json by gulp.src glob.

Install

npm install --save-dev gulp-tsconfig-update

Usage

var gulp = require("gulp");
var tsConfig = require('gulp-tsconfig-update');

gulp.task('tsConfig', function() {
  return gulp.src("./src/**/*.ts")
      .pipe(tsConfig());
});

Notes

  • If ./tsconfig.json exists, its files property is overwritten.

  • If ./tsconfig.json doesn't exist, this plugin will generate the file similar to that created by tsc --init.

  • You can use user-defined default config.

var gulp = require("gulp");
var tsConfig = require('gulp-tsconfig-update');

gulp.task('tsConfig', function() {
  return gulp.src("./src/**/*.ts")
      .pipe(tsConfig({
        defaultConfig: {
           compilerOptions: {
               module: "commonjs",
               target: "es5",
               noImplicitAny: true
           }
        }
      }));
});
1.1.1

9 years ago

1.1.0

9 years ago

1.0.9

9 years ago

1.0.8

9 years ago

1.0.8-2

9 years ago

1.0.8-1

9 years ago

1.0.8-0

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago