Typescript transform for Browserify
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.jshintrc
LICENSE
README.md
index.js
package.json

README.md

typescriptifier

Not Maintained

You can take a look at https://github.com/smrq/tsify

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'));
});