broccoli-typescript

0.4.0 • Public • Published

broccoli-typescript

NPM version Build Status Dependency Status devDependency Status

TypeScript compiler for Broccoli

Installation

Install with npm. (Make sure you have installed Node.)

npm i --save-dev broccoli-typescript

Example

var compileTypeScript = require('broccoli-typescript');
tree = compileTypeScript(tree, options);

API

compileTypeScript(tree[, options])

options.outDir

Type: String Default: Build target directory

Output compiled files to the directory.

options.out

Type: String

Concatenate and write compilation results to a single file. When this option is specified, the outDir option is ignored.

Note: Both outDir option and out option are treated as relative paths from build target directory.

And besides, all options for ts-compiler are available.

License

Copyright (c) 2014 Shinnosuke Watanabe

Licensed under the MIT LIcense.

Package Sidebar

Install

npm i broccoli-typescript

Weekly Downloads

0

Version

0.4.0

License

none

Last publish

Collaborators

  • shinnn