0.1.9 • Published 10 years ago

jake-typescript v0.1.9

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
10 years ago

jake-typescript

Helpers to compile TypeScript using Jake.

function batchFiles

  • name: string -- The name of the resulting task.
  • prereqs: string[] -- Task prerequisites. Can contain both TypeScript files and other prerequisites.
  • opts?: BatchCompileOptions - Compile options.

Returns a task that compiles a set of TypeScript files.

function singleFile

  • name: string -- The name of the resulting file.
  • prereqs: string[] -- Task prerequisites. Can contain both TypeScript files and other prerequisites.
  • opts?: BatchCompileOptions - Compile options.

Returns a file task that compiles a set of TypeScript files and combines them into a single file.

interface CompileOptions

  • generateDeclarationFile?: boolean -- Whether a .d.ts file should be generated.
  • moduleKind?: ModuleKind -- The kind of module to generate.
  • noImplicitAny?: boolean -- Whether inferring an implicit any should be allowed.
  • removeComments?: boolean -- Whether comments should be stripped from the output.
  • generateSourceMap?: boolean -- Whether a source map should be generated.
  • sourceRoot?: string -- The root for the sources.
  • mapRoot?: string - The root for the map files.
  • targetVersion?: ESVersion -- The target JS version to use.

interface BatchCompileOptions

  • outputDirectory?: string -- The output directory for the batch compile.

Extends CompileOptions.

enum ModuleKind

  • commonjs
  • amd

enum ESVersion

  • ES3
  • ES5
0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago