metalsmith-typescript
A TypeScript plugin for Metalsmith.
Installation
npm install metalsmith-typescript
Usage
var typescript =
Options
Use any or all of the following:
outDir
This is a destination path string for compiled files.
filter
This is a filter string(regex) for compile target files.
Note:
TypeScript compiler requires .ts
extensions for compile target files,
and this plugin add the extension string to filter string.
moduleType
This is a module type string for compile target files.
Tests
$ npm run test
License
MIT License, see LICENSE for details.