Shared TypeScript config for my projects
npm install --save-dev @smeijer/tsconfig
This config requires TypeScript 5 or later.
tsconfig.json
{
"extends": "@smeijer/tsconfig",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src"
},
"include": ["src/**/*"],
"exclude": ["src/**/*.test.ts"]
}