Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

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

install

npm i gobble-typescript

Downloadsweekly downloads

1

version

0.3.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability