UNPKG

@tldraw/utils

Version:

tldraw infinite canvas SDK (private utilities).

77 lines 1.98 kB
{ "name": "@tldraw/utils", "description": "tldraw infinite canvas SDK (private utilities).", "version": "3.15.0", "author": { "name": "tldraw Inc.", "email": "hello@tldraw.com" }, "homepage": "https://tldraw.dev", "license": "SEE LICENSE IN LICENSE.md", "repository": { "type": "git", "url": "https://github.com/tldraw/tldraw" }, "bugs": { "url": "https://github.com/tldraw/tldraw/issues" }, "keywords": [ "tldraw", "sdk", "drawing", "app", "development", "whiteboard", "canvas", "infinite" ], "main": "dist-cjs/index.js", "files": [ "dist-esm", "dist-cjs", "src" ], "scripts": { "test-ci": "lazy inherit", "test": "yarn run -T jest", "test-coverage": "lazy inherit", "build": "yarn run -T tsx ../../internal/scripts/build-package.ts", "build-api": "yarn run -T tsx ../../internal/scripts/build-api.ts", "prepack": "yarn run -T tsx ../../internal/scripts/prepack.ts", "postpack": "../../internal/scripts/postpack.sh", "pack-tarball": "yarn pack", "lint": "yarn run -T tsx ../../internal/scripts/lint.ts" }, "jest": { "preset": "../../internal/config/jest/node/jest-preset.js", "setupFiles": [ "raf/polyfill" ], "moduleNameMapper": { "^~(.*)": "<rootDir>/src/$1" } }, "dependencies": { "fractional-indexing-jittered": "^1.0.0", "lodash.isequal": "^4.5.0", "lodash.isequalwith": "^4.4.0", "lodash.throttle": "^4.1.1", "lodash.uniq": "^4.5.0" }, "devDependencies": { "@types/lodash.isequal": "^4.5.8", "@types/lodash.isequalwith": "^4.4.9", "@types/lodash.throttle": "^4.1.9", "@types/lodash.uniq": "^4.5.9", "jest-environment-jsdom": "^29.7.0", "lazyrepo": "0.0.0-alpha.27" }, "module": "dist-esm/index.mjs", "source": "src/index.ts", "exports": { ".": { "import": "./dist-esm/index.mjs", "require": "./dist-cjs/index.js" } } }