lbwa / tsconfig

Shared TypeScript config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@lbwa/tsconfig

Shared TypeScript config.

Installation

yarn add @lbwa/tsconfig typescript@^4.2.4 tslib@^2.2.0
# npm i @lbwa/tsconfig typescript@^4.2.4 tslib@^2.2.0

Usage

In your project root tsconfig.json:

{
  extends: '@lbwa/tsconfig',
  compilerOptions: {
    outDir: 'dist' /* Redirect output structure to the directory. */,
    incremental: true,
    tsBuildInfoFile: 'dist/.tsbuildinfo'
  },
  exclude: ['dist', 'coverage']
}

Diagnosing the effective TypeScript configurations:

yarn tsc --showConfig
# npx tsc --showConfig

License

MIT © Liu Bowen

About

Shared TypeScript config

License:MIT License


Languages

Language:Shell 100.0%