From 5eaa1b63ed842d1ac9d8903aebc5dc4d6c2a8c86 Mon Sep 17 00:00:00 2001 From: kj_sh604 Date: Sun, 15 Mar 2026 16:19:36 -0400 Subject: refactor: tsconfig.json --- tsconfig.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 tsconfig.json diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..3eded70 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,32 @@ +{ + "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"] +} -- cgit v1.2.3