-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
226 lines (226 loc) · 6.22 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
{
"name": "lrdb",
"displayName": "LRDB",
"description": "Lua Remote DeBugger",
"version": "0.4.1",
"publisher": "satoren",
"engines": {
"vscode": "^1.52.0"
},
"categories": [
"Debuggers"
],
"dependencies": {
"lrdb-debuggable-lua": "^0.5.4",
"vscode-debugadapter": "^1.43.0",
"vscode-nls": "^5.0.0"
},
"activationEvents": [
"onDebug"
],
"repository": {
"type": "git",
"url": "https://github.com/satoren/vscode-lrdb.git"
},
"bugs": {
"url": "https://github.com/satoren/vscode-lrdb/issues"
},
"main": "./out/extension.js",
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"package": "vsce package",
"publish": "vsce publish",
"build": "tsc",
"jest": "jest",
"test": "run-s build jest",
"lint:eslint": "eslint . --cache --ext ts",
"lint:prettier": "prettier . --check",
"lint": "run-s lint:eslint lint:prettier",
"fix": "run-s fix:eslint fix:prettier",
"fix:eslint": "yarn lint:eslint --fix",
"fix:prettier": "yarn lint:prettier --write"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.0",
"@semantic-release/git": "^10.0.0",
"@types/node": "^14.16.0",
"@types/vscode": "^1.77.0",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"eslint": "^7.15.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^25.2.2",
"jest": "^26.6.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.4.1",
"semantic-release": "^20.0.2",
"semantic-release-vsce": "^5.5.3",
"ts-jest": "^26.4.4",
"ts-node": "^10.3.0",
"typescript": "^4.4.4",
"vsce": "^2.15.0",
"vscode-debugadapter-testsupport": "^1.49.0",
"vscode-debugprotocol": "^1.49.0",
"vscode-nls-dev": "^3.3.2",
"vscode-test": "^1.6.1"
},
"icon": "images/icon.png",
"license": "BSL-1.0",
"contributes": {
"breakpoints": [
{
"language": "lua"
}
],
"debuggers": [
{
"type": "lrdb",
"label": "Lua Debug",
"program": "./out/debugAdapter.js",
"runtime": "node",
"languages": [
"lua"
],
"variables": {},
"configurationSnippets": [
{
"label": "Lua: (lrdb) Launch",
"description": "A new configuration for launching a lua program",
"body": {
"type": "lrdb",
"request": "launch",
"name": "${2:Launch Program}",
"program": "Lua program file or Lua host executable.",
"args": [],
"cwd": "${workspaceFolder}"
}
},
{
"label": "Lua: (lrdb) Attach",
"description": "A new configuration for attaching a LRDB embeded program",
"body": {
"type": "lrdb",
"request": "attach",
"name": "${1:Attach}",
"host": "localhost",
"port": 21110,
"sourceRoot": "${workspaceFolder}"
}
}
],
"configurationAttributes": {
"launch": {
"required": [
"program"
],
"properties": {
"program": {
"type": "string",
"description": "Lua program file or Lua host program with embedded LRDB.",
"default": "${file}"
},
"cwd": {
"type": "string",
"description": "working directory.",
"default": "${workspaceFolder}"
},
"args": {
"type": "array",
"description": "Command line arguments.",
"default": []
},
"useInternalLua": {
"type": [
"boolean",
"null"
],
"description": "If true use internal(in this Extension) Lua interpreter, false direct execute `program`",
"default": null
},
"sourceRoot": {
"type": [
"string",
"array"
],
"description": "script source root directory. to be used in souce file matching at breakpoints.",
"default": "${workspaceFolder}"
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop after launch.",
"default": true
}
}
},
"attach": {
"required": [
"host",
"port"
],
"properties": {
"host": {
"type": "string",
"description": "host name.",
"default": "localhost"
},
"port": {
"type": "number",
"description": "port",
"default": 21110
},
"sourceRoot": {
"type": [
"string",
"array"
],
"description": "script source root directory.",
"default": "${workspaceFolder}"
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop after launch.",
"default": true
}
}
}
}
}
]
},
"release": {
"verifyConditions": [
"semantic-release-vsce",
"@semantic-release/github"
],
"prepare": {
"path": "semantic-release-vsce",
"packageVsix": true
},
"publish": [
"semantic-release-vsce",
{
"path": "@semantic-release/github",
"assets": "*.vsix"
}
],
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/github",
[
"@semantic-release/git",
{
"assets": [
"package.json"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}
}