New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gulp-tsconfig-update

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-tsconfig-update

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

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-85%
Maintainers
1
Weekly downloads
 
Created
Source

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
           }
        }
      }));
});

FAQs

Package last updated on 28 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc