-
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) · 1.98 KB
/
Copy pathpackage.json
File metadata and controls
67 lines (67 loc) · 1.98 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": "@devcxl/opencode-cabbage",
"version": "1.2.0",
"description": "OpenCode 全流程开发插件 — 需求→设计→任务→编码→测试→审查→自动合并,支持自动编排与并行 Subagent",
"repository": {
"type": "git",
"url": "git+https://github.com/devcxl/opencode-cabbage.git"
},
"homepage": "https://github.com/devcxl/opencode-cabbage",
"bugs": {
"url": "https://github.com/devcxl/opencode-cabbage/issues"
},
"keywords": [
"opencode",
"opencode-plugin"
],
"type": "module",
"engines": {
"node": ">=24"
},
"main": "./dist/index.js",
"oc-plugin": [
"server"
],
"exports": {
".": {
"import": "./dist/index.js"
},
"./server": {
"import": "./dist/index.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"assets",
"README.md"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"scripts": {
"build": "rm -rf dist && tsc -p tsconfig.json",
"prepublishOnly": "npm run build",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "vitest run",
"prompt-lint": "vitest run test/plugin/prompt-lint.test.ts",
"test:pack": "npm run build && pack_out=$(npm pack --dry-run 2>&1); echo \"$pack_out\" | grep -q 'dist/kernel/' || { echo 'FAIL: tarball 缺少 dist/kernel/'; exit 1; }; echo \"$pack_out\" | grep -q 'dist/flowrun/' && { echo 'FAIL: tarball 含过期 flowrun/ 残留'; exit 1; }; echo 'PASS: tarball 含 dist/kernel/,无 flowrun/ 残留'",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs"
},
"dependencies": {
"@opencode-ai/plugin": "^1.17.0",
"@opencode-ai/sdk": "^1.17.14",
"yaml": "^2.8.3"
},
"devDependencies": {
"@types/node": "^24.6.0",
"mermaid": "^11.16.0",
"typescript": "^5.9.3",
"vitepress": "^1.6.4",
"vitepress-plugin-mermaid": "^2.0.17",
"vitest": "^3.2.4"
}
}