mirror of
https://github.com/arc53/DocsGPT
synced 2024-11-02 03:40:17 +00:00
34 lines
1.0 KiB
JSON
34 lines
1.0 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["src/*", "@/*"]
|
|
},
|
|
"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"],
|
|
} |