-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
142 lines (142 loc) · 3.86 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
{
"name": "premake-debugger",
"displayName": "premake-debugger",
"description": "a debugger extension for premake to debug premake scripts",
"version": "0.0.1",
"engines": {
"vscode": "^1.95.0"
},
"categories": [
"Debuggers",
"Other"
],
"activationEvents": [
"onLanguage:lua"
],
"main": "./out/extension.js",
"files": [
"./resources/json.lua"
],
"contributes": {
"breakpoints": [
{
"language": "lua"
}
],
"languages": [
{
"id": "lua",
"extensions": [
".lua"
],
"aliases": [
"Lua"
]
}
],
"debuggers": [
{
"type": "premake",
"label": "launch premake",
"configurationAttributes": {
"premake.port": {
"type": "number",
"default": 8172,
"description": "Port number for connecting to the premake MobDebug server."
},
"premake.host": {
"type": "string",
"default": "localhost",
"description": "Host address for the premake MobDebug server."
}
}
}
],
"commands": [],
"configuration": {
"type": "object",
"title": "premake debugger extension Settings",
"properties": {
"premake.port": {
"type": "number",
"default": 8172,
"description": "Port number for connecting to the premake MobDebug server.",
"minimum": 1,
"maximum": 65535
},
"premake.host": {
"type": "string",
"default": "localhost",
"description": "Host address for the premake MobDebug server."
},
"premake.timeout": {
"type": "number",
"default": 5000,
"description": "Timeout duration (in ms) for sending commands.",
"minimum": 1000,
"maximum": 10000
},
"premake.dev": {
"type": "string",
"enum": [
"normal",
"development"
],
"default": "normal",
"description": "Select the mode of the extension. 'normal' , 'development' for dev mode. (adding features to premake)"
},
"premake.dev.rootloc": {
"type": "string",
"description": "location of the directory root of premake (only in dev mode!)",
"default": "/."
},
"premake.dev.mode": {
"type": "string",
"default": "debug",
"enum": [
"debug",
"release"
],
"when": "premake.dev === 'development'",
"description": "the launch mode (run release or debug build)"
},
"premake.dev.binloc": {
"type": "string",
"default": "./bin",
"description": "the location of the premake bin folder",
"when": "config.premake.dev == 'development'"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": " npm run copy-resources && tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test",
"copy-resources": "copyfiles --flat resources/*.lua out/resources/"
},
"devDependencies": {
"@types/lodash": "^4.17.13",
"@types/lua-json": "^1.0.3",
"@types/luaparse": "^0.2.12",
"@types/mocha": "^10.0.9",
"@types/node": "20.x",
"@types/vscode": "^1.95.0",
"@typescript-eslint/eslint-plugin": "^8.10.0",
"@typescript-eslint/parser": "^8.7.0",
"@vscode/debugadapter": "^1.68.0",
"@vscode/debugprotocol": "^1.68.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"await-notify": "^1.0.1",
"copyfiles": "^2.4.1",
"eslint": "^9.13.0",
"lua-json": "^1.0.1",
"luaparse": "^0.3.1",
"typescript": "^5.6.3",
"vscode-debugadapter": "^1.51.0"
}
}