-
Notifications
You must be signed in to change notification settings - Fork 235
Expand file tree
/
Copy pathpackage.json
More file actions
255 lines (255 loc) · 9.06 KB
/
package.json
File metadata and controls
255 lines (255 loc) · 9.06 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
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
{
"private": true,
"name": "kie-editors-dev-vscode-extension",
"version": "0.0.0",
"description": "",
"license": "Apache-2.0",
"publisher": "kie-group",
"homepage": "https://github.com/apache/incubator-kie-tools",
"repository": {
"type": "git",
"url": "https://github.com/apache/incubator-kie-tools.git"
},
"bugs": {
"url": "https://github.com/apache/incubator-kie-tools/issues"
},
"browser": "./dist/extension/extensionWeb.js",
"main": "dist/extension/extension.js",
"scripts": {
"build:dev": "rimraf dist && webpack --env dev",
"build:prod": "rimraf dist && pnpm lint && webpack && pnpm package:prod",
"compile": "pnpm build:dev",
"lint": "run-script-if --bool \"$(build-env linters.run)\" --then \"kie-tools--eslint ./src\"",
"package:prod": "vsce package --no-dependencies -o ./dist/kie_editors_dev_vscode_extension_$npm_package_version.vsix",
"run:webmode": "pnpm exec vscode-test-web --browserType=chromium --extensionDevelopmentPath=. --version=stable",
"test-e2e": "run-script-if --ignore-errors \"$(build-env endToEndTests.ignoreFailures)\" --bool \"$(build-env endToEndTests.run)\" --then \"pnpm test-e2e:clean\" \"cpr e2e-tests/resources e2e-tests-tmp/resources\" \"tsc --project tsconfig.e2e-tests.json --skipLibCheck --sourceMap true\" \"extest setup-and-run --yarn -c max -u -e ./test-resources -o e2e-tests/settings.json out/*.test.js\"",
"test-e2e:clean": "rimraf ./dist-tests-e2e && rimraf ./test-resources && rimraf ./out && rimraf ./e2e-tests-tmp && rimraf *.vsix",
"test-e2e:clean:offline": "rimraf ./dist-tests-e2e && rimraf ./out && rimraf ./e2e-tests-tmp && rimraf *.vsix",
"test-e2e:insider": "rimraf ./test-resources && rimraf ./out && tsc --project tsconfig.e2e-tests.json --skipLibCheck --sourceMap true && extest setup-and-run --yarn -t insider -u -e ./test-resources -o e2e-tests/settings.json out/*.test.js",
"test-e2e:offline": "run-script-if --ignore-errors \"$(build-env endToEndTests.ignoreFailures)\" --bool \"$(build-env endToEndTests.run)\" --then \"pnpm test-e2e:clean:offline\" \"cpr e2e-tests/resources e2e-tests-tmp/resources\" \"tsc --project tsconfig.e2e-tests.json --skipLibCheck --sourceMap true\" \"extest setup-and-run --offline --yarn -c max -u -e ./test-resources -o e2e-tests/settings.json out/*.test.js\"",
"watch": "export WEBPACK__sourceMaps=true; WEBPACK__minimize=false; webpack --env dev"
},
"dependencies": {
"@kie-tools-core/editor": "workspace:*",
"@kie-tools-core/envelope": "workspace:*",
"@kie-tools-core/i18n": "workspace:*",
"@kie-tools-core/monaco-editor": "workspace:*",
"@kie-tools-core/notifications": "workspace:*",
"@kie-tools-core/patternfly-base": "workspace:*",
"@kie-tools-core/vscode-extension": "workspace:*",
"@kie-tools-core/workspace": "workspace:*",
"@kie-tools/bpmn-editor-envelope": "workspace:*",
"@kie-tools/dmn-editor-envelope": "workspace:*",
"@kie-tools/form-code-generator-vscode-command": "workspace:*",
"@kie-tools/pmml-editor": "workspace:*",
"@kie-tools/scesim-editor-envelope": "workspace:*",
"@kie-tools/vscode-java-code-completion-extension-plugin": "workspace:*",
"minimatch": "^4.2.5",
"monaco-editor": "^0.39.0"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/preset-env": "^7.16.0",
"@babel/preset-react": "^7.16.0",
"@kie-tools-core/webpack-base": "workspace:*",
"@kie-tools/eslint": "workspace:*",
"@kie-tools/root-env": "workspace:*",
"@kie-tools/tsconfig": "workspace:*",
"@kie-tools/vscode-extension-common-test-helpers": "workspace:*",
"@types/chai": "^4.3.6",
"@types/fs-extra": "^11.0.1",
"@types/minimatch": "^3.0.5",
"@types/mocha": "^10.0.7",
"@types/vscode": "1.67.0",
"@vscode/test-electron": "^2.3.6",
"@vscode/test-web": "^0.0.66",
"@vscode/vsce": "^3.7.1",
"chai": "^4.3.10",
"copy-webpack-plugin": "^11.0.0",
"cpr": "^3.0.1",
"file-loader": "^6.2.0",
"mocha": "^10.6.0",
"mocha-jenkins-reporter": "^0.4.8",
"mocha-junit-reporter": "^2.2.1",
"mocha-multi-reporters": "^1.5.1",
"process": "^0.11.10",
"rimraf": "^3.0.2",
"sanitize-filename-ts": "^1.0.2",
"typescript": "^5.9.3",
"vscode-extension-tester": "^8.10.0",
"webpack": "^5.104.1",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.15.2",
"webpack-merge": "^5.9.0"
},
"engines": {
"vscode": "^1.67.0"
},
"displayName": "BPMN, DMN, Test Scenario and (PMML) Scorecard Editors",
"categories": [
"Other"
],
"contributes": {
"commands": [
{
"command": "extension.kogito.getPreviewSvg",
"icon": {
"dark": "./static/svg-icon-dark.png",
"light": "./static/svg-icon-light.png"
},
"title": "Kogito Editors: Save Preview SVG"
},
{
"command": "extension.kogito.runTest",
"title": "Kogito Editors: Run"
},
{
"command": "extension.kogito.silentlyGenerateSvg",
"title": "Kogito Editors: Generate SVG without any notification"
},
{
"command": "extension.apache.kie.kogitoEditors.generateFormCode",
"title": "Kogito Editors: Generate form code for User Tasks"
}
],
"configuration": {
"properties": {
"kogito.bpmn.runOnSave": {
"default": "extension.kogito.silentlyGenerateSvg",
"markdownDescription": "Execute a command on each save operation of the BPMN file.",
"type": "string"
},
"kogito.bpmn.svgFilePath": {
"default": "",
"markdownDescription": "Where to save generated SVG files for BPMN models. (defaults to `${fileDirname}` or `src/main/resources/META-INF/processSVG` if BPMN model is inside `src/main/resources`).",
"type": "string"
},
"kogito.bpmn.svgFilenameTemplate": {
"default": "",
"markdownDescription": "Filename template to be used when generating SVG files for BPMN models. (defaults to `${fileBasenameNoExtension}.svg`).",
"type": "string"
},
"kogito.dmn.runOnSave": {
"default": "extension.kogito.silentlyGenerateSvg",
"markdownDescription": "Execute a command on each save operation of the DMN file",
"type": "string"
},
"kogito.dmn.svgFilePath": {
"default": "",
"markdownDescription": "Where to save generated SVG files for DMN models. (defaults to `${fileDirname}` or `src/main/resources/META-INF/decisionSVG` if DMN model is inside `src/main/resources`).",
"type": "string"
},
"kogito.dmn.svgFilenameTemplate": {
"default": "${fileBasenameNoExtension}.svg",
"markdownDescription": "Filename template to be used when generating SVG files for DMN models. (defaults to `${fileBasenameNoExtension}.svg`).",
"type": "string"
}
},
"title": "Apache KIE Tools Dev Test Configuration"
},
"customEditors": [
{
"displayName": "Apache KIE Kogito Editors",
"selector": [
{
"filenamePattern": "*.{dmn,bpmn,bpmn2,scesim,pmml}"
}
],
"viewType": "kieKogitoWebviewEditors"
}
],
"javaExtensions": [
"./dist/server/vscode-java-code-completion-extension-plugin-core.jar"
],
"languages": [
{
"aliases": [
"bpmn",
"bpmn2",
"BPMN",
"BPMN2",
"Business Process Model and Notation"
],
"extensions": [
".bpmn",
".bpmn2",
".BPMN",
".BPMN2"
],
"id": "bpmn"
},
{
"aliases": [
"dmn",
"DMN",
"Decision Model and Notation"
],
"extensions": [
".dmn",
".DMN"
],
"id": "dmn"
},
{
"aliases": [
"scesim",
"SCESIM",
"Test Scenario"
],
"extensions": [
".scesim",
".SCESIM"
],
"id": "scesim"
},
{
"aliases": [
"pmml",
"PMML",
"Predictive Model Markup Language"
],
"extensions": [
".pmml",
".PMML"
],
"id": "pmml"
}
],
"menus": {
"commandPalette": [
{
"command": "extension.kogito.getPreviewSvg",
"when": "resourceLangId =~ /bpmn|bpmn2|dmn/"
},
{
"command": "extension.kogito.runTest",
"when": "resourceLangId =~ /scesim/"
}
],
"editor/title": [
{
"command": "extension.kogito.getPreviewSvg",
"group": "navigation",
"when": "resourceLangId =~ /bpmn|bpmn2|dmn/"
},
{
"command": "extension.kogito.runTest",
"group": "navigation",
"when": "resourceLangId =~ /scesim/"
}
]
}
},
"activationEvents": [
"onCustomEditor:kieKogitoWebviewEditors",
"onWebviewPanel:myPage"
],
"capabilities": {
"untrustedWorkspaces": {
"supported": false
}
},
"vsce": {
"dependencies": false
}
}