typescriptifier

Typescrip transform for Browserify

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
typescriptifier
921.0.010 years ago10 years agoMinified + gzip package size for typescriptifier in KB

Readme

typescriptifier

Information

Packagetypescriptifier
Description Typescript transform for Browserify
Node Version >= 0.10

Usage

$ npm install typescriptifier
$ browserify main.ts -t typescriptifier --extension=.ts > bundle.js

Usage with gulp-browserify

var gulp        = require('gulp');
var browserify  = require('gulp-browserify');
var rename      = require('gulp-rename');

gulp.task('default', function () {
  return gulp
    .src('app/main.ts', {read: false})
    .pipe(browserify({
        transform:  ['typescriptifier'],
        extensions: ['.ts'],
    }))
    .pipe(rename('app.js'))
    .pipe(gulp.dest('dist'));
});