GitXplorerGitXplorer
j

gulp-tsb

public
50 stars
19 forks
15 issues

Commits

List of commits on branch master.
Unverified
35f134ab384f5575628b152faa910389581bb4d8

remove old compile strategy, towards gulp-tsb@3

jjrieken committed 7 years ago
Verified
095db3dd069462eb0c51f22ab06df60ec6d60388

Merge pull request #76 from sheetalkamat/builderApiFinal

jjrieken committed 7 years ago
Unverified
29924ac57977b784b72f5e3237690df2d8565ecd

Add compiler using watch API

ssheetalkamat committed 7 years ago
Unverified
1507c76ce08f038357954ac82926c8a09c21101c

Factor out build scheduling so watch api can use it

ssheetalkamat committed 7 years ago
Unverified
70d7b82373717c93b42edcd4cd03880f747d5d20

Pull out few functions to be used by both APIs

ssheetalkamat committed 7 years ago
Unverified
9f7888dae9c15306edc97ba1134a39b22a95fae4

Make tests work with both the apis

ssheetalkamat committed 7 years ago

README

The README file for this repository.

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.