-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 4.9 KB
/
Copy pathpackage.json
File metadata and controls
95 lines (95 loc) · 4.9 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
{
"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 --env-mode=loose --ui tui",
"dev:desktop": "bun run --filter=@cap/desktop 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 --no-cache --concurrency 1",
"dev:mobile": "bun run docker:up && trap 'bun run docker:stop' EXIT && CAP_MOBILE_DISABLE_ASSOCIATED_DOMAINS=1 EXPO_PUBLIC_CAP_WEB_URL=${EXPO_PUBLIC_CAP_WEB_URL:-http://localhost:3000} dotenv -e .env -- turbo run dev --filter=@cap/web --filter=@cap/mobile --env-mode=loose --ui tui",
"dev:mobile:physical": "bun run docker:up && trap 'bun run docker:stop' EXIT && CAP_MOBILE_DEVICE=physical CAP_MOBILE_DISABLE_ASSOCIATED_DOMAINS=1 dotenv -e .env -- turbo run dev --filter=@cap/web --filter=@cap/mobile --env-mode=loose --ui tui",
"dev:web": "bun run dev --filter=!@cap/desktop --filter=!@cap/mobile",
"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",
"tauri:build": "dotenv -e .env -- bun run --cwd apps/desktop build:tauri --config src-tauri/tauri.prod.conf.json --verbose",
"typecheck": "bun run --cwd apps/web next typegen && bun run tsc -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",
"test:desktop:memory": "bun run --cwd apps/desktop test:memory",
"test:desktop:memory:unit": "bun run --cwd apps/desktop test:memory:unit",
"web": "bun run --cwd apps/web",
"env-setup": "node scripts/env-cli.js",
"check-tauri-versions": "node scripts/check-tauri-plugin-versions.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.15.2",
"tsdown": "^0.15.6",
"turbo": "^2.3.4",
"typescript": "^5.8.3",
"react": "19.2.0",
"react-dom": "19.2.0"
},
"packageManager": "bun@1.4.0",
"name": "cap",
"engines": {
"node": ">=20",
"bun": "1.4.0"
},
"overrides": {
"react-native-worklets": "0.7.4"
},
"workspaces": [
"apps/*",
"packages/*",
"crates/tauri-plugin-*",
"infra"
],
"trustedDependencies": [
"@parcel/watcher",
"@swc/core",
"cbor-extract",
"esbuild",
"ffmpeg-static",
"msgpackr-extract",
"node-av",
"protobufjs",
"sharp",
"unrs-resolver",
"workerd"
]
}