-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 2.66 KB
/
package.json
File metadata and controls
63 lines (63 loc) · 2.66 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
{
"name": "cortex",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"build": "tsc -p tsconfig.json --noEmit",
"typecheck": "bun run build",
"lint": "eslint .",
"test": "bun run lint && bun run build && vitest run tests/*.test.ts tests/**/*.test.ts",
"test:unit": "vitest run tests/*.test.ts tests/**/*.test.ts",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest tests/*.test.ts tests/**/*.test.ts",
"dev:harness": "bun scripts/runtime-harness-server.mjs",
"test:browser": "playwright test",
"test:electron": "bun scripts/run-electron-runtime-smoke.mjs",
"test:electron:playwright": "bun scripts/run-electron-runtime-tests.mjs",
"test:electron:desktop": "CORTEX_ELECTRON_HEADLESS=0 CORTEX_ELECTRON_SHOW=1 bun scripts/run-electron-runtime-smoke.mjs",
"test:runtime": "bun run test:browser && bun run test:electron",
"test:all": "bun run test:unit && bun run test:runtime",
"guard:model-derived": "bun scripts/guard-model-derived.mjs",
"guard:hotpath-policy": "bun scripts/guard-hotpath-policy.mjs",
"prepare": "husky install",
"benchmark:dummy": "vitest bench --watch=false tests/benchmarks/DummyEmbedderHotpath.bench.ts",
"benchmark:query-latency": "vitest bench --watch=false tests/benchmarks/QueryLatency.bench.ts",
"benchmark:storage-overhead": "vitest bench --watch=false tests/benchmarks/StorageOverhead.bench.ts",
"benchmark:hotpath-scaling": "vitest bench --watch=false tests/benchmarks/HotpathScaling.bench.ts",
"benchmark:all": "vitest bench --watch=false tests/benchmarks/",
"benchmark": "bun run benchmark:dummy",
"docker:electron:build": "docker compose -f docker-compose.electron-debug.yml build electron-debug",
"docker:electron:up": "docker compose -f docker-compose.electron-debug.yml up --build --force-recreate electron-debug",
"docker:electron:down": "docker compose -f docker-compose.electron-debug.yml down --remove-orphans",
"docker:electron:logs": "docker compose -f docker-compose.electron-debug.yml logs -f electron-debug"
},
"devDependencies": {
"@eslint/js": "latest",
"@playwright/test": "latest",
"@vitest/coverage-v8": "latest",
"@webgpu/types": "latest",
"electron": "latest",
"eslint": "latest",
"fake-indexeddb": "latest",
"husky": "latest",
"typescript": "latest",
"typescript-eslint": "latest",
"vitest": "latest"
},
"optionalDependencies": {
"electron": "latest"
},
"dependencies": {
"@huggingface/transformers": "latest"
},
"engines": {
"bun": "latest"
},
"trustedDependencies": [
"electron",
"onnxruntime-node",
"protobufjs",
"sharp"
]
}