2023-04-25 11:01:25 +00:00
|
|
|
{
|
|
|
|
"name": "@tldraw/editor",
|
|
|
|
"description": "A tiny little drawing app (editor).",
|
|
|
|
"version": "2.0.0-alpha.12",
|
|
|
|
"packageManager": "yarn@3.5.0",
|
|
|
|
"author": {
|
|
|
|
"name": "tldraw GB Ltd.",
|
|
|
|
"email": "hello@tldraw.com"
|
|
|
|
},
|
|
|
|
"homepage": "https://tldraw.dev",
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"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"
|
|
|
|
],
|
|
|
|
"/* NOTE */": "These `main` and `types` fields are rewritten by the build script. They are not the actual values we publish",
|
|
|
|
"main": "./src/index.ts",
|
|
|
|
"types": "./.tsbuild/index.d.ts",
|
|
|
|
"style": "./editor.css",
|
|
|
|
"/* GOTCHA */": "files will include ./dist and index.d.ts by default, add any others you want to include in here",
|
|
|
|
"files": [
|
|
|
|
"editor.css"
|
|
|
|
],
|
|
|
|
"scripts": {
|
|
|
|
"test": "lazy inherit",
|
|
|
|
"benchmark": "yarn run -T tsx ./scripts/benchmark.ts",
|
2023-05-02 12:25:26 +00:00
|
|
|
"test-coverage": "lazy inherit",
|
2023-05-12 15:41:40 +00:00
|
|
|
"build": "yarn run -T tsx ../../scripts/build-package.ts",
|
2023-05-02 12:25:26 +00:00
|
|
|
"build-api": "yarn run -T tsx ../../scripts/build-api.ts",
|
2023-04-25 11:01:25 +00:00
|
|
|
"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": {
|
2023-05-22 08:18:01 +00:00
|
|
|
"@tldraw/indices": "workspace:*",
|
2023-04-25 11:01:25 +00:00
|
|
|
"@tldraw/primitives": "workspace:*",
|
|
|
|
"@tldraw/tlschema": "workspace:*",
|
|
|
|
"@tldraw/tlstore": "workspace:*",
|
|
|
|
"@tldraw/tlvalidate": "workspace:*",
|
|
|
|
"@tldraw/utils": "workspace:*",
|
2023-05-25 09:39:47 +00:00
|
|
|
"@use-gesture/react": "^10.2.27",
|
2023-04-25 11:01:25 +00:00
|
|
|
"classnames": "^2.3.2",
|
2023-04-29 22:10:01 +00:00
|
|
|
"crc": "^4.3.2",
|
2023-04-25 11:01:25 +00:00
|
|
|
"escape-string-regexp": "^5.0.0",
|
|
|
|
"eventemitter3": "^4.0.7",
|
|
|
|
"is-plain-object": "^5.0.0",
|
|
|
|
"lodash.throttle": "^4.1.1",
|
|
|
|
"lodash.uniq": "^4.5.0",
|
2023-05-11 11:55:00 +00:00
|
|
|
"nanoid": "4.0.2"
|
2023-04-25 11:01:25 +00:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
|
|
|
"react": "^18",
|
|
|
|
"react-dom": "^18",
|
|
|
|
"signia": "*",
|
|
|
|
"signia-react": "*"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@peculiar/webcrypto": "^1.4.0",
|
|
|
|
"@testing-library/jest-dom": "^5.16.5",
|
|
|
|
"@testing-library/react": "^14.0.0",
|
|
|
|
"@types/benchmark": "^2.1.2",
|
2023-04-29 22:10:01 +00:00
|
|
|
"@types/crc": "^3.8.0",
|
2023-04-25 11:01:25 +00:00
|
|
|
"@types/lodash.throttle": "^4.1.7",
|
|
|
|
"@types/lodash.uniq": "^4.5.7",
|
|
|
|
"@types/react-test-renderer": "^18.0.0",
|
|
|
|
"@types/wicg-file-system-access": "^2020.9.5",
|
|
|
|
"benchmark": "^2.1.4",
|
|
|
|
"fake-indexeddb": "^4.0.0",
|
|
|
|
"gzip-size": "^7.0.0",
|
|
|
|
"jest-canvas-mock": "^2.4.0",
|
|
|
|
"jest-environment-jsdom": "^29.4.3",
|
2023-05-02 12:25:26 +00:00
|
|
|
"lazyrepo": "0.0.0-alpha.26",
|
2023-04-25 11:01:25 +00:00
|
|
|
"react-test-renderer": "^18.2.0",
|
|
|
|
"resize-observer-polyfill": "^1.5.1"
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"preset": "config/jest/node",
|
|
|
|
"testEnvironment": "jsdom",
|
|
|
|
"fakeTimers": {
|
|
|
|
"enableGlobally": true
|
|
|
|
},
|
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
"^.+\\.*.css$"
|
|
|
|
],
|
|
|
|
"transformIgnorePatterns": [
|
|
|
|
"node_modules/(?!(nanoid|escape-string-regexp)/)"
|
|
|
|
],
|
|
|
|
"moduleNameMapper": {
|
|
|
|
"^~(.*)": "<rootDir>/src/$1",
|
|
|
|
"\\.(css|less|scss|sass)$": "identity-obj-proxy"
|
|
|
|
},
|
|
|
|
"setupFiles": [
|
|
|
|
"raf/polyfill",
|
|
|
|
"<rootDir>/setupTests.js"
|
|
|
|
],
|
|
|
|
"setupFilesAfterEnv": [
|
|
|
|
"../../config/setupJest.ts"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|