-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
162 lines (161 loc) · 5.31 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
{
"name": "gitea-vscode",
"displayName": "Gitea-VSCode",
"description": "Gitea Issue Tracker for vs-code",
"publisher": "IJustDev",
"version": "2.1.0",
"engines": {
"vscode": "^1.70.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onView:giteaIssues.opened-issues",
"onCommand:giteaIssues.initRepo",
"onCommand:giteaIssues.refreshIssues"
],
"main": "./out/extension.js",
"icon": "resources/icon.png",
"contributes": {
"viewsWelcome": [
{
"view": "giteaIssues.opened-issues",
"contents": "Refresh to get Gitea opened issues .\n[Refresh](command:giteaIssues.refreshIssues)"
},
{
"view": "giteaIssues.closed-issues",
"contents": "Refresh to get Gitea closed issues .\n[Refresh](command:giteaIssues.refreshIssues)"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "giteaIssues",
"title": "Gitea-Issues",
"icon": "media/issue.svg"
}
]
},
"views": {
"giteaIssues": [
{
"id": "giteaIssues.opened-issues",
"name": "Open Issues"
},
{
"id": "giteaIssues.closed-issues",
"name": "Closed Issues"
}
]
},
"commands": [
{
"command": "giteaIssues.openIssue",
"title": "Show"
},
{
"command": "giteaIssues.refreshIssues",
"title": "Refresh",
"icon": {
"dark": "resources/dark/refresh.svg",
"light": "resources/light/refresh.svg"
}
}
],
"menus": {
"view/title": [
{
"command": "giteaIssues.refreshIssues",
"group": "navigation",
"when": "view == giteaIssues.opened-issues"
}
]
},
"configuration": {
"title": "Gitea",
"properties": {
"gitea.token": {
"scope": "resource",
"type": "string",
"default": "",
"description": "The token for the gitea server."
},
"gitea.instanceURL": {
"scope": "resource",
"type": "string",
"default": "",
"examples": [
"http://example.com:3000",
"https://gitea.com"
],
"description": "The remote gitea instance's url. Append base url to this string eg. http://localhost:8080 or http://localhost/gitea",
"pattern": "^(https|http)://"
},
"gitea.owner": {
"scope": "resource",
"type": "string",
"default": "",
"description": "The username for the repository."
},
"gitea.repo": {
"scope": "resource",
"type": "string",
"default": "",
"description": "The repository name."
},
"gitea.sslVerify": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "true=Stop when cannot verify SSL certificate, false=Continue any way. Like git config 'sslVerify'."
},
"gitea.render": {
"scope": "resource",
"type": "string",
"default": "markdown",
"enum": [
"markdown",
"html"
],
"enumDescriptions": [
"Render Issue in markdown format",
"Render Issue in html format"
],
"description": "Choose render to show issues in editor"
},
"gitea.debug": {
"scope": "window",
"type": "boolean",
"default": false,
"description": "Enable debug mode. Need to reload window to apply"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.70.0",
"@types/mocha": "^9.1.1",
"@types/node": "16.x",
"@types/markdown-it": "^12.2.3",
"eslint": "^8.20.0",
"typescript": "^4.7.4"
},
"dependencies": {
"axios": "^0.27.2",
"markdown-it": "^13.0.1"
},
"repository": {
"type": "github",
"url": "https://github.com/IJustdev/Gitea-VSCode.git"
},
"license": "MIT"
}