-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 4.69 KB
/
Copy pathpackage.json
File metadata and controls
95 lines (95 loc) · 4.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "playhtml-root",
"private": true,
"license": "MIT",
"workspaces": [
"packages/playhtml",
"packages/react",
"packages/common",
"packages/extension-types",
"apps/docs",
"extension",
"extension/website",
"extension/worker",
"smoke-tests"
],
"scripts": {
"dev": "vite --config vite.config.site.mts",
"dev-docs": "cd apps/docs && bun run dev",
"dev-server": "bunx wrangler dev --config partykit/wrangler.jsonc --port 1999",
"dev-server:local-db": "bun run db:local-env && bunx wrangler dev --config partykit/wrangler.jsonc --port 1999 --env-file partykit/.dev.vars --env-file .dev.vars.supabase",
"dev-extension": "cd extension && bun run dev",
"dev-extension-worker:local-db": "bun run db:local-env && bunx wrangler dev --config extension/worker/wrangler.toml --env-file \"$PWD/extension/worker/.dev.vars\" --env-file \"$PWD/.dev.vars.supabase\"",
"db:start": "supabase start",
"db:stop": "supabase stop",
"db:status": "supabase status",
"db:reset": "supabase db reset",
"db:new": "supabase migration new",
"db:lint": "supabase db lint --local --level warning",
"db:local-env": "bun run scripts/write-local-supabase-env.ts",
"db:verify": "supabase db reset && supabase db lint --local --level warning",
"deploy-server": "bunx wrangler deploy --config partykit/wrangler.jsonc",
"deploy-server:staging": "bunx wrangler deploy --config partykit/wrangler.jsonc --env staging",
"build-site": "vite build website --config vite.config.site.mts && cd apps/docs && bun run build",
"build-packages": "for dir in packages/*; do (cd \"$dir\" && bun run build) || exit $?; done",
"build-extension": "cd extension && bun run build",
"build-extension:website": "cd extension/website && bun run build",
"changeset": "changeset",
"version-packages": "changeset version",
"rewrite-workspace-deps": "bun run scripts/rewrite-workspace-deps.ts",
"release": "bun run build-packages && bun run rewrite-workspace-deps && changeset publish",
"release:snapshot": "bun run build-packages && changeset version --snapshot ${SNAPSHOT_TAG:-next} && bun run rewrite-workspace-deps && changeset publish --tag ${SNAPSHOT_TAG:-next} --no-git-tag && git checkout -- .changeset packages/*/package.json packages/*/CHANGELOG.md",
"lint": "bunx tsc -p partykit && cd website && bunx tsc && cd .. && for dir in packages/*; do (cd \"$dir\" && bunx tsc); done && cd extension && bunx tsc && cd worker && bunx tsc && cd ../website && bunx tsc",
"perf:extension:trace": "node scripts/trace-extension-performance.mjs",
"perf:extension:compare": "node scripts/compare-extension-performance.mjs",
"perf:extension:test": "node --test scripts/compare-extension-performance.test.mjs",
"load-test": "bun tools/load-test/src/runner.ts",
"load-test:full": "bun tools/load-test/src/runner.ts --config full-suite",
"smoke": "cd smoke-tests && bun run test",
"smoke:partykit": "cd smoke-tests && bun run test:partykit",
"smoke:partykit:limits": "cd smoke-tests && bun run test:partykit:limits",
"smoke:partykit:hibernation": "cd smoke-tests && bun run test:partykit:hibernation",
"smoke:partykit:compaction": "cd smoke-tests && bun run test:partykit:compaction",
"smoke:partykit:stale-compaction": "cd smoke-tests && bun run test:partykit:stale-compaction",
"smoke:partykit:emergency": "cd smoke-tests && bun run test:partykit:emergency",
"smoke:partykit:transient": "cd smoke-tests && bun run test:partykit:transient",
"smoke:partykit:soak": "cd smoke-tests && bun run test:partykit:soak",
"smoke:partykit:presence-cursor": "cd smoke-tests && bun run test:partykit:presence-cursor",
"generate-types": "bunx wrangler types --config partykit/wrangler.jsonc --include-runtime=false"
},
"overrides": {
"yjs": "13.6.18"
},
"devDependencies": {
"@changesets/cli": "^2.27.9",
"@cloudflare/workers-types": "^4.20260424.1",
"@types/canvas-confetti": "^1.6.4",
"@types/node": "^20.3.3",
"@types/randomcolor": "^0.5.9",
"@types/react": "^18.2.48",
"@types/react-is": "^18.2.0",
"@vitejs/plugin-react": "^4.2.1",
"agentation": "^2.2.1",
"ajv": "^8.18.0",
"glob": "^10.3.10",
"sass": "^1.62.1",
"supabase": "2.109.1",
"typescript": "^5.0.2",
"vite": "^7.1.2",
"vite-plugin-mpa": "^1.2.0",
"wrangler": "^4.81.1"
},
"dependencies": {
"@supabase/supabase-js": "^2.57.4",
"canvas-confetti": "^1.9.2",
"html2canvas": "^1.4.1",
"matter-js": "^0.20.0",
"partyserver": "^0.5.5",
"profane-words": "^1.5.11",
"randomcolor": "^0.6.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"y-partyserver": "^2.2.0",
"yjs": "13.6.18"
}
}