gulp-tsconfig
Simple gulp plugin that creates a TypeScript project file ('tsconfig.json') for a given glob of sources. Supports ordering of project files via globs, too.
A sample is provided in the gulp-tsconfig-sample repository.
Install
$ npm install --save-dev gulp-tsconfig
Usage
var gulp = ;var gulpTsConfig = ; gulp;
API
tsConfig(options)
options
tsConfig
Type: object
Default: {}
The tsconfig settings (e.g. "compilerOptions") as specified in the TypeScript Wiki.
tsOrder
Type: object
Default: ['**/*.ts']
The order glob. The gulp-order plugin is reused for ordering.
jsBeautifyOptions
Type: object
Default:
indent_size : 4 indent_char : ' ' preserve_newlines : false wrap_line_length : 80
The JSON beautifier options. See js-beautify for options.
License
MIT © Oliver Lohmann