forked from mhutchie/vscode-git-graph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
212 lines (212 loc) · 6.76 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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
{
"name": "git-graph",
"displayName": "Git Graph",
"version": "1.5.0",
"publisher": "mhutchie",
"author": {
"name": "Michael Hutchison",
"email": "[email protected]"
},
"description": "View a Git Graph of your repository, and perform Git actions from the graph.",
"keywords": [
"git",
"graph",
"visualise",
"diff",
"action"
],
"categories": [
"Other"
],
"homepage": "https://github.com/mhutchie/vscode-git-graph",
"repository": {
"type": "git",
"url": "https://github.com/mhutchie/vscode-git-graph.git"
},
"bugs": {
"url": "https://github.com/mhutchie/vscode-git-graph/issues"
},
"qna": "https://gitter.im/mhutchie/vscode-git-graph",
"license": "SEE LICENSE IN 'LICENSE'",
"icon": "resources/icon.png",
"engines": {
"vscode": "^1.31.0"
},
"activationEvents": [
"*"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"category": "Git Graph",
"command": "git-graph.view",
"title": "View Git Graph (git log)"
},
{
"category": "Git Graph",
"command": "git-graph.clearAvatarCache",
"title": "Clear Avatar Cache"
}
],
"configuration": {
"type": "object",
"title": "Git Graph",
"properties": {
"git-graph.autoCenterCommitDetailsView": {
"type": "boolean",
"default": true,
"description": "Automatically center the commit details view when it is opened."
},
"git-graph.commitDetailsViewLocation": {
"type": "string",
"enum": [
"Inline",
"Docked to Bottom"
],
"enumDescriptions": [
"Show the Commit Details View inline with the graph",
"Show the Commit Details View docked to the bottom of the Git Graph view"
],
"default": "Inline",
"description": "Specifies where the Commit Details View is rendered in the Git Graph view."
},
"git-graph.dateFormat": {
"type": "string",
"enum": [
"Date & Time",
"Date Only",
"Relative"
],
"enumDescriptions": [
"Show the date and time, for example \"19 Mar 2019 21:34\"",
"Show the date only, for example \"19 Mar 2019\"",
"Show relative times, for example \"5 minutes ago\""
],
"default": "Date & Time",
"description": "Specifies the date format to be used in the date column of Git Graph."
},
"git-graph.dateType": {
"type": "string",
"enum": [
"Author Date",
"Commit Date"
],
"enumDescriptions": [
"Use the author date of a commit",
"Use the committer date of a commit"
],
"default": "Author Date",
"description": "Specifies the date type to be displayed throughout Git Graph."
},
"git-graph.fetchAvatars": {
"type": "boolean",
"default": false,
"description": "Fetch avatars of commit authors and committers. By enabling this setting, you consent to commit author and committer email addresses being sent GitHub, GitLab or Gravatar, depending on the repositories remote origin."
},
"git-graph.graphColours": {
"type": "array",
"items": {
"type": "string",
"description": "Colour (HEX or RGB)",
"pattern": "^\\s*(#[0-9a-fA-F]{6}|#[0-9a-fA-F]{8}|rgb[a]?\\s*\\(\\d{1,3},\\s*\\d{1,3},\\s*\\d{1,3}\\))\\s*$"
},
"default": [
"#0085d9",
"#d9008f",
"#00d90a",
"#d98500",
"#a300d9",
"#ff0000",
"#00d9cc",
"#e138e8",
"#85d900",
"#dc5b23",
"#6f24d6",
"#ffcc00"
],
"description": "Specifies the colours used on the graph."
},
"git-graph.graphStyle": {
"type": "string",
"enum": [
"rounded",
"angular"
],
"enumDescriptions": [
"Use smooth curves when transitioning between branches on the graph",
"Use angular lines when transitioning between branches on the graph"
],
"default": "rounded",
"description": "Specifies the style of the graph."
},
"git-graph.initialLoadCommits": {
"type": "number",
"default": 300,
"description": "Specifies the number of commits to initially load."
},
"git-graph.loadMoreCommits": {
"type": "number",
"default": 100,
"description": "Specifies the number of commits to load when the \"Load More Commits\" button is pressed (only shown when more commits are available)."
},
"git-graph.maxDepthOfRepoSearch": {
"type": "number",
"default": 0,
"description": "Specifies the maximum depth of subfolders to search when discovering repositories in the workspace."
},
"git-graph.retainContextWhenHidden": {
"type": "boolean",
"default": false,
"description": "Specifies if the Git Graph view Visual Studio Code context is kept when the panel is no longer visible (e.g. moved to background tab). Enabling this setting will make Git Graph load significantly faster when switching back to the Git Graph tab, however has a higher memory overhead."
},
"git-graph.showCurrentBranchByDefault": {
"type": "boolean",
"default": false,
"description": "Show the current branch by default when Git Graph is opened. Default: false (show all branches)"
},
"git-graph.showStatusBarItem": {
"type": "boolean",
"default": true,
"description": "Show a Status Bar item which opens Git Graph when clicked."
},
"git-graph.showUncommittedChanges": {
"type": "boolean",
"default": true,
"description": "Show uncommitted changes (set to false to decrease load time on large repositories)."
},
"git-graph.tabIconColourTheme": {
"type": "string",
"enum": [
"colour",
"grey"
],
"enumDescriptions": [
"Show a colour icon which suits most Visual Studio Code colour themes",
"Show a grey icon which suits Visual Studio Code colour themes that are predominantly grayscale"
],
"default": "colour",
"description": "Specifies the colour theme of the icon displayed on the Git Graph tab."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"clean": "node ./.vscode/clean.js",
"compile": "npm run clean && npm run compile-src && npm run compile-web",
"compile-src": "tsc -p ./src",
"compile-web": "tsc -p ./web && node ./.vscode/package-web.js",
"compile-web-debug": "tsc -p ./web && node ./.vscode/package-web.js debug",
"package": "npm run clean && vsce package",
"package-and-install": "npm run clean && vsce package && node ./.vscode/install-package.js",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
"@types/node": "^8.10.25",
"tslint": "^5.12.1",
"typescript": "^3.3.1",
"uglify-js": "^3.4.9",
"vscode": "^1.1.28"
}
}