-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
163 lines (163 loc) · 5.23 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
{
"name": "gitlab-merge-request-upvotes",
"displayName": "Gitlab Merge Request Upvotes",
"description": "Follow the upvotes on your Gitlab Merge Request using a VS Code Tree View in the Explorer",
"homepage": "https://github.com/yoannfleurydev/vscode-gitlab-merge-request-upvotes/blob/master/README.md",
"icon": "images/gitlab-merge-request-upvotes.png",
"license": "MIT",
"galleryBanner": {
"color": "#081D22",
"theme": "dark"
},
"bugs": {
"url": "https://github.com/yoannfleurydev/vscode-gitlab-merge-request-upvotes/issues"
},
"version": "0.3.1",
"publisher": "yoannfleurydev",
"repository": {
"type": "git",
"url": "https://github.com/yoannfleurydev/vscode-gitlab-merge-request-upvotes.git"
},
"engines": {
"vscode": "^1.37.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:gitlabMergeRequestUpvotes.addInstance",
"onCommand:gitlabMergeRequestUpvotes.removeInstance",
"onView:instancesTreeView"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "gitlabMergeRequestUpvotes.refreshTreeView",
"title": "Refresh",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
},
"category": "GitLab MR Upvotes"
},
{
"command": "gitlabMergeRequestUpvotes.addInstance",
"title": "Add instance",
"icon": {
"light": "resources/light/add.svg",
"dark": "resources/dark/add.svg"
},
"category": "GitLab MR Upvotes"
},
{
"command": "gitlabMergeRequestUpvotes.removeInstance",
"icon": {
"light": "resources/light/remove.svg",
"dark": "resources/dark/remove.svg"
},
"title": "Remove Instance",
"category": "GitLab MR Upvotes"
}
],
"views": {
"explorer": [
{
"id": "instancesTreeView",
"name": "GitLab MR Upvotes"
}
]
},
"menus": {
"view/title": [
{
"command": "gitlabMergeRequestUpvotes.addInstance",
"when": "view == instancesTreeView",
"group": "navigation"
},
{
"command": "gitlabMergeRequestUpvotes.refreshTreeView",
"when": "view == instancesTreeView",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "gitlabMergeRequestUpvotes.removeInstance",
"when": "view == instancesTreeView && viewItem == instance",
"group": "inline"
}
]
},
"configuration": {
"title": "GitLab Merge Request Upvotes",
"properties": {
"gitlabMergeRequestUpvotes.refreshInterval": {
"type": "number",
"default": 30,
"description": "The number of seconds before the next tree view refresh",
"deprecationMessage": "For conventional purpose, use gitlab-merge-request-upvotes.refresh.interval configuration instead"
},
"gitlabMergeRequestUpvotes.enableRefresh": {
"type": "boolean",
"default": true,
"description": "Enable (true) or disable (false) the automatic refresh behavior",
"deprecationMessage": "For conventional purpose, use gitlab-merge-request-upvotes.refresh.enable configuration instead"
},
"gitlab-merge-request-upvotes.refresh.enable": {
"type": "boolean",
"default": true,
"description": "Enable (true) or disable (false) the automatic refresh behavior.",
"markdownDescription": "Enable `true` or disable `false` the automatic refresh behavior."
},
"gitlab-merge-request-upvotes.refresh.interval": {
"type": "number",
"default": 30,
"description": "The number of seconds before the next tree view refresh",
"markdownDescription": "The number of seconds before the next tree view refresh. Only works when #gitlab-merge-request-upvotes.refresh.enable# is set to `true`."
},
"gitlab-merge-request-upvotes.upvotes.type": {
"type": "string",
"default": "upvotes",
"description": "Select the upvotes system to use.",
"enum": [
"upvotes",
"approvals"
],
"enumDescriptions": [
"Use thumbs up emojis upvotes",
"Use MR approval rules (only available in Starter and Bronze)"
]
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"lint": "eslint ./src --ext .js,.ts",
"lint-fix": "eslint ./src --ext .js,.ts --fix",
"watch": "tsc -watch -p ./",
"package": "vsce package",
"pretest": "yarn run compile",
"start": "yarn run watch",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^12.8.1",
"@types/vscode": "^1.37.0",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"eslint": "^7.0.0",
"glob": "^7.1.6",
"mocha": "^7.1.2",
"typescript": "^3.3.1",
"vsce": "^1.75.0",
"vscode-test": "^1.3.0"
},
"dependencies": {
"axios": "^0.21.1"
}
}