-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
165 lines (165 loc) · 5.21 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
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
{
"name": "git-blame-w77",
"displayName": "Git Blame W77",
"description": "It is an extension for VS code, which can show git blame in editor and can run git gui blame.",
"publisher": "W77",
"version": "2.5.7",
"engines": {
"vscode": "^1.75.0"
},
"repository": {
"url": "https://github.com/wojtek77/git-blame-w77"
},
"bugs": {
"url": "https://github.com/wojtek77/git-blame-w77/issues"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"icon": "git.png",
"contributes": {
"configuration": {
"title": "gitBlameW77",
"properties": {
"gitBlameW77.colors": {
"type": [
"object",
"array"
],
"properties": {
"dark": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[a-fA-F0-9]{3,8}$"
},
"default": [
"#999",
"#666"
]
},
"light": {
"type": "array",
"items": {
"type": "string",
"pattern": "^#[a-fA-F0-9]{3,8}$"
},
"default": [
"#444",
"#111"
]
}
},
"default": {
"dark": [
"#999",
"#666"
],
"light": [
"#444",
"#111"
]
},
"items": {
"type": "string",
"pattern": "^#[a-fA-F0-9]{3,8}$"
},
"description": "Specifies colors for the blame decoration. If use empty array then is setup color 'editor.foreground' from theme."
},
"gitBlameW77.colorsUsedAsBackground": {
"type": ["boolean"],
"default": false,
"description": "Specifies whether colors are used as background of decoration. Default colors are used as text of decoration."
},
"gitBlameW77.gitBlameUrl": {
"type": ["string", "null"],
"default": null,
"description": "Specifies git blame URL e.g 'https://github.com/wojtek77/git-blame-w77/commit/${hash}'. When it is NULL (default) it tries to automatically find the URL. When there is an empty string it disables this functionality. This functionality degrades performance when rendering decorations."
},
"gitBlameW77.dateLocale": {
"type": ["string"],
"default": "",
"description": "Specifies locale for date e.g 'en-US'. More locales here https://www.w3schools.com/jsref/jsref_tolocalestring.asp or https://stackoverflow.com/questions/27939773/tolocaledatestring-short-format. When there is an empty string (default) then it take locale from system."
},
"gitBlameW77.decorationShowHash": {
"type": ["boolean"],
"default": true,
"description": "Specifies whether to show commit hash or not in decoration."
},
"gitBlameW77.showInContextMenu": {
"type": ["boolean"],
"default": true,
"description": "Specifies whether to show in the context menu 'Git Blame Toggle'."
},
"gitBlameW77.hoverEnabled": {
"type": ["boolean"],
"default": true,
"description": "Determines whether hover show in extension. If FALSE it speeds up decoration rendering a lot."
},
"gitBlameW77.showLinkToGitGuiBlame": {
"type": ["boolean"],
"default": true,
"description": "Specifies whether to show link to Git Gui Blame in hover of the decoration or the status bar. This functionality degrades performance when rendering the decoration."
}
}
},
"commands": [
{
"command": "gitBlameW77.toggleBlameDecoration",
"title": "Git Blame Toggle"
},
{
"command": "gitBlameW77.runGitGuiBlameForFile",
"title": "Run Git Gui Blame"
},
{
"command": "gitBlameW77.runGitGuiBlameForHash",
"title": "Run Git Gui Blame For Line"
}
],
"keybindings": [
{
"command": "gitBlameW77.toggleBlameDecoration",
"key": "alt+b"
},
{
"command": "gitBlameW77.runGitGuiBlameForFile",
"key": "ctrl+shift+b"
},
{
"command": "gitBlameW77.runGitGuiBlameForHash",
"key": "ctrl+alt+b"
}
],
"menus": {
"editor/context": [
{
"command": "gitBlameW77.toggleBlameDecoration",
"group": "gitBlameW77",
"when": "editorTextFocus && config.gitBlameW77.showInContextMenu"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.75.0",
"@types/mocha": "^10.0.7",
"@types/node": "20.x",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"eslint": "^9.9.1",
"typescript": "^5.5.4",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1"
}
}