35 lines
1.2 KiB
JSON
35 lines
1.2 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ESNext", // Specifies the ECMAScript target version
|
|
"module": "CommonJS", // Specifies the module system
|
|
"lib": ["ESNext", "DOM"], // Specifies the libraries to include
|
|
"strict": true, // Enables strict type checking
|
|
"esModuleInterop": true, // Enables interoperability between CommonJS and ES modules
|
|
"skipLibCheck": true, // Skips type checking of declaration files
|
|
"forceConsistentCasingInFileNames": true, // Ensures consistent file name casing
|
|
"noImplicitReturns": true, // Disallows functions without return statements
|
|
"noImplicitAny": true,
|
|
"noUnusedLocals": true, // Disallows unused local variables
|
|
"sourceMap": false, // Generates source maps for easier debugging
|
|
"moduleResolution": "NodeNext",
|
|
"resolveJsonModule": true, // Enables importing JSON files as modules
|
|
"noEmit": true,
|
|
|
|
"jsx": "react",
|
|
"jsxFactory": "elements.createElement",
|
|
"jsxFragmentFactory": "Fragment",
|
|
|
|
"paths": {
|
|
"*": ["./*"],
|
|
"assets/*": ["./src/assets/*"],
|
|
"pages/*": ["./src/pages/*"],
|
|
"templates/*": ["./src/templates/*"],
|
|
"utils/*": ["./src/utils/*"]
|
|
},
|
|
"typeRoots": ["@types", "./node_modules/@types"]
|
|
},
|
|
"ts-node": {
|
|
"require": ["tsconfig-paths/register"]
|
|
}
|
|
}
|