-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpackage.json
298 lines (298 loc) · 7.71 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
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
{
"name": "vscode-mta-tools",
"displayName": "vscode-mta-tools",
"description": "VS Code Multi-Target Application tools",
"version": "1.4.10",
"publisher": "SAPSE",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git@github.com/SAP/vscode-mta-tools.git"
},
"publishConfig": {
"access": "public"
},
"engines": {
"vscode": "^1.53.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"extensionDependencies": [
"sapos.yeoman-ui"
],
"main": "./dist/extension.js",
"contributes": {
"taskDefinitions": [
{
"type": "deploy-mta",
"required": [
"label",
"taskType",
"mtarPath"
],
"properties": {
"label": {
"type": "string",
"description": "Task Name"
},
"taskType": {
"type": "string",
"description": "Task Type"
},
"mtarPath": {
"type": "string",
"description": "Path to the MTAR File"
},
"extPath": {
"type": "string",
"description": "Path to the Extension File"
}
}
},
{
"type": "build-mta",
"required": [
"label",
"taskType",
"mtaFilePath",
"buildType"
],
"properties": {
"label": {
"type": "string",
"description": "Task Name"
},
"taskType": {
"type": "string",
"description": "Task Type"
},
"buildType": {
"type": "string",
"description": "Build Type"
},
"mtaFilePath": {
"type": "string",
"description": "Path to the Project's 'mta.yaml' File"
},
"mtarTargetPath": {
"type": "string",
"description": "Path to the MTAR Target Folder"
},
"mtarName": {
"type": "string",
"description": "MTAR File Name"
},
"extPath": {
"type": "string",
"description": "Path to the Extension File"
},
"modules": {
"type": "array",
"description": "Modules"
},
"dependencies": {
"type": "array",
"description": "Dependencies"
},
"targetFolderPath": {
"type": "string",
"description": "Path to the Target Folder"
}
}
}
],
"problemMatchers": [
{
"name": "MTA",
"source": "MTA Validate",
"label": "Validate MTA development descriptor and extension files"
}
],
"languages": [
{
"id": "yaml",
"extensions": [
".mtaext"
]
}
],
"jsonValidation": [
{
"fileMatch": [
"mta.yaml",
"mta.yml"
],
"url": "https://json.schemastore.org/mta"
},
{
"fileMatch": [
"mtad.yaml",
"mtad.yml"
],
"url": "https://json.schemastore.org/mtad"
},
{
"fileMatch": [
"*.mtaext"
],
"url": "https://json.schemastore.org/mtaext"
}
],
"commands": [
{
"command": "extension.mtaBuildCommand",
"title": "Build MTA Project"
},
{
"command": "extension.mtarDeployCommand",
"title": "Deploy MTA Archive"
},
{
"command": "extension.addModuleCommand",
"title": "Create MTA Module from Template"
}
],
"menus": {
"explorer/context": [
{
"when": "resourceFilename == mta.yaml",
"command": "extension.mtaBuildCommand",
"group": "navigation@2"
},
{
"when": "resourceFilename == mta.yaml",
"command": "extension.addModuleCommand",
"group": "navigation@1"
}
]
},
"configuration": {
"type": "object",
"title": "MTA Tools",
"properties": {
"MTA Tools.loggingLevel": {
"type": "string",
"enum": [
"off",
"fatal",
"error",
"warn",
"info",
"debug",
"trace"
],
"default": "error",
"description": "The verbosity of logging according to the following order: trace > debug > info > warn > error > fatal > off.",
"scope": "resource"
},
"MTA Tools.sourceLocationTracking": {
"type": "boolean",
"default": false,
"description": "If chosen, the location of the source code is added to log entries. Warning – this action may slow your extension. We recommend you use it only for debugging.",
"scope": "resource"
}
}
}
},
"scripts": {
"version:suggest": "conventional-recommended-bump -preset=\"angular\"",
"version": "npm run version:changelog -s && git add CHANGELOG.md",
"version:changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"ci": "npm-run-all format:validate lint compile build test",
"watch": "tsc -watch -p ./",
"compile": "tsc -p ./",
"format:fix": "prettier --write --ignore-path .gitignore \"**/*.@(ts|js|json|md|yml)\"",
"format:validate": "prettier --check --ignore-path .gitignore \"**/*.@(ts|js|json|md|yml)\"",
"lint": "eslint . --ext .ts --fix --max-warnings=0",
"build": "vsce package",
"test": "nyc mocha",
"coverage:check": "nyc mocha",
"vscode:prepublish": "webpack --mode production",
"webpack": "webpack --mode development",
"webpack:watch": "webpack --mode development --watch"
},
"dependencies": {
"lodash": "4.17.21",
"comment-json": "4.1.1",
"fs-extra": "10.0.0",
"@vscode-logging/logger": "1.2.3",
"@sap/swa-for-sapbas-vsx": "1.2.15",
"@sap/mta-lib": "1.7.4",
"@sap/cf-tools": "2.0.1",
"datauri": "2.0.0"
},
"devDependencies": {
"@sap_oss/task_contrib_types": "3.1.0",
"@commitlint/cli": "12.1.1",
"@commitlint/config-conventional": "12.1.1",
"@types/chai": "4.2.21",
"@types/comment-json": "2.4.2",
"@types/fs-extra": "9.0.12",
"@types/lodash": "4.14.171",
"@types/node": "16.0.0",
"@types/mocha": "8.2.2",
"@types/sinon": "10.0.2",
"@types/vscode": "1.53.0",
"@types/rimraf": "^3.0.0",
"@types/tmp": "^0.2.1",
"@typescript-eslint/eslint-plugin": "4.28.5",
"@typescript-eslint/parser": "4.22.1",
"coveralls": "3.1.1",
"chai": "4.3.4",
"conventional-changelog-cli": "2.1.1",
"conventional-recommended-bump": "6.1.0",
"copy-webpack-plugin": "9.0.1",
"cz-conventional-changelog": "3.3.0",
"eslint": "7.31.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-eslint-comments": "3.2.0",
"husky": "4.3.6",
"lint-staged": "10.5.4",
"mocha": "9.1.0",
"mock-spawn": "0.2.6",
"npm-run-all": "4.1.5",
"nyc": "15.1.0",
"prettier": "2.2.1",
"sinon": "11.1.2",
"source-map-support": "0.5.19",
"ts-loader": "8.0.16",
"typescript": "4.3.5",
"vsce": "1.96.1",
"vscode-test": "1.5.2",
"webpack": "5.43.0",
"webpack-cli": "4.5.0",
"tmp": "^0.2.1",
"rimraf": "3.0.2"
},
"prettier": {
"endOfLine": "lf"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,ts,md,json}": [
"prettier --write"
],
"*.{ts}": [
"eslint --fix --max-warnings=0"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}