@ts-tools/build
TypeScript icon, indicating that this package has built-in type declarations

2.1.1 • Public • Published

@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

/@ts-tools/build/

    Package Sidebar

    Install

    npm i @ts-tools/build

    Weekly Downloads

    79

    Version

    2.1.1

    License

    MIT

    Unpacked Size

    29.3 kB

    Total Files

    19

    Last publish

    Collaborators

    • avi.vahl