-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
156 lines (156 loc) · 3.9 KB
/
package.json
File metadata and controls
156 lines (156 loc) · 3.9 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
{
"name": "datasonnet-vscode-debugger",
"displayName": "Debug Extension for DataSonnet",
"description": "Datasonnet and Jsonnet debugger for Visual Studio Code",
"license": "SEE LICENSE IN LICENSE",
"version": "0.2.0",
"preview": true,
"publisher": "PortX",
"icon": "icons/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/datasonnet/datasonnet-vscode-debugger.git"
},
"homepage": "https://github.com/datasonnet/datasonnet-vscode-debugger",
"bugs": {
"url": "https://github.com/datasonnet/datasonnet-vscode-debugger/issues"
},
"engines": {
"vscode": "^1.76.0"
},
"categories": [
"Debuggers"
],
"keywords": [
"DataSonnet",
"DAP",
"Debug Adapter Protocol",
"Debugging",
"Jsonnet"
],
"main": "./out/extension.js",
"activationEvents": [
"onLanguage:datasonnet",
"workspaceContains:**/*.ds",
"workspaceContains:**/*.datasonnet",
"workspaceContains:**/*.jsonnet",
"workspaceContains:**/*.libsonnet",
"workspaceContains:**/*.datasonnet.TEMPLATE",
"onDebug"
],
"contributes": {
"breakpoints": [
{
"language": "datasonnet"
}
],
"configuration": {
"type": "object",
"title": "Debug Adapter for DataSonnet",
"properties": {}
},
"debuggers": [
{
"type": "datasonnet",
"label": "DataSonnet Debug",
"languages": [
"datasonnet"
],
"configurationAttributes": {
"launch": {
"properties": {
"type": {
"type": "string",
"description": "Debugger type - datasonnet"
},
"payload": {
"type": "string",
"description": "payload to be passed on to the Mapper"
},
"program": {
"type": "string",
"description": "datasonnet script to run"
},
"fileBasename": {
"type": "string",
"description": "name of the program file. Use \"${fileBasename}\""
},
"outputType": {
"type": "string",
"description": "MIME type of the output, can be application/json, application/xml or text/csv"
}
}
}
},
"initialConfigurations": [
{
"type": "datasonnet",
"request": "launch",
"name": "Launch Datasonnet Debugger"
}
],
"configurationSnippets": [
{
"label": "DataSonnet: Launch Debugger",
"description": "Launches a DataSonnet Mapper on debug mode",
"body": {
"name": "Launch DataSonnet Debugger",
"type": "datasonnet",
"request": "launch",
"program": "${file}",
"payload": "${workspaceFolder}/resources/payload.json"
}
}
]
}
],
"problemMatchers": [],
"commands": [
{
"command": "datasonnet.debug.current",
"category": "DataSonnet",
"title": "Debug a DataSonnet script",
"icon": "$(run-view-icon)",
"enablement": "resourceFilename =~ /\\.(datasonnet|libsonnet|ds)$/"
}
],
"menus": {}
},
"galleryBanner": {
"color": "#4FC7E7"
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./ && npm run lint",
"watch": "tsc -watch -p ./",
"postinstall": "node ./scripts/postinstall.js",
"pretest": "npm run compile",
"preui-test": "npm run compile",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"ui-test": "node --unhandled-rejections=warn-with-error-code out/ui-test/uitest_runner.js"
},
"devDependencies": {
"@types/chai": "^4.3.6",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "14.x",
"@types/vscode": "^1.76.0",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@vscode/test-electron": "^2.3.4",
"@vscode/debugadapter": "^1.56.0",
"@vscode/debugprotocol": "1.56.0",
"async-wait-until": "^2.0.12",
"chai": "^4.3.8",
"eslint": "^8.49.0",
"glob": "^10.3.4",
"mocha": "^10.2.0",
"mocha-jenkins-reporter": "^0.4.8",
"mvn-artifact-download": "^6.1.1",
"typescript": "^5.2.2",
"vscode-uitests-tooling": "^4.0.6"
},
"dependencies": {
"jsonc-parser": "^3.2.0"
}
}