@preco21/tsconfig
v7.0.0
Published
Shared TypeScript config for @preco21
Downloads
20
Maintainers
Readme
tsconfig
Shared TypeScript config for @preco21
Install
npm install --save-dev @preco21/tsconfig
This config requires TypeScript 5.5 or later.
Usage
tsconfig.json
:
{
"extends": "@preco21/tsconfig",
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
For Node.js setup without bundler:
{
"extends": "@preco21/tsconfig/node",
"compilerOptions": {
"declaration": false,
"incremental": true
},
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
Motivation
Heavily inspired by sindresorhus/tsconfig
.