98cc0d4cac
* Initial commit with mobx * Convert more to mobx * Make useCameraCss reactive (autorun) * Move more items to mobx * Fix more invalid components and layout hooks that needed to be reactive * Add autorun to css layout effect * Remove centric specific yarn.lock changes * mild cleanup * update from main * add tests, example * cleanup * minor tweak to advanced example * Update app.tsx * Optimizations around events not being memoized * Support className property on SVGContainer * Add data-type to shape container to aid with external styling * Fix classnames * Fixes bug on text shapes / shapes with refs * v1.1.9-beta.1 * v1.1.9-beta.2 * Drop mobx as a dependency for core * v1.1.9-beta.3 * rename * Revert "Drop mobx as a dependency for core" This reverts commit 2d93f84a87f0c709e55fb2766519bfde03f8e854. * remove unused code from utils, move curve to separate package * v1.1.9-beta.4 * Add pretty-quick * Update package.json * Renamings Co-authored-by: Noah Shipley <nshipley@centricsoftware.com> Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
37 lines
No EOL
939 B
JSON
37 lines
No EOL
939 B
JSON
{
|
|
"version": "1.1.5",
|
|
"name": "@tldraw/curve",
|
|
"description": "Curve utilities for TLDraw and maybe you, too.",
|
|
"author": "@steveruizok",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/tldraw/tldraw.git"
|
|
},
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"2d",
|
|
"vector",
|
|
"curve",
|
|
"spline",
|
|
"typescript",
|
|
"javascript"
|
|
],
|
|
"files": [
|
|
"dist/**/*"
|
|
],
|
|
"main": "./dist/cjs/index.js",
|
|
"module": "./dist/esm/index.js",
|
|
"types": "./dist/types/index.d.ts",
|
|
"scripts": {
|
|
"start:packages": "yarn start",
|
|
"start:core": "yarn start",
|
|
"start": "node scripts/dev & yarn types:dev",
|
|
"build:core": "yarn build",
|
|
"build:packages": "yarn build",
|
|
"build": "node scripts/build && yarn types:build",
|
|
"types:dev": "tsc -w --p tsconfig.build.json",
|
|
"types:build": "tsc -p tsconfig.build.json",
|
|
"lint": "eslint src/ --ext .ts,.tsx",
|
|
"clean": "rm -rf dist"
|
|
}
|
|
} |