Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 3.14 KB
/
Copy pathpackage.json
File metadata and controls
55 lines (55 loc) · 3.14 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
{
"name": "@ima/workspace",
"version": "0.0.0",
"private": true,
"type": "module",
"packageManager": "bun@1.3.8",
"engines": {
"node": ">=24.3.0 <25"
},
"workspaces": [
"apps/*",
"packages/*",
"worker"
],
"scripts": {
"install:ci": "bun install --frozen-lockfile",
"dev:mobile": "bun run --cwd apps/mobile start",
"dev:worker": "bun run --cwd worker dev",
"dev:worker:llm": "bun run --cwd worker dev:llm",
"dev:web": "bun run --cwd apps/mobile start --web --clear",
"env:preflight": "bun scripts/environment-preflight.ts",
"format": "prettier --check .",
"docs": "node scripts/check-doc-paths.mjs && node scripts/check-doc-links.mjs",
"check": "node scripts/select-checks.mjs",
"lint": "eslint . && node scripts/check-file-lines.mjs && node scripts/check-lint-disables.mjs && node scripts/check-eslint-fixtures.mjs",
"architecture": "dependency-cruiser --validate .dependency-cruiser.cjs apps packages worker && node scripts/check-manifest-boundaries.mjs && node scripts/check-worker-legacy-layout.mjs && node scripts/check-architecture-fixtures.mjs",
"typecheck": "bun run scripts/run-workspaces.mjs typecheck && tsc -p tsconfig.json --noEmit",
"test": "bun run test:unit && bun run test:app-integrity && bun run test:worker-http && bun run test:runtime",
"test:unit": "vitest run --config vitest.config.ts",
"test:worker-http": "vitest run --config vitest.worker.config.ts",
"test:app-integrity": "vitest run --config vitest.app-integrity.config.ts",
"test:runtime": "bun run test:runtime-native",
"test:runtime-native": "vitest run --config vitest.runtime-native.config.ts && bun run test:runtime-production-http && bun run test:dev-worker",
"test:runtime-production-http": "vitest run --config vitest.runtime-production-http.config.ts",
"test:dev-worker": "vitest run --config vitest.dev.config.ts",
"build": "bun run scripts/run-workspaces.mjs build",
"commit-size": "node scripts/check-commit-size.mjs",
"eval": "PROMPTFOO_DISABLE_TELEMETRY=1 PROMPTFOO_DISABLE_UPDATE=1 PROMPTFOO_DISABLE_SHARING=1 PROMPTFOO_DISABLE_REMOTE_GENERATION=true WRANGLER_SEND_METRICS=false bunx promptfoo@0.123.1 eval -c worker/tooling/eval/promptfoo/promptfooconfig.yaml --env-file worker/.dev.vars.llm --no-cache",
"eval:smoke": "PROMPTFOO_DISABLE_TELEMETRY=1 PROMPTFOO_DISABLE_UPDATE=1 PROMPTFOO_DISABLE_SHARING=1 PROMPTFOO_DISABLE_REMOTE_GENERATION=true WRANGLER_SEND_METRICS=false bunx promptfoo@0.123.1 eval -c worker/tooling/eval/promptfoo/promptfooconfig.smoke.yaml --filter-metadata smoke=true --no-cache",
"eval:view": "PROMPTFOO_DISABLE_TELEMETRY=1 PROMPTFOO_DISABLE_UPDATE=1 PROMPTFOO_DISABLE_SHARING=1 PROMPTFOO_DISABLE_REMOTE_GENERATION=true bunx promptfoo@0.123.1 view"
},
"devDependencies": {
"@cloudflare/vitest-pool-workers": "0.22.0",
"@cloudflare/workers-types": "5.20260908.1",
"@types/node": "24.13.3",
"dependency-cruiser": "18.2.0",
"eslint": "10.10.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-react-hooks": "7.1.1",
"prettier": "3.9.6",
"typescript": "5.9.3",
"typescript-eslint": "8.70.0",
"vitest": "4.1.11"
}
}