{ "version": "1.13.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": { "start": "yarn lask -d", "build": "yarn lask", "start:packages": "yarn start", "start:core": "yarn start", "build:core": "yarn build", "build:packages": "yarn build", "lint": "eslint src/ --ext .ts,.tsx", "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist", "test": "jest", "test:ci": "jest --ci --runInBand --updateSnapshot", "test:watch": "jest --watchAll", "docs": "typedoc" }, "dependencies": { "@tldraw/intersect": "^1.7.1", "@tldraw/vec": "^1.7.0", "@use-gesture/react": "^10.2.14", "mobx-react-lite": "^3.2.3", "perfect-freehand": "^1.1.0", "resize-observer-polyfill": "^1.5.1" }, "peerDependencies": { "react": ">=16.8", "react-dom": "^16.8 || ^17.0" }, "devDependencies": { "@swc-node/jest": "^1.4.3", "@testing-library/jest-dom": "^5.16.2", "@testing-library/react": "^12.1.2", "@tldraw/intersect": "*", "@tldraw/vec": "*", "@types/node": "^17.0.14", "@types/react": "^17.0.38", "@typescript-eslint/eslint-plugin": "^5.10.2", "@typescript-eslint/parser": "^5.10.2", "eslint": "^8.8.0", "lask": "^0.0.29", "mobx": "^6.3.8", "react": ">=16.8", "react-dom": "^16.8 || ^17.0" }, "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" }