{
  "compilerOptions": {
    "target": "ESNext",
    "module": "ESNext",
    "strict": true,
    "jsx": "preserve",
    "moduleResolution": "Node",
    "skipLibCheck": true,
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "importHelpers": true,
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
    "resolveJsonModule": true,
    "sourceMap": true,
    "useDefineForClassFields": true,
    "baseUrl": ".",
    "lib": ["ESNext", "DOM"],
    "paths": {
      // 内部模块都指向 src/index.ts, 会有更好的代码跳转体验.
      "@tmagic/*": ["packages/*/src"],
      "@editor/*": ["packages/editor/src/*"],
      "@form/*": ["packages/form/src/*"],
      "@data-source/*": ["packages/data-source/src/*"],
    },
    "types": [
      "node",
      "vite/client",
    ],
  },
  "exclude": [
    "**/dist/**/*",
    "**/node_modules/**/*",
  ],
}
