{
  "name": "@tldraw/editor",
  "description": "A tiny little drawing app (editor).",
  "version": "2.4.6",
  "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",
    "drawing",
    "app",
    "development",
    "whiteboard",
    "canvas",
    "infinite"
  ],
  "main": "dist-cjs/index.js",
  "style": "./editor.css",
  "files": [
    "editor.css",
    "dist-esm",
    "dist-cjs",
    "src"
  ],
  "scripts": {
    "test-ci": "lazy inherit",
    "test": "yarn run -T jest",
    "benchmark": "yarn run -T tsx ./scripts/benchmark.ts",
    "test-coverage": "lazy inherit",
    "build": "yarn run -T tsx ../../scripts/build-package.ts",
    "build-api": "yarn run -T tsx ../../scripts/build-api.ts",
    "prepack": "yarn run -T tsx ../../scripts/prepack.ts",
    "postpack": "../../scripts/postpack.sh",
    "pack-tarball": "yarn pack",
    "lint": "yarn run -T tsx ../../scripts/lint.ts"
  },
  "dependencies": {
    "@tldraw/state": "2.4.6",
    "@tldraw/state-react": "2.4.6",
    "@tldraw/store": "2.4.6",
    "@tldraw/tlschema": "2.4.6",
    "@tldraw/utils": "2.4.6",
    "@tldraw/validate": "2.4.6",
    "@types/core-js": "^2.5.5",
    "@use-gesture/react": "^10.2.27",
    "classnames": "^2.3.2",
    "core-js": "^3.31.1",
    "eventemitter3": "^4.0.7",
    "idb": "^7.1.1",
    "is-plain-object": "^5.0.0",
    "nanoid": "4.0.2"
  },
  "peerDependencies": {
    "react": "^18",
    "react-dom": "^18"
  },
  "devDependencies": {
    "@peculiar/webcrypto": "^1.4.0",
    "@testing-library/jest-dom": "^5.16.5",
    "@testing-library/react": "^14.0.0",
    "@types/benchmark": "^2.1.2",
    "@types/react-test-renderer": "^18.0.0",
    "@types/wicg-file-system-access": "^2020.9.5",
    "benchmark": "^2.1.4",
    "fake-indexeddb": "^4.0.0",
    "jest-canvas-mock": "^2.5.2",
    "jest-environment-jsdom": "^29.4.3",
    "lazyrepo": "0.0.0-alpha.27",
    "react-test-renderer": "^18.2.0",
    "resize-observer-polyfill": "^1.5.1"
  },
  "jest": {
    "preset": "config/jest/node",
    "testEnvironment": "../../../packages/utils/patchedJestJsDom.js",
    "fakeTimers": {
      "enableGlobally": true
    },
    "testPathIgnorePatterns": [
      "^.+\\.*.css$"
    ],
    "transformIgnorePatterns": [
      "node_modules/(?!(nanoid)/)"
    ],
    "moduleNameMapper": {
      "^~(.*)": "<rootDir>/src/$1",
      "\\.(css|less|scss|sass)$": "identity-obj-proxy"
    },
    "setupFiles": [
      "raf/polyfill",
      "jest-canvas-mock",
      "<rootDir>/setupTests.js"
    ],
    "setupFilesAfterEnv": [
      "../../config/setupJest.ts"
    ]
  },
  "module": "dist-esm/index.mjs",
  "source": "src/index.ts",
  "exports": {
    ".": {
      "import": "./dist-esm/index.mjs",
      "require": "./dist-cjs/index.js"
    },
    "./editor.css": "./editor.css"
  }
}