67 lines
1.3 KiB
JSON
67 lines
1.3 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"allowJs": true,
|
|
|
|
"checkJs": true,
|
|
/* Base Options: */
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"incremental": true,
|
|
"isolatedModules": true,
|
|
"jsx": "react-jsx",
|
|
/* Bundled projects */
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"module": "ESNext",
|
|
"moduleDetection": "force",
|
|
"moduleResolution": "Bundler",
|
|
"noEmit": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"rootDir": ".",
|
|
"paths": {
|
|
"~/*": ["./src/*"],
|
|
"@/*": ["./*"],
|
|
"emails/*": ["./emails/*"]
|
|
},
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"resolveJsonModule": true,
|
|
"skipLibCheck": true,
|
|
/* Strictness */
|
|
"strict": true,
|
|
"target": "esnext",
|
|
"types": ["node"]
|
|
},
|
|
"exclude": [
|
|
"node_modules",
|
|
"out",
|
|
"dist",
|
|
"headers",
|
|
"kyselyRules",
|
|
"kanel.config.js"
|
|
],
|
|
"include": [
|
|
"src",
|
|
"global.d.ts",
|
|
"next-env.d.ts",
|
|
"next.config.ts",
|
|
"postcss.config.cjs",
|
|
"reset.d.ts",
|
|
"TypeHelpers.type.ts",
|
|
"public",
|
|
"emails",
|
|
".next/types/**/*.ts",
|
|
"tests",
|
|
"flow-gen.ts",
|
|
"check-unused-trpc.ts"
|
|
],
|
|
"ts-node": {
|
|
// these options are overrides used only by ts-node
|
|
// same as the --compilerOptions flag and the TS_NODE_COMPILER_OPTIONS environment variable
|
|
"compilerOptions": {
|
|
"module": "commonjs"
|
|
}
|
|
}
|
|
}
|