3.1.3 • Published 3 years ago

tsc-node-build v3.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

tsc-node-build

Build TypeScript Node.js libraries with ESM support using tsc.

Features

  • Building CommonJS & ESM concurrently, taking advantage of multi-core
  • Watching & execute feature with a modified version of tsc-watch

Install

pnpm add tsc-node-build
yarn add tsc-node-build
npm install tsc-node-build

Usage

In your package.json you can specify:

{
  "scripts": {
    "build": "tsc-node-build",
    "dev": "tsc-node-watch --onSuccess \"node dist/cjs/index.js\""
  }
}

And it assumes you have configured your package.json as it follows:

{
  "exports": {
    "./*": {
      "import": "./dist/esm/*.js",
      "require": "./dist/cjs/*.js"
    }
  },
  "typesVersions": {
    "*": {
      "*": [
        "dist/types/*"
      ]
    }
  },
}
3.1.3

3 years ago

3.1.2

3 years ago

3.1.1

3 years ago

3.1.0

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago