Skip to content

Granjow/typescript2js-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Creates plain ES5 JavaScript bundles from TypeScript and JavaScript files.

This package is not actively maintained. Use Browserify and Co. directly.

Usage

var path = require( 'path' ),
    buildBundle = require('node-typescript-bundle').buildBundle;

buildBundle(
        'my-bundle',
        path.join( __dirname, 'dist' ),
        [ path.join( __dirname, 'src', 'ts-file.ts' ) ]
).then(
        i => console.log( 'Done:', i.files.join( ', ' ) ),
        err => console.error( err )
);

Testing

To run the Jasmine unit tests, run:

npm test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published