{ "version": "1.21.0", "name": "@tldraw/core", "description": "The tldraw core renderer and utilities.", "author": "@steveruizok", "repository": { "type": "git", "url": "git+https://github.com/tldraw/tldraw.git" }, "license": "MIT", "keywords": [ "react", "canvas", "zoom", "drawing", "whiteboard" ], "files": [ "dist/**/*" ], "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "source": "./dist/index.ts", "scripts": { "dev": "yarn lfg -d", "build": "yarn lfg", "test": "jest", "test:ci": "jest --ci --runInBand --updateSnapshot", "test:watch": "jest --watchAll", "lint": "TIMING=1 eslint src/ --ext .ts,.tsx", "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" }, "dependencies": { "@tldraw/intersect": "^1.8.0", "@tldraw/vec": "^1.8.0", "@use-gesture/react": "^10.2.19", "perfect-freehand": "^1.1.0" }, "peerDependencies": { "react": ">=16.8", "react-dom": ">=16.8" }, "devDependencies": { "@swc-node/jest": "^1.5.2", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^13.4.0", "@tldraw/intersect": "*", "@tldraw/lfg": "latest", "@tldraw/vec": "*", "@types/react": "^18.0.17", "@types/react-dom": "^18.0.6", "react": "^18.2.0", "react-dom": "^18.2.0", "resize-observer-polyfill": "^1.5.1" }, "jest": { "setupFilesAfterEnv": [ "/../../setupTests.ts" ], "transform": { "^.+\\.(tsx|jsx|ts|js|mjs)?$": [ "@swc-node/jest", { "dynamicImport": true, "experimentalDecorators": true, "emitDecoratorMetadata": true } ] }, "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ], "testEnvironment": "jsdom", "modulePathIgnorePatterns": [ "/dist/", "/src/test/" ], "moduleNameMapper": { "@tldraw/core": "/src", "\\~(.*)": "/src/$1" } }, "gitHead": "4b1137849ad07da36fc8f0f19cb64e7535a79296" }