@andersdjohnson/tsconfig

1.0.1 • Public • Published

@andersdjohnson/tsconfig

Shared TypeScript config for my projects.

Install

$ npm add -D @andersdjohnson/tsconfig

copy

Use

In your tsconfig.json:

{
  "extends": "@andersdjohnson/tsconfig",
  "include": ["src"],
  "compilerOptions": {
    "outDir": "dist",
    "lib": ["dom", "esnext"]
  }
}

You must override any path-based compiler options (outDir, outFile, rootDir, include, files, etc.) as they are resolved from the config in which they're defined (see https://github.com/microsoft/TypeScript/issues/29172#issuecomment-450966221).

Package Sidebar

Install

npm i @andersdjohnson/tsconfig

Weekly Downloads

4

Version

1.0.1

License

ISC

Unpacked Size

1.91 kB

Total Files

3

Last publish

Collaborators

  • andersdjohnson