Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

gulp-tsb

Package Overview
Dependencies
Maintainers
3
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-tsb

A gulp plugin for very fast TypeScript compilation.

latest
Source
npmnpm
Version
4.0.6
Version published
Weekly downloads
2.5K
116.3%
Maintainers
3
Weekly downloads
 
Created
Source

gulp-tsb

Build Status

Information

A gulp plugin for very fast TypeScript compilation. This plugin works by

  • keeping a compiler alive to improve speed (at the cost of memory)
  • always recompiling the smallest set of files possible

Usage


	var tsb = require('gulp-tsb');

	// create and keep compiler
	var compilation = tsb.create({
		target: 'es5',
		module: 'commonjs',
		declaration: false
	});

	gulp.task('build', function() {
		return gulp.src('src/**/*.ts')
			.pipe(compilation()) // <- new compilation
			.pipe(gulp.dest(''));
	});

Options

The options are the same as the standard TypeScript compiler option.

Keywords

gulpplugin

FAQs

Package last updated on 01 Mar 2021

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