Files
upstream-tldraw/apps/dotcom/client/package.json
upstream-mirror a774ac673a
Some checks failed
Deploy analytics worker / Deploy analytics worker to ${{ (github.ref == 'refs/heads/production' && 'production') || (github.ref == 'refs/heads/main' && 'staging') || 'preview' }} (push) Failing after 1s
i18n upload strings / Upload latest strings (push) Failing after 1s
Deploy bemo / Deploy bemo to ${{ (github.ref == 'refs/heads/bemo-production' && 'production') || (github.ref == 'refs/heads/main' && 'staging') || 'preview' }} (push) Failing after 1s
Deploy grafana resources / ${{ github.event_name == 'push' && 'Deploy grafana resources' || 'Validate grafana resources (dry run)' }} (push) Failing after 0s
End to end tests (dotcom) / Check for relevant changes (push) Failing after 0s
End to end tests (examples) / Check for relevant changes (push) Failing after 0s
End to end tests (mermaid readability) / Check for relevant changes (push) Failing after 1s
End to end tests (perf) / Check for relevant changes (push) Failing after 0s
Publish editor extensions / Publish editor extensions (push) Failing after 1s
Publish SDK packages / Remove the publish-packages label (push) Has been skipped
Checks / Tests & checks (push) Has been cancelled
Checks / Build all projects (push) Has been cancelled
Deploy templates / Deploy templates (push) Has been cancelled
End to end tests (dotcom) / End to end tests (dotcom) (push) Has been cancelled
End to end tests (mermaid readability) / End to end tests (mermaid readability) (push) Has been cancelled
End to end tests (perf) / End to end tests (perf) (push) Has been cancelled
Deploy .com / Deploy dotcom to ${{ (github.ref == 'refs/heads/production' && 'production') || (github.ref == 'refs/heads/main' && 'staging') || 'preview' }} (push) Has been cancelled
End to end tests (examples) / End to end tests (examples) (push) Has been cancelled
Publish SDK packages / Publish SDK packages (push) Has been cancelled
Publish SDK packages / Tell user released version (push) Has been cancelled
Publish SDK packages / Publishes code templates to separate repositories (push) Has been cancelled
Publish SDK packages / Deploys the template demos with the new SDK version (push) Has been cancelled
snapshot of https://github.com/tldraw/tldraw.git (main, 2026-09-23; blobs > 131072B omitted)
2026-09-23 16:12:52 +05:00

100 lines
4.1 KiB
JSON

{
"name": "dotcom",
"description": "The production app for tldraw.",
"version": "0.0.0",
"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",
"browser-run-thumbnail": "yarn run -T tsx scripts/browser-run-thumbnail.ts",
"build-i18n": "yarn i18n:extract && yarn i18n:compile",
"start": "VITE_PREVIEW=1 yarn run -T tsx scripts/dev-app.ts",
"lint": "yarn run -T tsx ../../../internal/scripts/lint.ts",
"test-ci": "yarn run -T vitest run --passWithNoTests",
"test": "yarn run -T vitest --passWithNoTests",
"i18n:extract": "formatjs extract 'src/{tla,pages,components}/**/*.ts*' --out-file public/tla/locales/en.json --additional-component-names F --id-interpolation-pattern '[md5:contenthash:hex:10]' --format lokalise",
"i18n:compile": "formatjs compile-folder public/tla/locales public/tla/locales-compiled --format lokalise --ast",
"e2e": "rm -rf 'e2e/.auth' && NODE_OPTIONS='--no-strip-types' yarn playwright test --project=chromium-scenarios",
"e2e-scenarios": "NODE_OPTIONS='--no-strip-types' yarn playwright test --project=chromium-scenarios",
"e2e-smoke": "rm -rf 'e2e/.auth' && NODE_OPTIONS='--no-strip-types' yarn playwright test --project=chromium",
"e2e-all": "rm -rf 'e2e/.auth' && NODE_OPTIONS='--no-strip-types' yarn playwright test --project=chromium --project=chromium-scenarios",
"e2e-x10": "NODE_OPTIONS='--no-strip-types' yarn playwright test --project=chromium-scenarios --repeat-each=10",
"e2e-smoke-x10": "NODE_OPTIONS='--no-strip-types' yarn playwright test --project=chromium --repeat-each=10",
"e2e-all-x10": "NODE_OPTIONS='--no-strip-types' yarn playwright test --project=chromium --project=chromium-scenarios --repeat-each=10",
"e2e-debug": "NODE_OPTIONS='--no-strip-types' yarn playwright test --project=chromium-scenarios --debug",
"e2e-all-debug": "NODE_OPTIONS='--no-strip-types' yarn playwright test --project=chromium --project=chromium-scenarios --debug",
"e2e-ui": "NODE_OPTIONS='--no-strip-types' yarn playwright test --project=chromium-scenarios --ui",
"e2e-all-ui": "NODE_OPTIONS='--no-strip-types' yarn playwright test --project=chromium --project=chromium-scenarios --ui",
"e2e-staging": "NODE_OPTIONS='--no-strip-types' yarn playwright test --project=staging",
"e2e-both-modes": "./e2e/run-both-modes.sh",
"test-coverage": "yarn run -T vitest run --coverage --passWithNoTests"
},
"dependencies": {
"@clerk/clerk-react": "^5.53.3",
"@clerk/elements": "^0.23.74",
"@clerk/types": "^4.95.1",
"@rocicorp/zero": "1.9.0",
"@sentry/integrations": "^7.120.3",
"@sentry/react": "^7.120.3",
"@tldraw/assets": "workspace:*",
"@tldraw/commenting": "workspace:*",
"@tldraw/dotcom-shared": "workspace:*",
"@tldraw/mermaid": "workspace:*",
"@tldraw/sync": "workspace:*",
"@tldraw/sync-core": "workspace:*",
"@tldraw/utils": "workspace:*",
"axe-core": "^4.10.3",
"browser-fs-access": "^0.35.0",
"classnames": "^2.5.1",
"idb": "^7.1.1",
"intl-messageformat": "^11.1.2",
"posthog-js": "^1.281.0",
"qrcode": "^1.5.4",
"radix-ui": "^1.4.2",
"react": "^19.2.1",
"react-dom": "^19.2.1",
"react-ga4": "^2.1.0",
"react-helmet-async": "^1.3.0",
"react-intl": "^8.1.3",
"react-markdown": "^10.1.0",
"react-router-dom": "^6.28.2",
"tldraw": "workspace:*"
},
"devDependencies": {
"@clerk/testing": "^2.2.33",
"@formatjs/cli": "^6.5.1",
"@formatjs/unplugin": "^1.1.0",
"@peculiar/webcrypto": "^1.5.0",
"@playwright/test": "^1.61.0",
"@sentry/cli": "^2.41.1",
"@tldraw/validate": "workspace:*",
"@types/md5": "^2.3.5",
"@types/node": "^22.15.31",
"@types/qrcode": "^1.5.5",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@types/regexgen": "^1",
"@vercel/build-utils": "13.20.0",
"@vitejs/plugin-react": "^6.0.1",
"dotenv": "^16.4.7",
"fast-glob": "^3.3.3",
"identity-obj-proxy": "^3.0.0",
"json5": "^2.2.3",
"kysely": "^0.28.12",
"lazyrepo": "0.0.0-alpha.27",
"pg": "^8.16.3",
"regexgen": "^1.3.0",
"vite": "^8.0.16",
"vitest": "^5.0.0",
"ws": "^8.18.0",
"zod": "^4.1.8"
}
}