@lbwa/tsconfig

1.2.1 • Public • Published

@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

Readme

Keywords

Package Sidebar

Install

npm i @lbwa/tsconfig

Weekly Downloads

7

Version

1.2.1

License

MIT

Unpacked Size

7.03 kB

Total Files

4

Last publish

Collaborators

  • lbwa