@autoguru/tsconfig

AutoGuru's TypeScript shared config

Usage no npm install needed!

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

README

@autoguru/tsconfig

The shareable config for how TypeScript get's compiled at AutoGuru.

Usage

yarn add --dev @autoguru/tsconfig
{
    "extends": "@autoguru/tsconfig",
    "compilerOptions": {
        "outDir": "./dist",
        "baseUrl": "./src",
        "rootDir": "./src"
    }
}

tsconfig.json

Presets

  • @autoguru/tsconfig is an alias of @autoguru/tsconfig/web
  • @autoguru/tsconfig/web is useful for web-based targets, adds dom types as standard.