Base tsconfig for all projects
npm install --save-dev @anmiles/tsconfig
tsconfig.json
{
"extends": "./node_modules/@anmiles/tsconfig/tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
},
"include": [
"src",
],
}
tsconfig.build.json
{
"extends": "./tsconfig.json",
"exclude": [
"**/__tests__/",
],
}
tsconfig.test.json
{
"extends": "./tsconfig.json",
"compilerOptions": {
"verbatimModuleSyntax": false
}
}