@bassist/tsconfig
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