This repository has been archived by the owner on Aug 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
163 lines (163 loc) · 4.17 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": "coding-hbuilderx",
"description": "CODING 代码仓库插件,支持查看代码仓库列表、创建代码仓库、查看合并请求列表、合并请求概览以及允许/合并/关闭等操作",
"displayName": "CODING 代码仓库插件",
"version": "1.0.0",
"publisher": "coding",
"engines": {
"HBuilderX": "^3.0.0"
},
"categories": [
"Other"
],
"main": "./out/extension",
"contributes": {
"customEditors": [
{
"viewType": "customEditor.mrDetail",
"displayName": "MR Detail",
"selector": [
{
"fileNamePattern": "hosts"
}
],
"priority": "default"
}
],
"commands": [
{
"command": "codingPlugin.mrTreeItemClick",
"title": "Click MR Tree Item"
},
{
"command": "codingPlugin.depotTreeItemClick",
"title": "Click Depot Tree Item"
},
{
"command": "codingPlugin.createDepot",
"title": "Create Depot"
},
{
"command": "codingPlugin.connect",
"title": "将代码托管到 CODING"
},
{
"command": "codingPlugin.gitPush",
"title": "提交代码到 CODING"
}
],
"menus": {
"view/item/context": [
{
"command": "codingPlugin.createDepot",
"when": "viewItem == 'createDepot'"
}
],
"explorer/context": [
{
"id": "CODING",
"title": "CODING",
"group": "z_commands",
"when": "explorerResourceIsWorkspaceFolder == 1"
},
{
"command": "codingPlugin.connect",
"title": "将代码托管到 CODING",
"group": "CODING@1"
},
{
"command": "codingPlugin.gitPush",
"title": "提交代码到 CODING",
"group": "CODING@2"
}
]
},
"viewsContainers": {
"rightside": [
{
"id": "WebviewContainerId",
"title": "CODING 代码仓库"
}
]
},
"views": {
"WebviewContainerId": [
{
"id": "codingPlugin.webview",
"title": "CODING 代码仓库"
}
]
},
"configuration": {
"type": "object",
"title": "CODING 代码仓库插件配置",
"properties": {
"codingPlugin.email": {
"type": "string",
"description": "CODING 用户邮箱"
},
"codingPlugin.token": {
"type": "string",
"description": "CODING 服务令牌,请勿擅自更改"
},
"codingPlugin.hbToken": {
"type": "string",
"description": "请勿修改"
},
"codingPlugin.team": {
"type": "string",
"description": "CODING 团队名称,请勿修改"
}
}
}
},
"extensionDependencies": [
"plugin-manager"
],
"scripts": {
"watch": "yarn && npm-run-all -p watch:*",
"watch:extension": "tsc --watch -p ./src",
"watch:webviews": "webpack --watch",
"build": "yarn && npm-run-all -p build:*",
"build:extension": "tsc -p ./src",
"build:webviews": "webpack",
"release": "yarn && node ./scripts/release.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{ts,tsx,json}": [
"prettier --write"
],
"webview/**/*.{ts,tsx}": [
"prettier --write"
]
},
"dependencies": {
"axios": "^0.21.0",
"classnames": "^2.2.6",
"isomorphic-git": "^1.8.0",
"querystring": "^0.2.0",
"shelljs": "^0.8.4"
},
"devDependencies": {
"@types/node": "^14.14.7",
"@types/shelljs": "^0.8.8",
"@typescript-eslint/eslint-plugin": "^4.7.0",
"@typescript-eslint/parser": "^4.7.0",
"css-loader": "^5.0.1",
"eslint": "^7.13.0",
"husky": "^4.3.0",
"lint-staged": "^10.5.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.2",
"style-loader": "^2.0.0",
"ts-loader": "^8.0.11",
"typescript": "^4.0.5",
"webpack": "^5.4.0",
"webpack-cli": "^4.2.0"
}
}