Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@bassist/tsconfig

chengpeiquan54MIT0.1.1

Some TSConfig files for working with TypeScript projects by @chengpeiquan .

tsconfig

readme

@bassist/tsconfig

GitHub stars

Some TSConfig files for working with TypeScript projects by @chengpeiquan .

Usage

With npm(or yarn, or pnpm):

npm install -D @bassist/tsconfig

In the tsconfig.json file, use the extends field to extends these configuration.

{
  "extends": "@bassist/tsconfig/base.json",
  "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"]
}

Extendable

Base:

{
  "extends": "@bassist/tsconfig/base.json"
}

Web:

{
  "extends": "@bassist/tsconfig/web.json"
}

Node:

{
  "extends": "@bassist/tsconfig/node.json"
}

License

MIT License © 2023-PRESENT chengpeiquan