summaryrefslogtreecommitdiffstats
path: root/tsconfig.json
diff options
context:
space:
mode:
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json32
1 files changed, 32 insertions, 0 deletions
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"]
+}