-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.3 KB
/
Copy pathpackage.json
File metadata and controls
78 lines (78 loc) · 2.3 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
69
70
71
72
73
74
75
76
77
78
{
"$schema": "https://json.schemastore.org/package.json",
"name": "opencode-cpp-refactory",
"version": "3.0.0",
"type": "module",
"description": "C++ 重型项目重构辅助工具 — OpenCode 插件 + CLI + MCP AST 分析",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"cpp-refactory": "dist/bin/cpp-refactory.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"scripts": {
"clean": "rm -rf dist",
"build": "npm run clean && tsup && tsc --emitDeclarationOnly",
"typecheck": "tsc --noEmit",
"test": "node --import tsx --test 'tests/**/*.test.ts' 'tests/*.test.ts'",
"coverage": "c8 --reporter=text --reporter=text-summary node --import tsx --test 'tests/**/*.test.ts' 'tests/*.test.ts'",
"coverage:check": "bash scripts/hooks/pre-commit",
"hooks:install": "cp scripts/hooks/pre-commit \"$(git rev-parse --git-dir)/hooks/pre-commit\" && chmod +x \"$(git rev-parse --git-dir)/hooks/pre-commit\" && echo '✓ pre-commit hook installed'",
"prepublishOnly": "npm run build"
},
"keywords": [
"opencode",
"opencode-plugin",
"plugin",
"cpp",
"c++",
"refactoring",
"legacy-code",
"mcp",
"clang",
"static-analysis"
],
"repository": {
"type": "git",
"url": "git+https://github.com/LeXwDeX/Cpp_Refactory.git"
},
"bugs": {
"url": "https://github.com/LeXwDeX/Cpp_Refactory/issues"
},
"homepage": "https://github.com/LeXwDeX/Cpp_Refactory#readme",
"author": "LeXwDeX",
"license": "AGPL-3.0-or-later",
"peerDependencies": {
"@opencode-ai/plugin": ">=1.4.3"
},
"dependencies": {
"@opencode-ai/sdk": "^1.4.3"
},
"devDependencies": {
"@opencode-ai/plugin": "^1.4.3",
"@types/node": "^22.13.17",
"tsup": "^8.5.1",
"tsx": "^4.19.0",
"typescript": "^5.8.2"
},
"files": [
"dist/",
"bin/",
"scripts/",
"resources/",
"README.md",
"README_ZH-CN.md",
"LICENSE"
],
"engines": {
"node": ">=18.0.0"
},
"publishConfig": {
"access": "public"
}
}