@ts-tools/build

v0.1.6
CLI for easier building of multi-target TypeScript libraries.

@ts-tools/build

npm version

CLI for easier building of multi-target TypeScript libraries.

Features:

  • Full syntactic and semantic type checking.
  • Compilation to both CommonJS and ESM module formats in a single run.

Getting started

Install the library as a dev dependency in an existing TypeScript project:

yarn add @ts-tools/build --dev

In project's package.json:

{
  "scripts": {
    "build": "ts-build ./src --cjs --esm"
  }
}

When wanting to build, run:

yarn build

License

MIT

npm i @ts-tools/[email protected]

Source Code

Homepage

github.com/AviVahl/ts-tools

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 12/31/2018

Downloads

Maintainers