mirror of https://gitee.com/answerdev/answer.git
40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es5",
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"strict": true,
|
|
"downlevelIteration": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noImplicitAny": false,
|
|
"suppressImplicitAnyIndexErrors": true,
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
"baseUrl": "./",
|
|
"paths": {
|
|
"@/*": ["src/*"],
|
|
"@answer/pages/*": ["src/pages/*"],
|
|
"@answer/components": ["src/components/index.ts"],
|
|
"@answer/components/*": ["src/components/*"],
|
|
"@answer/stores": ["src/stores"],
|
|
"@answer/stores/*": ["src/stores/*"],
|
|
"@answer/api": ["src/services/api.ts"],
|
|
"@answer/services/*": ["src/services/*"],
|
|
"@answer/hooks": ["src/hooks"],
|
|
"@answer/common": ["src/common"],
|
|
"@answer/common/*": ["src/common/*"],
|
|
"@answer/utils": ["src/utils"],
|
|
"@answer/utils/*": ["src/utils/*"]
|
|
}
|
|
},
|
|
"include": ["src", "node_modules/@testing-library/jest-dom"]
|
|
}
|