tldraw/apps/dotcom/package.json
David Sheldrick f19b12c42e
[dx] Derive vercel routes from react-router config (#2937)
I had some free time at the end of the week so I investigated the idea
of deriving the vercel routing config from the react-router config, then
storing the derived vercel route info in a jest snapshot, and then
loading the jest snapshot during the build script.

Seems to work well!



### Change Type

- [x] `internal` — Any other changes that don't affect the published
package[^2]
2024-02-26 12:30:35 +00:00

67 lines
1.6 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/tldraw": "workspace:*",
"@tldraw/tlsync": "workspace:*",
"@vercel/analytics": "^1.1.1",
"browser-fs-access": "^0.33.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"
},
"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.5.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": {
"preset": "config/jest/node",
"roots": [
"<rootDir>"
],
"testEnvironment": "jsdom",
"transformIgnorePatterns": [
"node_modules/(?!(nanoid|nanoevents)/)"
],
"setupFiles": [
"./setupTests.js"
]
}
}