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>
24 lines
498 B
JSON
24 lines
498 B
JSON
{
|
|
"extends": "../../tsconfig.base.json",
|
|
"include": ["src"],
|
|
"exclude": ["node_modules", "dist", "docs"],
|
|
"compilerOptions": {
|
|
"outDir": "./dist/types",
|
|
"baseUrl": ".",
|
|
"rootDir": "src",
|
|
"emitDeclarationOnly": false,
|
|
"paths": {
|
|
"~*": ["./src/*"],
|
|
"@tldraw/tldraw": ["../../packages/tldraw"]
|
|
}
|
|
},
|
|
"references": [
|
|
{
|
|
"path": "../../packages/tldraw"
|
|
}
|
|
],
|
|
"typedocOptions": {
|
|
"entryPoints": ["src/index.ts"],
|
|
"out": "docs"
|
|
}
|
|
}
|