jt

jake-typescript

Helpers to compile TypeScript using Jake.

Showing:

Popularity

Downloads/wk

0

Maintenance

No Maintenance Data Available

Package

Dependencies

0

License

Apache-2.0

Type Definitions

Tree-Shakeable

No?

Categories

Readme

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial