4c5c3daa51
This diff adds a PDF editor example. It's pretty similar to the image annotator, but is a better way to demo longer axis-locked scrolling. There are some pretty big drawbacks to it at the moment (see the TODO list on `PdfEditor.tsx`) I'm going to land as-is for now, and we can iterate on it in the future. ### Change Type - [x] `docs` — Changes to the documentation, examples, or templates. - [x] `feature` — New feature
60 lines
1.4 KiB
JSON
60 lines
1.4 KiB
JSON
{
|
|
"name": "examples.tldraw.com",
|
|
"description": "A tiny little drawing app (examples).",
|
|
"version": "2.0.0-beta.2",
|
|
"private": true,
|
|
"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"
|
|
],
|
|
"scripts": {
|
|
"dev": "vite --host",
|
|
"build": "vite build",
|
|
"lint": "yarn run -T tsx ../../scripts/lint.ts",
|
|
"e2e": "NODE_ENV=test && playwright test -c ./e2e/playwright.config.ts",
|
|
"e2e-ui": "NODE_ENV=test && playwright test --ui -c ./e2e/playwright.config.ts"
|
|
},
|
|
"dependencies": {
|
|
"@playwright/test": "^1.38.1",
|
|
"@radix-ui/react-alert-dialog": "^1.0.5",
|
|
"@tldraw/assets": "workspace:*",
|
|
"@vercel/analytics": "^1.1.1",
|
|
"classnames": "^2.3.2",
|
|
"lazyrepo": "0.0.0-alpha.27",
|
|
"lodash": "^4.17.21",
|
|
"pdf-lib": "^1.17.1",
|
|
"pdfjs-dist": "^4.0.379",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-router-dom": "^6.17.0",
|
|
"tldraw": "workspace:*",
|
|
"vite": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/lodash": "^4.14.188",
|
|
"@vitejs/plugin-react": "^4.2.0",
|
|
"dotenv": "^16.3.1",
|
|
"remark": "^15.0.1",
|
|
"remark-frontmatter": "^5.0.0",
|
|
"remark-html": "^16.0.1",
|
|
"vfile-matter": "^5.0.0"
|
|
}
|
|
}
|