excalidraw/tsconfig.json
2025-02-28 16:49:09 +01:00

32 lines
1 KiB
JSON

{
"compilerOptions": {
"rootDir": "./",
"target": "ESNext",
"lib": ["dom", "dom.iterable", "esnext"],
"types": ["vitest/globals", "@testing-library/jest-dom"],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"module": "ESNext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"baseUrl": ".",
"paths": {
"@excalidraw/excalidraw": ["./packages/excalidraw/index.tsx"],
"@excalidraw/utils": ["./packages/utils/index.ts"],
"@excalidraw/math": ["./packages/math/index.ts"],
"@excalidraw/excalidraw/*": ["./packages/excalidraw/*"],
"@excalidraw/utils/*": ["./packages/utils/*"],
"@excalidraw/math/*": ["./packages/math/*"]
}
},
"include": ["packages", "excalidraw-app"],
"exclude": ["examples", "dist", "types", "tests"]
}