gobble-typescript

0.3.0 • Public • Published

gobble-typescript

Compile TypeScript files with gobble and TypeScript.

Installation

First, you need to have gobble installed - see the gobble readme for details. Then,

npm i -D gobble-typescript

Usage

var gobble = require( 'gobble' );
var ts = require( 'typescript' );
 
module.exports = gobble( 'src' ).transform( 'typescript', {
 
  target: ts.ScriptTarget.ES2015,
  module: ts.ModuleKind.ES2015,
  jsx: ts.JsxEmit.React,
});

License

MIT. Copyright 2015 Kevin Thompson

/gobble-typescript/

    Package Sidebar

    Install

    npm i gobble-typescript

    Weekly Downloads

    10

    Version

    0.3.0

    License

    MIT

    Last publish

    Collaborators

    • mrunleaded