@checkdigit/typescript

Check Digit blessed Typescript compiler

Usage no npm install needed!

<script type="module">
  import checkdigitTypescript from 'https://cdn.skypack.dev/@checkdigit/typescript';
</script>

README

typescript

Check Digit "blessed" version of Typescript compiler and configuration.

The version of this package will always match the underlying version of TypeScript.

Installation

npm add -D @checkdigit/typescript

Installation will bring in, as a production dependency, the version of TypeScript that matches the version of the @checkdigit/typescript package.

To use, make sure your project's tsconfig.json extends @checkdigit/typescript. Make sure your project does not bring in it's own version of typescript as a dependency.

Example tsconfig.json

{
  "extends": "@checkdigit/typescript",
  "compilerOptions": {
    "rootDir": "src",
    "outDir": "build"
  },
  "exclude": [
    "node_modules",
    "build",
    "dist",
    "serve"
  ]
}