-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.09 KB
/
package.json
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
{
"name": "annotate-with-git-blame",
"displayName": "Mini Git Blame",
"description": "A VS Code extension that displays Git commit information for each line of code, with GitLens integration for navigating to the commit graph.",
"icon": "images/kabi.png",
"repository": {
"type": "git",
"url": "https://github.com/Hao-Warming/annotate-with-git-blame.git"
},
"publisher": "Warming",
"version": "1.0.2",
"license": "MIT",
"engines": {
"vscode": "^1.82.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "extension.annotateWithGitBlame",
"title": "Annotate with Git Blame",
"category": "Git"
},
{
"command": "extension.clearAnnotations",
"title": "Clear Annotate",
"category": "Git"
}
],
"menus": {
"editor/context": [
{
"command": "extension.annotateWithGitBlame",
"when": "isGitRepository && blameActive == false",
"group": "navigation"
},
{
"command": "extension.clearAnnotations",
"when": "isGitRepository && blameActive == true",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "tsc -watch -p ./",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.7",
"@types/node": "20.x",
"@types/vscode": "^1.82.0",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.11.0",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.4.0",
"eslint": "^8.57.0",
"ts-loader": "^9.5.1",
"typescript": "^5.5.4",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4"
}
}