Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
135 lines (135 loc) · 5.98 KB
/
Copy pathpackage.json
File metadata and controls
135 lines (135 loc) · 5.98 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"type": "module",
"scripts": {
"build": "dotenv -e .env -- turbo run build",
"build:web": "turbo run build:web",
"build:web:docker": "bun run --filter=@cap/web build:docker",
"cap-setup": "dotenv -e .env -- node scripts/setup.js",
"analytics:migrate-dub": "dotenv -e .env -- node scripts/analytics/migrate-dub-to-tinybird.js --dry-run",
"analytics:migrate-dub:apply": "dotenv -e .env -- node scripts/analytics/migrate-dub-to-tinybird.js --apply",
"analytics:posthog-growth": "dotenv -e .env -- node scripts/analytics/posthog-growth-audit.mjs",
"analytics:setup": "dotenv -e .env -- node scripts/analytics/setup-analytics.js",
"analytics:check": "dotenv -e .env -- node scripts/analytics/check-analytics.js",
"analytics:delete-all": "dotenv -e .env -- node scripts/analytics/delete-all-data.js",
"analytics:populate-test": "dotenv -e .env -- node scripts/analytics/populate-test-data.js",
"db:generate": "dotenv -e .env -- bun run --filter @cap/database db:generate",
"db:push": "dotenv -e .env -- bun run --filter @cap/database db:push",
"db:studio": "dotenv -e .env -- bun run --filter @cap/database db:studio",
"dev": "bun run docker:up && trap 'bun run docker:stop' EXIT && dotenv -e .env -- turbo run dev --filter=!@cap/chrome-extension --filter=!@cap/status --env-mode=loose --ui tui",
"dev:desktop": "bun run --cwd apps/desktop-gpui dev",
"dev:extension": "bun run docker:up && trap 'bun run docker:stop' EXIT && dotenv -e .env -- turbo run dev --filter=@cap/web --filter=@cap/chrome-extension --env-mode=loose --ui tui",
"dev:manual": "bun run docker:up && trap 'bun run docker:stop' EXIT && dotenv -e .env -- turbo run dev --filter=!@cap/chrome-extension --filter=!@cap/status --concurrency 1",
"dev:web": "bun run dev --filter=!@cap/desktop",
"dev:windows": "cmd /d /c \"scripts\\\\dev-windows.cmd\"",
"docker:clean": "turbo run docker:clean",
"docker:stop": "turbo run docker:stop",
"docker:up": "turbo run docker:up",
"format": "bun run biome check --write",
"lint": "bun run biome lint",
"gpui:build": "dotenv -e .env -- node scripts/bundle-gpui.mjs",
"typecheck": "bun run --cwd apps/web next typegen && tsc-rs -b",
"test": "turbo run test",
"test:web": "bun run --filter=@cap/web test",
"test:discover": "bun run with-env cargo run -p cap-test -- discover",
"test:matrix": "bun run with-env cargo run -p cap-test -- matrix",
"test:matrix:quick": "bun run with-env cargo run -p cap-test -- matrix --quick",
"test:matrix:exhaustive": "bun run with-env cargo run -p cap-test -- matrix --exhaustive",
"test:synthetic": "bun run with-env cargo run -p cap-test -- synthetic",
"test:benchmark": "bun run with-env cargo run -p cap-test -- benchmark",
"test:suite:recording": "bun run with-env cargo run -p cap-test -- suite recording",
"test:suite:encoding": "bun run with-env cargo run -p cap-test -- suite encoding",
"test:suite:playback": "bun run with-env cargo run -p cap-test -- suite playback",
"test:suite:sync": "bun run with-env cargo run -p cap-test -- suite sync",
"web": "bun run --cwd apps/web",
"env-setup": "node scripts/env-cli.js",
"clean": "find . -name node_modules -o -name .next -o -name .output -o -name .turbo -o -name dist -type d -prune | xargs rm -rf",
"lgtm-otel": "docker run -p 3010:3000 -p 4317:4317 -p 4318:4318 --rm -it docker.io/grafana/otel-lgtm",
"with-env": "dotenv -e .env --",
"check:bun": "node scripts/check-bun-install.mjs"
},
"devDependencies": {
"@biomejs/biome": "2.2.0",
"@clack/prompts": "^0.10.0",
"@effect/language-service": "^0.44.0",
"dotenv-cli": "latest",
"mysql2": "^3.24.6",
"react": "19.2.0",
"react-dom": "19.2.0",
"sharp": "0.35.5",
"tsc-rs": "0.6.0",
"tsdown": "^0.15.6",
"turbo": "^2.11.10",
"typescript": "^5.8.3"
},
"packageManager": "bun@1.4.4",
"name": "cap",
"engines": {
"node": ">=24",
"bun": "1.4.4"
},
"overrides": {
"@grpc/grpc-js@>=1.0.0 <1.14.5": "~1.14.5",
"@modelcontextprotocol/client@>=2.0.0 <2.3.1": "~2.3.1",
"@modelcontextprotocol/sdk@>=1.0.0 <1.32.0": "~1.32.0",
"@opentelemetry/core@>=2.0.0 <2.8.0": "~2.8.0",
"@xhmikosr/decompress@>=11.0.0 <11.1.4": "~11.1.4",
"@xmldom/xmldom@>=0.8.0 <0.8.15": "~0.8.15",
"@xmldom/xmldom@>=0.9.0 <0.9.12": "~0.9.12",
"baseline-browser-mapping@>=2.0.0 <2.11.0": "~2.11.0",
"body-parser@>=2.0.0 <2.4.0": "~2.4.0",
"brace-expansion@>=1.0.0 <1.1.21": "~1.1.21",
"brace-expansion@>=2.0.0 <2.1.7": "~2.1.7",
"brace-expansion@>=5.0.0 <5.0.12": "~5.0.12",
"browserslist@>=4.0.0 <4.28.7": "~4.28.7",
"compression@>=1.0.0 <1.8.2": "~1.8.2",
"devalue@>=5.0.0 <5.9.3": "~5.9.3",
"engine.io@>=6.0.0 <6.6.10": "~6.6.10",
"fast-uri@>=3.0.0 <3.1.9": "~3.1.9",
"hono@>=4.0.0 <4.13.16": "~4.13.16",
"ip-address@>=10.0.0 <10.7.4": "~10.7.4",
"js-yaml@>=3.0.0 <3.15.2": "~3.15.2",
"js-yaml@>=4.0.0 <4.3.2": "~4.3.2",
"mysql2@>=3.0.0 <3.24.6": "~3.24.6",
"nanoid@>=3.0.0 <3.3.18": "~3.3.18",
"nanoid@>=5.0.0 <5.1.16": "~5.1.16",
"node-forge@>=1.0.0 <1.4.1": "~1.4.1",
"piscina@>=4.0.0 <4.9.4": "~4.9.4",
"postcss-selector-parser@>=6.0.0 <6.1.5": "~6.1.5",
"postcss-selector-parser@>=7.0.0 <7.1.6": "~7.1.6",
"postcss@>=8.0.0 <8.5.23": "~8.5.23",
"protobufjs@>=7.0.0 <7.6.5": "~7.6.5",
"proxy-addr@>=2.0.0 <2.0.8": "~2.0.8",
"qs@>=6.0.0 <6.16.1": "~6.16.1",
"react-native-worklets": "0.7.4",
"sharp": "0.35.5",
"shell-quote@>=1.0.0 <1.11.0": "~1.11.0",
"socket.io-parser@>=4.0.0 <4.2.7": "~4.2.7",
"solid-js@>=1.0.0 <1.9.18": "~1.9.18",
"source-map-js@>=1.0.0 <1.2.2": "~1.2.2",
"tar@>=7.0.0 <7.5.21": "~7.5.21",
"undici@>=6.0.0 <6.29.1": "~6.29.1",
"undici@>=7.0.0 <7.30.1": "~7.30.1",
"vite@>=6.0.0 <6.4.4": "~6.4.4",
"wrangler@>=3.0.0 <3.114.17": "~3.114.17",
"ws@>=8.0.0 <8.21.0": "~8.21.0",
"zod@>=4.0.0 <4.6.6": "~4.6.7"
},
"workspaces": [
"apps/*",
"packages/*",
"infra"
],
"trustedDependencies": [
"@parcel/watcher",
"@swc/core",
"cbor-extract",
"esbuild",
"ffmpeg-static",
"msgpackr-extract",
"node-av",
"protobufjs",
"sharp",
"unrs-resolver",
"workerd"
]
}