tldraw/apps/dotcom/package.json
Steve Ruiz ebc892a1a6
Camera options followups (#3701)
This PR adds a slideshow example (similar to @TodePond's slides but more
on rails) as a way to put some pressure on camera controls.

Along the way, it fixes some issues I found with animations and the new
camera controls.

- forced changes will continue to force through animations
- animations no longer set unnecessary additional listeners
- animations end correctly
- updating camera options does not immediately update the camera (to
allow for animations, etc.)

It also changes the location of the "in front of the canvas" element so
that it is not hidden by the hit test blocking element.

### Change Type

- [x] `sdk` — Changes the tldraw SDK
- [x] `improvement` — Improving existing features
2024-05-07 10:06:35 +00:00

70 lines
1.8 KiB
JSON

{
"name": "dotcom",
"description": "The production app for tldraw.",
"version": "2.0.0-alpha.11",
"private": true,
"author": {
"name": "tldraw GB Ltd.",
"email": "hello@tldraw.com"
},
"browserslist": [
"defaults"
],
"scripts": {
"dev": "yarn run -T tsx scripts/dev-app.ts",
"build": "yarn run -T tsx scripts/build.ts",
"start": "VITE_PREVIEW=1 yarn run -T tsx scripts/dev-app.ts",
"lint": "yarn run -T tsx ../../scripts/lint.ts",
"test-ci": "lazy inherit",
"test": "yarn run -T jest"
},
"dependencies": {
"@radix-ui/react-popover": "^1.0.7",
"@sentry/integrations": "^7.34.0",
"@sentry/react": "^7.77.0",
"@tldraw/assets": "workspace:*",
"@tldraw/dotcom-shared": "workspace:*",
"@tldraw/tlsync": "workspace:*",
"@tldraw/utils": "workspace:*",
"@vercel/analytics": "^1.1.1",
"browser-fs-access": "^0.35.0",
"idb": "^7.1.1",
"nanoid": "4.0.2",
"qrcode": "^1.5.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet-async": "^1.3.0",
"react-router-dom": "^6.17.0",
"tldraw": "workspace:*"
},
"devDependencies": {
"@jest/globals": "30.0.0-alpha.2",
"@sentry/cli": "^2.25.0",
"@tldraw/validate": "workspace:*",
"@types/qrcode": "^1.5.0",
"@types/react": "^18.2.47",
"@typescript-eslint/utils": "^5.59.0",
"@vitejs/plugin-react-swc": "^3.6.0",
"dotenv": "^16.3.1",
"eslint": "^8.37.0",
"fast-glob": "^3.3.1",
"json5": "^2.2.3",
"lazyrepo": "0.0.0-alpha.27",
"vite": "^5.0.0",
"ws": "^8.16.0"
},
"jest": {
"resolver": "<rootDir>/jestResolver.js",
"preset": "config/jest/node",
"roots": [
"<rootDir>"
],
"testEnvironment": "../../../packages/utils/patchedJestJsDom.js",
"transformIgnorePatterns": [
"node_modules/(?!(nanoid|nanoevents)/)"
],
"setupFiles": [
"./setupTests.js"
]
}
}