Socket
Socket
Sign inDemoInstall

gulp-tsreflect

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-tsreflect

Gulp plugin for the tsreflect-compiler.


Version published
Maintainers
1
Created
Source

Gulp-TypeDoc

NPM version

NPM NPM

Synopsis

Gulp plugin to execute the tsreflect-compiler (https://github.com/artifacthealth/tsreflect-compiler)

Installation

You do not need to install tsreflect-compiler separately, just install gulp-tsreflect:

npm install --save-dev gulp-tsreflect

Usage

The plugin takes an object, of which all properties are passed transparently to the tsreflect compiler. Pipe in TypeScript files. Pipe out JSON files.

Code Example

var tsreflect = require("gulp-tsreflect");

gulp.task("tsreflect", function() {
	return gulp
		.src(["lib/*.ts"], { base: "." })
		.pipe(tsreflect({ removeComments: true }))
		.pipe(gulp.dest("."))
	;
});

Changelog

2.0.0

Interface change, which was made possible by tsreflect-compiler@0.1.3: the output files are now written to the stream instead of to disk. This makes proper Gulp builds possible.

1.0.0

Initial veresion

License

MIT

Keywords

FAQs

Package last updated on 09 Feb 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