linhe0x0 / tsconfig

Shared TypeScript config for my projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm

tsconfig

Shared TypeScript config for my Node.js projects. The configuration is now distributed to be compatible with TypeScript 5.0 or newer.

Install

yarn add --dev @sqrtthree/tsconfig

Or use npm:

npm install --save-dev @sqrtthree/tsconfig

Usage

For example in your tsconfig.json:

{
  "extends": "@sqrtthree/tsconfig",
  "compilerOptions": {
    "rootDir": "./src",
    "outDir": "./dist"
  },
  "include": ["src/**/*"],
  "exclude": ["node_modules"]
}

sqrtthree.com  ·  GitHub @sqrthree  ·  Twitter @sqrtthree

About

Shared TypeScript config for my projects.

License:MIT License