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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.0
    1
    • latest

Version History

Package Sidebar

Install

npm i gobble-typescript

Weekly Downloads

7

Version

0.3.0

License

MIT

Last publish

Collaborators

  • mrunleaded