2023-09-12 13:01:12 +00:00
|
|
|
{
|
2024-03-05 15:45:58 +00:00
|
|
|
"compilerOptions": {
|
|
|
|
"baseUrl": ".",
|
|
|
|
"paths": {
|
|
|
|
"@/*": ["src/*", "@/*"]
|
2024-02-27 16:01:08 +00:00
|
|
|
},
|
2024-03-05 15:45:58 +00:00
|
|
|
"target": "ES2020",
|
|
|
|
"useDefineForClassFields": true,
|
|
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
|
|
"module": "ESNext",
|
|
|
|
"skipLibCheck": true,
|
|
|
|
|
|
|
|
/* Bundler mode */
|
|
|
|
"moduleResolution": "bundler",
|
|
|
|
"allowImportingTsExtensions": true,
|
|
|
|
"resolveJsonModule": true,
|
|
|
|
"isolatedModules": true,
|
|
|
|
"noEmit": true,
|
|
|
|
"jsx": "react-jsx",
|
|
|
|
|
|
|
|
/* Linting */
|
|
|
|
"strict": true,
|
|
|
|
"noUnusedLocals": false,
|
|
|
|
"noUnusedParameters": true,
|
|
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
/* The "typeRoots" configuration specifies the locations where
|
|
|
|
TypeScript looks for type definitions (.d.ts files) to
|
|
|
|
include in the compilation process.*/
|
|
|
|
"typeRoots": ["./dist/index.d.ts", "node_modules/@types"]
|
|
|
|
},
|
|
|
|
/* include /index.ts*/
|
|
|
|
"include": ["src/index.ts","custom.d.ts"],
|
|
|
|
"exclude": ["node_modules"],
|
|
|
|
}
|