shenjingnan--xiaozhi-client
49 行
1.2 KiB
JSON
49 行
1.2 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"allowJs": true,
|
|
"checkJs": false,
|
|
"outDir": "./dist",
|
|
"baseUrl": ".",
|
|
"strict": true,
|
|
"noImplicitAny": true,
|
|
"strictNullChecks": true,
|
|
"strictFunctionTypes": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedIndexedAccess": false,
|
|
"exactOptionalPropertyTypes": false,
|
|
"noImplicitOverride": true,
|
|
"useUnknownInCatchVariables": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"skipLibCheck": true,
|
|
"resolveJsonModule": true,
|
|
"paths": {
|
|
// 统一的 @/ 路径别名体系
|
|
"@/types": ["./src/types"],
|
|
"@/config": ["./src/config"],
|
|
"@/mcp-core": ["./src/mcp-core"],
|
|
"@/endpoint": ["./src/endpoint"],
|
|
"@/esp32": ["./src/esp32"],
|
|
"@/cli": ["./src/cli"],
|
|
"@/utils": ["./src/utils"]
|
|
}
|
|
},
|
|
"include": ["mcps/**/*", "src/**/*"],
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist",
|
|
"mcps/*/dist",
|
|
"src/web",
|
|
"scripts/**/*",
|
|
"templates/**/*",
|
|
"**/*.test.ts",
|
|
"**/*.spec.ts",
|
|
"**/__tests__/**"
|
|
]
|
|
}
|