AFFiNE/tsconfig.json

74 lines
1.8 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,
"emitDecoratorMetadata": true,
"baseUrl": ".",
"paths": {
"@affine/component": ["./packages/component/src/index"],
"@affine/component/*": ["./packages/component/src/components/*/index"],
"@affine/templates/*": ["./packages/templates/src/*"],
"@affine/i18n": ["./packages/i18n/src"],
"@affine/debug": ["./packages/debug"],
"@affine/jotai": ["./packages/jotai"],
"@affine/env": ["./packages/env"],
"@affine/env/*": ["./packages/env/src/*"],
"@affine/utils": ["./packages/utils"],
"@affine/workspace/*": ["./packages/workspace/src/*"],
"@affine-test/fixtures/*": ["./tests/fixtures/*"],
"@toeverything/y-indexeddb": ["./packages/y-indexeddb/src"],
"@toeverything/hooks/*": ["./packages/hooks/src/*"]
}
},
"references": [
{
"path": "./tests"
},
{
"path": "./apps/web"
},
{
"path": "./packages/component"
},
{
"path": "./packages/hooks"
},
{
"path": "./packages/i18n"
},
{
"path": "./packages/env"
},
{
"path": "./packages/debug"
},
{
"path": "./packages/workspace"
},
{
"path": "./packages/y-indexeddb"
},
{
"path": "./tests/fixtures"
},
{
"path": "./tsconfig.node.json"
}
],
"files": [],
"exclude": ["node_modules"]
}