-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
272 lines (272 loc) · 8.49 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
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
{
"name": "galaxy-workflows",
"displayName": "Galaxy Workflows",
"description": "Utilities to assist in the edition of Galaxy (https://galaxyproject.org/) Workflow files.",
"version": "0.5.0",
"preview": true,
"license": "MIT",
"publisher": "davelopez",
"maintainers": [
{
"name": "Simon Bray",
"url": "https://github.com/simonbray"
},
{
"name": "Wolfgang Maier",
"url": "https://github.com/wm75"
},
{
"name": "David López",
"url": "https://github.com/davelopez"
}
],
"repository": {
"type": "git",
"url": "https://github.com/davelopez/galaxy-workflows-vscode"
},
"bugs": {
"url": "https://github.com/davelopez/galaxy-workflows-vscode/issues"
},
"icon": "assets/galaxy-logo-icon.png",
"engines": {
"vscode": "^1.81.0"
},
"categories": [
"Linters",
"Snippets",
"Formatters",
"Other"
],
"main": "./client/dist/extension",
"browser": "./client/dist/web/extension",
"contributes": {
"languages": [
{
"id": "galaxyworkflow",
"aliases": [
"Galaxy Workflow (JSON)"
],
"extensions": [
".ga"
],
"configuration": "./workflow-languages/configurations/json.language-configuration.json"
},
{
"id": "gxformat2",
"aliases": [
"Galaxy Workflow (YAML)"
],
"extensions": [
".gxwf.yml",
".gxwf.yaml"
],
"configuration": "./workflow-languages/configurations/yml.language-configuration.json"
},
{
"id": "gxwftests",
"aliases": [
"Galaxy Workflow Tests (YAML)"
],
"extensions": [
"-test.yml",
"-tests.yml",
"-test.yaml",
"-tests.yaml"
],
"configuration": "./workflow-languages/configurations/yml.language-configuration.json"
}
],
"grammars": [
{
"language": "galaxyworkflow",
"scopeName": "source.ga",
"path": "./workflow-languages/syntaxes/json.tmLanguage.json"
},
{
"language": "gxformat2",
"scopeName": "source.gxformat2",
"path": "./workflow-languages/syntaxes/yml.tmLanguage.json"
},
{
"language": "gxwftests",
"scopeName": "source.gxformat2",
"path": "./workflow-languages/syntaxes/yml.tmLanguage.json"
}
],
"configuration": [
{
"title": "Galaxy Workflows",
"properties": {
"galaxyWorkflows.cleaning.cleanableProperties": {
"markdownDescription": "These properties will be removed from the workflow document when *cleaning* (or *clean comparing*) workflows.",
"scope": "resource",
"type": "array",
"items": {
"type": "string"
},
"default": [
"position",
"uuid",
"errors",
"version"
]
},
"galaxyWorkflows.validation.profile": {
"markdownDescription": "The set of rules that will be used to validate workflow documents.",
"scope": "resource",
"type": "string",
"enum": [
"basic",
"iwc"
],
"markdownEnumDescriptions": [
"Basic validation based on the Galaxy workflow schema.",
"Stricter validation to comply with the `Intergalactic Workflow Commission` best practices."
],
"default": "basic"
}
}
}
],
"commands": [
{
"command": "galaxy-workflows.previewCleanWorkflow",
"title": "Preview clean workflow",
"enablement": "resourceLangId == galaxyworkflow",
"icon": "$(eye)",
"category": "Galaxy Workflows"
},
{
"command": "galaxy-workflows.cleanWorkflow",
"title": "Clean workflow",
"enablement": "resourceLangId == galaxyworkflow",
"icon": "$(edit)",
"category": "Galaxy Workflows"
},
{
"command": "galaxy-workflows.selectForCleanCompare",
"title": "Select workflow for (clean) compare",
"enablement": "resourceLangId == galaxyworkflow",
"icon": "$(diff)",
"category": "Galaxy Workflows"
},
{
"command": "galaxy-workflows.compareCleanWith",
"title": "Compare with this workflow (clean)",
"enablement": "resourceLangId == galaxyworkflow",
"icon": "$(diff)",
"category": "Galaxy Workflows"
}
],
"menus": {
"commandPalette": [
{
"command": "galaxy-workflows.previewCleanWorkflow",
"when": "activeEditor"
},
{
"command": "galaxy-workflows.cleanWorkflow",
"when": "activeEditor"
},
{
"command": "galaxy-workflows.selectForCleanCompare",
"when": "false"
},
{
"command": "galaxy-workflows.compareCleanWith",
"when": "false"
}
],
"timeline/item/context": [
{
"command": "galaxy-workflows.compareCleanWith",
"group": "3_compare@1",
"when": "false && config.git.enabled && !git.missing && galaxy-workflows.selectForCleanCompare"
},
{
"command": "galaxy-workflows.selectForCleanCompare",
"group": "3_compare@2",
"when": "false && config.git.enabled && !git.missing && timelineItem =~ /git:file\\b/ && galaxy-workflows.gitProviderInitialized"
}
],
"explorer/context": [
{
"command": "galaxy-workflows.compareCleanWith",
"group": "3_compare@1",
"when": "config.git.enabled && !git.missing && galaxy-workflows.selectForCleanCompare"
},
{
"command": "galaxy-workflows.selectForCleanCompare",
"group": "3_compare@2",
"when": "config.git.enabled && !git.missing && galaxy-workflows.gitProviderInitialized"
}
],
"editor/context": [
{
"command": "galaxy-workflows.previewCleanWorkflow",
"group": "galaxyworkflow@1",
"when": "resourceLangId == galaxyworkflow"
},
{
"command": "galaxy-workflows.cleanWorkflow",
"group": "galaxyworkflow@2",
"when": "resourceLangId == galaxyworkflow"
}
]
}
},
"scripts": {
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"lint": "eslint ./client/src ./server --ext .ts,.tsx",
"format": "prettier --write .",
"clean": "rimraf client/dist && rimraf client/out && cd server && npm run clean && cd ..",
"compile-servers": "cd server && npm run compile",
"compile": "npm run clean && webpack --config ./client/webpack.config.js && npm run compile-servers",
"vscode:prepublish": "npm run compile",
"watch": "concurrently --kill-others \"npm run watch-server\" \"npm run watch-client\"",
"watch-server": "cd server && npm run watch",
"watch-client": "cd client && npm run watch",
"test": "npm run test-client && npm run test-server",
"test-client": "cd client && npm test",
"test-server": "cd server && npm test",
"test-compile": "tsc --project ./client/tests/e2e --outDir client/out/tests/e2e",
"pretest:e2e": "npm run clean && npm run compile && npm run test-compile",
"test:e2e": "node ./client/out/tests/e2e/runTests.js",
"test-browser": "vscode-test-web --extensionDevelopmentPath=. ./test-data"
},
"devDependencies": {
"@types/jest": "^29.5.8",
"@types/mocha": "^10.0.1",
"@types/vscode": "^1.81.0",
"@types/webpack-env": "^1.18.1",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"@vscode/test-electron": "^2.3.4",
"@vscode/test-web": "^0.0.54",
"assert": "^2.0.0",
"concurrently": "^8.2.1",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.6.4",
"jest-transform-yaml": "^1.1.2",
"merge-options": "^3.0.4",
"mocha": "^10.2.0",
"path-browserify": "^1.0.1",
"prettier": "3.0.3",
"process": "^0.11.10",
"rimraf": "^5.0.1",
"ts-jest": "^29.1.1",
"ts-loader": "^9.4.4",
"typescript": "^5.2.2",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4",
"yaml-loader": "^0.8.0"
},
"__metadata": {
"id": "2306ad21-fa2c-46f9-bba8-a22e32c7cb9a",
"publisherDisplayName": "davelopez",
"publisherId": "b10132ef-3f96-4db4-acb0-d6a0ca1848c7",
"isPreReleaseVersion": false
}
}