Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
178 lines (178 loc) · 4.74 KB
/
Copy pathpackage.json
File metadata and controls
178 lines (178 loc) · 4.74 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
"name": "proofcode",
"displayName": "ProofCode - Code Change Verification",
"description": "AI writes code. ProofCode proves the change. Verify impact, detect risks with evidence, and check project rules before shipping.",
"version": "1.0.0",
"publisher": "waleedcodes",
"icon": "resources/icon.png",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/waleedcodes/proofcode.git"
},
"bugs": {
"url": "https://github.com/waleedcodes/proofcode/issues"
},
"homepage": "https://github.com/waleedcodes/proofcode#readme",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Programming Languages",
"Testing",
"Linters",
"Other"
],
"keywords": [
"verification",
"impact-analysis",
"ai-code",
"code-review",
"security",
"git-diff"
],
"main": "./dist/extension.js",
"bin": {
"proofcode": "./dist/cli.js"
},
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "proofcode-explorer",
"title": "ProofCode",
"icon": "resources/icon.svg"
}
]
},
"views": {
"proofcode-explorer": [
{
"id": "proofcode.views.overview",
"name": "Verification Overview",
"type": "tree"
}
]
},
"commands": [
{
"command": "proofcode.verifyChange",
"title": "Verify Current Changes",
"category": "ProofCode",
"icon": "$(shield)"
},
{
"command": "proofcode.verifyWithLiveTests",
"title": "Verify Changes with Live Unit Tests",
"category": "ProofCode",
"icon": "$(beaker)"
},
{
"command": "proofcode.openDashboard",
"title": "Open Verification Dashboard",
"category": "ProofCode",
"icon": "$(dashboard)"
},
{
"command": "proofcode.initRules",
"title": "Initialize .proofcode/rules.md",
"category": "ProofCode",
"icon": "$(file-code)"
},
{
"command": "proofcode.openEvidence",
"title": "Open Evidence Location",
"category": "ProofCode"
},
{
"command": "proofcode.exportReport",
"title": "Export Verification Report",
"category": "ProofCode",
"icon": "$(desktop-download)"
}
],
"menus": {
"view/title": [
{
"command": "proofcode.verifyChange",
"when": "view == proofcode.views.overview",
"group": "navigation@1"
},
{
"command": "proofcode.openDashboard",
"when": "view == proofcode.views.overview",
"group": "navigation@2"
}
],
"commandPalette": [
{
"command": "proofcode.verifyChange"
},
{
"command": "proofcode.openDashboard"
},
{
"command": "proofcode.initRules"
},
{
"command": "proofcode.exportReport"
}
]
},
"configuration": {
"title": "ProofCode",
"properties": {
"proofcode.autoVerifyOnSave": {
"type": "boolean",
"default": true,
"description": "Automatically update impact and risk analysis when files are saved."
},
"proofcode.runTestsOnVerify": {
"type": "boolean",
"default": false,
"description": "Automatically run project tests when verifying changes."
},
"proofcode.rulesFilePath": {
"type": "string",
"default": ".proofcode/rules.md",
"description": "Path to the project rules markdown file."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run build",
"compile": "tsc -p ./ --noEmit",
"build": "node esbuild.config.js --production",
"build:dev": "node esbuild.config.js",
"watch": "node esbuild.config.js --watch",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint src --ext .ts",
"lint:fix": "eslint src --ext .ts --fix",
"typecheck": "tsc --noEmit",
"cli": "node dist/cli.js",
"demo": "tsx scripts/run-demo.ts",
"package": "npx @vscode/vsce package --no-dependencies",
"publish:vsce": "npx @vscode/vsce publish --no-dependencies -p",
"publish:ovsx": "npx ovsx publish --no-dependencies -p"
},
"dependencies": {
"typescript": "~5.5.4"
},
"devDependencies": {
"@types/node": "^20.14.12",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitest/coverage-v8": "^2.1.9",
"esbuild": "^0.23.1",
"eslint": "^8.57.0",
"tsx": "^4.23.15",
"vitest": "^2.0.5"
}
}