@chance/tsconfig

Shared TypeScript config for my projects

Usage no npm install needed!

<script type="module">
  import chanceTsconfig from 'https://cdn.skypack.dev/@chance/tsconfig';
</script>

README

tsconfig

Shared TypeScript config for my projects

Install

$ npm install --save-dev @chance/tsconfig

Usage

tsconfig.json

{
    "extends": "@chance/tsconfig",
    "compilerOptions": {
        "outDir": "dist"
    }
}

When you are targeting a higher version of Node.js, check the relevant ECMAScript version and add it as target:

{
    "extends": "@chance/tsconfig",
    "compilerOptions": {
        "outDir": "dist",
        "target": "ES2021"
    }
}