AFFiNE/tsconfig.json

53 lines
1.1 KiB
JSON

{
"compilerOptions": {
"target": "ES2020",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"experimentalDecorators": true,
"baseUrl": ".",
"paths": {
"@affine/component": ["./packages/component/src/index"],
"@affine/datacenter": ["./packages/datacenter/src"],
"@affine/i18n": ["./packages/i18n/src"],
"@affine/debug": ["./packages/debug"],
"@affine/env": ["./packages/env"]
}
},
"references": [
{
"path": "./tests"
},
{
"path": "./apps/web"
},
{
"path": "./apps/desktop"
},
{
"path": "./packages/data-center"
},
{
"path": "./packages/component"
},
{
"path": "./packages/i18n"
},
{
"path": "./packages/env"
}
],
"files": [],
"exclude": ["node_modules"]
}