-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 4.76 KB
/
Copy pathpackage.json
File metadata and controls
67 lines (67 loc) · 4.76 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
{
"name": "kibi",
"version": "0.2.0",
"private": false,
"license": "AGPL-3.0-or-later",
"author": "Piotr Franczyk",
"workspaces": ["packages/*"],
"scripts": {
"test": "bun run test:unit && bun run test:e2e:local",
"test:unit": "bun test --timeout 15000 ./test/root.test.ts",
"test:coverage:unit": "bun run scripts/run-unit-coverage.ts",
"test:coverage:prolog": "swipl -q -s scripts/run-prolog-coverage.pl -- --source-root packages/core/src --test packages/core/tests/kb.plt --output-dir coverage/prolog --summary-json coverage/prolog/summary.json --summary-text coverage/prolog/summary.txt --fail-under 100",
"test:e2e": "./scripts/docker/test.sh e2e",
"test:e2e:local": "bun run build:cli && bun run build:mcp && bun run build:opencode && bun run build:cursor && bun run typecheck:e2e:packed && bun run typecheck:e2e:local && rm -rf /tmp/kibi-e2e-packed-compiled && tsc -p documentation/tests/e2e/packed/tsconfig.e2e.json --outDir /tmp/kibi-e2e-packed-compiled && tsc -p documentation/tests/e2e/tsconfig.local.json --outDir /tmp/kibi-e2e-packed-compiled && NODE_OPTIONS='--enable-source-maps' node --test --test-concurrency=1 /tmp/kibi-e2e-packed-compiled/*.test.js",
"test:docker": "./scripts/docker/test.sh",
"docker:build": "docker compose -f docker/compose.test.yml build",
"docker:clean": "docker compose -f docker/compose.test.yml down -v --remove-orphans",
"pack:all": "npm pack --workspace packages/core && npm pack --workspace packages/cli && npm pack --workspace packages/mcp && npm pack --workspace packages/opencode && npm pack --workspace packages/codex && npm pack --workspace packages/cursor",
"clean:tarballs": "bun run scripts/clean-package-tarballs.ts",
"check": "biome check .",
"format": "biome format --write .",
"pack:drive": "./scripts/pack-to-drive.sh",
"build:cli": "bun --filter ./packages/cli build",
"build:mcp": "bun --filter ./packages/mcp build",
"build:opencode": "bun --filter ./packages/opencode build",
"build:codex": "bun --filter ./packages/codex build",
"build:cursor": "bun --filter ./packages/cursor build",
"dev:opencode": "bun --filter ./packages/opencode dev",
"dev:codex": "bun --filter ./packages/codex dev",
"dev:cursor": "bun --filter ./packages/cursor dev",
"sync:cursor-dogfood": "./scripts/sync-cursor-dogfood.sh",
"sync:cursor-plugin-local": "./scripts/sync-cursor-plugin-local.sh",
"build": "bun run build:cli && bun run build:mcp && bun run build:opencode && bun run build:codex && bun run build:cursor",
"typecheck:cli": "tsc -p packages/cli/tsconfig.json --noEmit",
"typecheck:mcp": "bun run build:cli && tsc -p packages/mcp/tsconfig.json --noEmit",
"typecheck:opencode": "tsc -p packages/opencode/tsconfig.json --noEmit",
"typecheck:codex": "tsc -p packages/codex/tsconfig.json --noEmit",
"typecheck:cursor": "tsc -p packages/cursor/tsconfig.json --noEmit",
"typecheck:cli:tests": "tsc -p packages/cli/tests/tsconfig.json --noEmit",
"typecheck:mcp:tests": "tsc -p packages/mcp/tests/tsconfig.json --noEmit",
"typecheck:e2e:packed": "tsc -p documentation/tests/e2e/packed/tsconfig.e2e.json --noEmit",
"typecheck:e2e:local": "tsc -p documentation/tests/e2e/tsconfig.local.json --noEmit",
"typecheck:vscode": "tsc -p packages/vscode/tsconfig.json --noEmit",
"typecheck:vscode:tests": "tsc -p packages/vscode/tests/tsconfig.json --noEmit",
"typecheck:opencode:tests": "tsc -p packages/opencode/tests/tsconfig.json --noEmit",
"typecheck:codex:tests": "tsc -p packages/codex/tests/tsconfig.json --noEmit",
"typecheck:cursor:tests": "tsc -p packages/cursor/tests/tsconfig.json --noEmit",
"typecheck:scripts": "tsc -p tsconfig.scripts.json --noEmit",
"typecheck": "bun run typecheck:cli && bun run typecheck:mcp && bun run typecheck:opencode && bun run typecheck:codex && bun run typecheck:cursor && bun run typecheck:cli:tests && bun run typecheck:mcp:tests && bun run typecheck:e2e:packed && bun run typecheck:e2e:local && bun run typecheck:vscode && bun run typecheck:vscode:tests && bun run typecheck:opencode:tests && bun run typecheck:codex:tests && bun run typecheck:cursor:tests && bun run typecheck:scripts",
"publish:selective": "./scripts/publish-selective.sh",
"release:npm": "bun run build && ./scripts/publish-selective.sh",
"release:bun": "bun run build && ./scripts/publish-selective.sh",
"changeset": "changeset",
"version-packages": "changeset version && bun run scripts/sync-plugin-manifest-versions.ts",
"release": "changeset publish"
},
"devDependencies": {
"kibi-mcp": "workspace:*",
"@biomejs/biome": "^1.9.0",
"@changesets/cli": "^2.27.12",
"@types/node": "^25.2.3",
"ajv-formats": "2.1.1",
"bun-types": "^1.2.0",
"mitata": "^1.0.34",
"typescript": "^5.7.0"
}
}