-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 3.9 KB
/
Copy pathpackage.json
File metadata and controls
68 lines (68 loc) · 3.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
{
"name": "openkb",
"private": true,
"version": "0.3.3",
"description": "Markdown-first, Yuque-style, self-hostable knowledge base scaffold.",
"packageManager": "pnpm@9.12.3",
"scripts": {
"auth:test": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/auth-test.ps1",
"build": "turbo run build",
"content:test": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/content-test.ps1",
"db:generate": "pnpm --filter @openkb/db db:generate",
"db:migrate": "pnpm --filter @openkb/db db:migrate",
"db:seed:first-admin": "pnpm --filter @openkb/db db:seed:first-admin",
"db:test": "pnpm --filter @openkb/db db:test",
"db:test:down": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/db-test-down.ps1",
"db:test:up": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/db-test-up.ps1",
"dev": "turbo run dev --parallel",
"dev:local:api": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/dev-api-local.ps1",
"dev:local:import-worker": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/dev-import-worker-local.ps1",
"dev:local:index-worker": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/dev-index-worker-local.ps1",
"dev:local:web": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/dev-web-local.ps1",
"dev:seed": "pnpm --filter @openkb/db dev:seed",
"dify:key:create": "pnpm --filter @openkb/dify-adapter dify:key:create",
"dify:test": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/dify-test.ps1",
"docs:check": "node -e \"require('node:fs').accessSync('docs/18-decision-overrides-v0.3.zh-CN.md'); require('node:fs').accessSync('docs/22-v0.3.3-clarifications.zh-CN.md'); console.log('OpenKB docs are present.')\"",
"format:check": "prettier --check .",
"import:test": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/import-test.ps1",
"import:worker": "pnpm --filter @openkb/import-worker import:watch",
"import:worker:once": "pnpm --filter @openkb/import-worker import:once",
"index:test": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/index-test.ps1",
"index:worker": "pnpm --filter @openkb/index-worker index:worker",
"index:worker:once": "pnpm --filter @openkb/index-worker index:worker:once",
"index:rebuild:once": "pnpm --filter @openkb/index-worker index:rebuild:once",
"lint": "turbo run lint",
"milvus:test:down": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/milvus-test-down.ps1",
"milvus:test:up": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/milvus-test-up.ps1",
"mcp:pat:create": "pnpm --filter @openkb/mcp-server mcp:pat:create",
"mcp:test": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/mcp-test.ps1",
"object-storage:test:down": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/object-storage-test-down.ps1",
"object-storage:test:up": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/object-storage-test-up.ps1",
"permissions:test": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/permissions-test.ps1",
"retrieval:test": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/retrieval-test.ps1",
"security:test": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/security-test.ps1",
"ops:test": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/ops-test.ps1",
"test": "vitest run",
"typecheck": "turbo run typecheck"
},
"devDependencies": {
"@types/node": "^20.17.10",
"prettier": "^3.4.2",
"tsx": "^4.19.2",
"turbo": "^2.3.3",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},
"pnpm": {
"overrides": {
"fastify": "5.8.5",
"fast-uri": "3.1.2",
"fast-xml-builder": "1.2.0",
"hono": "4.12.18",
"ip-address": "10.1.1",
"thrift": "0.23.0",
"thrift>uuid": "11.1.1",
"postcss": "8.5.12"
}
}
}