forked from codefori/git-client-ibmi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
198 lines (196 loc) · 4.83 KB
/
Copy pathpackage.json
File metadata and controls
198 lines (196 loc) · 4.83 KB
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
{
"name": "git-client-ibmi",
"displayName": "Git Client for IBM i",
"description": "A git client that works on a remote IBM i",
"version": "0.0.4",
"repository": {
"url": "https://github.com/halcyon-tech/git-client-ibmi"
},
"engines": {
"vscode": "^1.54.0"
},
"keywords": [
"git",
"ibmi",
"iseries",
"as400"
],
"author": {
"name": "Halcyon Tech Ltd",
"url": "https://github.com/halcyon-tech"
},
"publisher": "halcyontechltd",
"extensionDependencies": [
"halcyontechltd.code-for-ibmi"
],
"categories": [
"Other"
],
"activationEvents": [
"onCommand:git-client-ibmi.createGitLibs",
"onView:git-client-ibmi.status",
"onCommand:git-client-ibmi.status.refresh",
"onCommand:git-client-ibmi.status.add",
"onCommand:git-client-ibmi.status.remove",
"onCommand:git-client-ibmi.status.restore",
"onCommand:git-client-ibmi.status.commit",
"onCommand:git-client-ibmi.status.pull",
"onCommand:git-client-ibmi.status.push",
"onView:git-client-ibmi.commits",
"onCommand:git-client-ibmi.commits.refresh",
"onView:git-client-ibmi.fileHistory",
"onCommand:git-client-ibmi.viewCommitFile",
"onCommand:git-client-ibmi.viewCommitFileDiff"
],
"main": "./extension",
"contributes": {
"commands": [
{
"command": "git-client-ibmi.createGitLibs",
"title": "Configure new git library",
"category": "Git on IBM i"
},
{
"command": "git-client-ibmi.status.refresh",
"title": "Refresh status view",
"category": "Git on IBM i",
"icon": "$(refresh)"
},
{
"command": "git-client-ibmi.status.add",
"title": "Stage file",
"category": "Git on IBM i"
},
{
"command": "git-client-ibmi.status.remove",
"title": "Unstage file",
"category": "Git on IBM i"
},
{
"command": "git-client-ibmi.status.restore",
"title": "Restore file",
"category": "Git on IBM i"
},
{
"command": "git-client-ibmi.status.commit",
"title": "Commit staged",
"category": "Git on IBM i",
"icon": "$(git-commit)"
},
{
"command": "git-client-ibmi.status.pull",
"title": "Pull from remote",
"category": "Git on IBM i",
"icon": "$(repo-pull)"
},
{
"command": "git-client-ibmi.status.push",
"title": "Push to remote",
"category": "Git on IBM i",
"icon": "$(repo-push)"
},
{
"command": "git-client-ibmi.commits.refresh",
"title": "Refresh commits view",
"category": "Git on IBM i",
"icon": "$(refresh)"
},
{
"command": "git-client-ibmi.viewCommitFile",
"title": "View file at commit",
"category": "Git on IBM i"
},
{
"command": "git-client-ibmi.viewCommitFileDiff",
"title": "View diff",
"category": "Git on IBM i"
}
],
"viewsWelcome": [{
"view": "git-client-ibmi.commits",
"contents": "No connection found. Please connect to an IBM i.",
"when": "code-for-ibmi:connected !== true"
}],
"views": {
"scm": [{
"id": "git-client-ibmi.status",
"name": "Status",
"contextualTitle": "IBM i"
},
{
"id": "git-client-ibmi.commits",
"name": "Commits",
"contextualTitle": "IBM i"
},
{
"id": "git-client-ibmi.fileHistory",
"name": "File History",
"contextualTitle": "IBM i"
}
]
},
"menus": {
"view/title": [
{
"command": "git-client-ibmi.status.commit",
"group": "navigation",
"when": "view == git-client-ibmi.status"
},
{
"command": "git-client-ibmi.status.pull",
"group": "navigation",
"when": "view == git-client-ibmi.status"
},
{
"command": "git-client-ibmi.status.push",
"group": "navigation",
"when": "view == git-client-ibmi.status"
},
{
"command": "git-client-ibmi.status.refresh",
"group": "navigation",
"when": "view == git-client-ibmi.status"
},
{
"command": "git-client-ibmi.commits.refresh",
"group": "navigation",
"when": "view == git-client-ibmi.commits"
}
],
"view/item/context": [
{
"command": "git-client-ibmi.status.remove",
"when": "view == git-client-ibmi.status && viewItem == staged"
},
{
"command": "git-client-ibmi.status.add",
"when": "view == git-client-ibmi.status && viewItem == unstaged"
},
{
"command": "git-client-ibmi.status.restore",
"when": "view == git-client-ibmi.status && viewItem == unstaged"
},
{
"command": "git-client-ibmi.viewCommitFile",
"when": "view == git-client-ibmi.commits && viewItem == commitFile"
}
]
}
},
"scripts": {
"pretest": "npm run lint",
"lint": "eslint src"
},
"devDependencies": {
"@types/vscode": "^1.54.0",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"eslint": "^7.19.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"glob": "^7.1.6",
"mocha": "^8.2.1",
"vscode-test": "^1.5.0"
}
}