tsconfig-base
{
"compilerOptions": {
"lib": ["es2020"],
"baseUrl": ".",
"module": "esnext",
"moduleResolution": "node",
"target": "es6",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"pretty": true,
"noEmit": true,
"declaration": true,
"sourceMap": true,
"outDir": "lib"
},
"include": ["src/**/*"],
"exclude": ["node_modules", "lib", "test"]
}
{
"compilerOptions": {
"lib": ["es2020", "dom"],
"baseUrl": ".",
"module": "es2020",
"moduleResolution": "node",
"resolveJsonModule": true,
"jsx": "react-jsx",
"target": "es6",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"pretty": true,
"noEmit": true,
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist", "test"]
}