-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
155 lines (155 loc) · 4.27 KB
/
package.json
File metadata and controls
155 lines (155 loc) · 4.27 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
{
"name": "git-diff",
"displayName": "Git Diff",
"description": "AI-powered git diff analysis using Claude",
"icon": "images/icon.ico",
"version": "1.0.2",
"publisher": "hs7",
"license": "MIT",
"engines": {
"vscode": "^1.98.0"
},
"categories": [
"Other",
"Linters",
"Programming Languages"
],
"keywords": [
"claude",
"ai",
"git",
"diff",
"code review",
"analysis"
],
"repository": {
"type": "git",
"url": "https://github.com/himanshu-zetta/git-diff"
},
"bugs": {
"url": "https://github.com/himanshu-zetta/git-diff/issues"
},
"homepage": "https://github.com/himanshu-zetta/git-diff#readme",
"main": "./out/extension.js",
"activationEvents": [],
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "git-diff-analyzer",
"title": "Git Diff",
"icon": "images/icon.ico"
}
]
},
"views": {
"git-diff-analyzer": [
{
"id": "gitDiff.mainView",
"name": "analyse your code changes using claude",
"contextualTitle": "Git Diff",
"icon": "$(file-code)"
}
]
},
"commands": [
{
"command": "gitDiff.analyze",
"title": "Analyze All Changes"
},
{
"command": "gitDiff.analyzeStaged",
"title": "Analyze Staged Changes"
},
{
"command": "gitDiff.analyzeFile",
"title": "Analyze This File"
},
{
"command": "gitDiff.refresh",
"title": "Refresh"
},
{
"command": "gitDiff.showLastAnalysis",
"title": "Show Last Analysis"
}
],
"menus": {
"scm/title": [
{
"command": "gitDiff.analyze",
"group": "navigation",
"when": "scmProvider == git"
}
],
"scm/resourceState/context": [
{
"command": "gitDiff.analyzeFile",
"when": "scmProvider == git"
}
]
},
"configuration": {
"title": "Git Diff Analyzer using Claude code",
"properties": {
"gitDiff.autoAnalyze": {
"type": "boolean",
"default": false,
"description": "Automatically analyze changes when opening repository"
},
"gitDiff.includeUntrackedFiles": {
"type": "boolean",
"default": false,
"description": "Include untracked files in analysis"
},
"gitDiff.customPrompt": {
"type": "string",
"default": "",
"description": "Custom prompt for Claude analysis. Leave empty to use the default prompt.",
"editPresentation": "multilineText"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run webpack",
"webpack": "webpack --mode production",
"webpack-dev": "webpack --mode development --watch",
"compile": "tsc -p ./",
"watch": "npm run webpack-dev",
"lint": "eslint src --ext ts",
"lint:fix": "eslint src --ext ts --fix",
"format": "prettier --write src/**/*.ts",
"format:check": "prettier --check src/**/*.ts",
"pretest": "npm run compile && npm run lint",
"test": "node ./test/runTest.js",
"test:unit": "mocha 'test/**/*.test.ts' --require ts-node/register --require ./test/setup.ts --exclude test/runTest.ts --exclude test/suite/** --exclude test/setup.ts",
"test:watch": "mocha 'test/**/*.test.ts' --require ts-node/register --require ./test/setup.ts --watch --exclude test/runTest.ts --exclude test/suite/** --exclude test/setup.ts"
},
"devDependencies": {
"@types/chai": "^4.3.5",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "^16.18.126",
"@types/sinon": "^10.0.15",
"@types/vscode": "^1.98.0",
"@types/webpack": "^5.28.5",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"@vscode/test-electron": "^2.3.2",
"chai": "^4.3.7",
"copy-webpack-plugin": "^13.0.0",
"eslint": "^8.28.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.3",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"prettier": "^3.6.2",
"sinon": "^15.2.0",
"ts-loader": "^9.5.2",
"ts-node": "^10.9.1",
"typescript": "^4.9.5",
"webpack": "^5.100.2",
"webpack-cli": "^6.0.1"
}
}