e2814943e9
* [feature] grids * Shows relative grids at different zoom levels * Update colors * Restores vec and intersect to monorepo, changes vec.round to vec.toFixed, adds vec.snap * Snapping in translate and transforms, fix shortcut * fix bugs in build * use grid size for nudge too * update scripts * Update grid.tsx * Update grid.tsx * Fixed! * Update grid.tsx * Fix package imports * Update Editor.tsx * Improve tsconfigs, imports * Fix tiny arrow bugs, snap starting points to grid * Update tsconfig.base.json * Update shape-styles.ts * Fix example tsconfig * Fix translate type error * Fix types, paths Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
37 lines
1,002 B
JSON
37 lines
1,002 B
JSON
{
|
|
"compilerOptions": {
|
|
"composite": false,
|
|
"incremental": false,
|
|
"resolveJsonModule": true,
|
|
"target": "es6",
|
|
"lib": ["dom", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": false,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noEmit": true,
|
|
"emitDeclarationOnly": false,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"isolatedModules": true,
|
|
"jsx": "preserve",
|
|
"rootDir": ".",
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"*": ["./*"],
|
|
"@tldraw/tldraw": ["./packages/tldraw"],
|
|
"@tldraw/core": ["./packages/core"],
|
|
"@tldraw/intersect": ["./packages/intersect"],
|
|
"@tldraw/vec": ["./packages/vec"]
|
|
}
|
|
},
|
|
"references": [
|
|
{ "path": "../../packages/vec" },
|
|
{ "path": "../../packages/intersect" },
|
|
{ "path": "../../packages/core" },
|
|
{ "path": "../../packages/tldraw" }
|
|
],
|
|
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
|
|
"exclude": ["node_modules"]
|
|
}
|