Files
openhuman/app/tsconfig.json

45 lines
1.2 KiB
JSON

{
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
/* Incremental type-checking: cache the type graph so warm `tsc` runs only
re-check files that changed. With noEmit there is no outDir to hold the
cache, so point tsBuildInfoFile at the gitignored node_modules cache. */
"incremental": true,
"tsBuildInfoFile": "./node_modules/.cache/tsc/app.tsbuildinfo",
/* Path aliases */
"baseUrl": ".",
"paths": {
"@openhuman/skill-types": ["src/lib/skills/types.ts"],
"tauri-plugin-ptt-api": ["../packages/tauri-plugin-ptt/guest-js/index.ts"]
},
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": [
"src",
"test/*.test.ts",
"test/*.test.tsx",
"../packages/tauri-plugin-ptt/guest-js/index.ts"
],
"exclude": ["skills"],
"references": [{ "path": "./tsconfig.node.json" }]
}