Shared TypeScript config for my Node.js projects. The configuration is now distributed to be compatible with TypeScript 5.0 or newer.
yarn add --dev @sqrtthree/tsconfig
Or use npm:
npm install --save-dev @sqrtthree/tsconfig
For example in your tsconfig.json
:
{
"extends": "@sqrtthree/tsconfig",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist"
},
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
sqrtthree.com · GitHub @sqrthree · Twitter @sqrtthree