@dotcom-tool-kit/typescript

3.3.3 • Public • Published

@dotcom-tool-kit/typescript

Tool Kit plugin to build TypeScript code

Installation & Usage

With Tool Kit already set up, install this plugin as a dev dependency:

npm install --save-dev @dotcom-tool-kit/typescript

And add it to your repo's .toolkitrc.yml:

plugins:
  - '@dotcom-tool-kit/typescript'

Tasks

TypeScript

Compile code with tsc.

Task options

Property Description Type
configPath to the TypeScript config file. Uses TypeScript's own tsconfig.json resolution by default string
build Run Typescript in build mode. true
watch Run Typescript in watch mode. true
noEmit Run Typescript with --noEmit, for checking your types without outputting compiled Javascript. true

All properties are optional.

Readme

Keywords

none

Package Sidebar

Install

npm i @dotcom-tool-kit/typescript

Weekly Downloads

162

Version

3.3.3

License

ISC

Unpacked Size

7.21 kB

Total Files

6

Last publish

Collaborators

  • quarterto
  • the-ft
  • robertboulton