metalsmith-typescript-renaud

1.0.2 • Public • Published

metalsmith-typescript

A TypeScript plugin for Metalsmith.

Installation

npm install metalsmith-typescript

Usage

var typescript = require('metalsmith-typescript')

Metalsmith(__dirname)
  .use(typescript(options))
  .build()

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.

compilerOptions

Additional, custom compiler options.

Tests

$ npm run test

License

MIT License, see LICENSE for details.

Readme

Keywords

Package Sidebar

Install

npm i metalsmith-typescript-renaud

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • renaudkyoku