@seanmcgary/tsconfig

A common tsconfig file for sharing between projects

Usage no npm install needed!

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

README

tsconfig

A common tsconfig file for sharing between projects

Install

yarn add @seanmcgary/tsconfig

Usage

The following is all you need to add to your project to extend the base config:

tsconfig.json

{
  "extends": "./node_modules/@seanmcgary/tsconfig/tsconfig-base.json",
  "compilerOptions": {
    "rootDir": ".",
    "outDir": "dist",
    "baseUrl": ".",
    "types": [ ]
  },
  "include": [
    "index.ts"
  ]
}