-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
162 lines (158 loc) · 4.84 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
{
"name": "luahelper",
"displayName": "luahelper",
"description": "luahelper",
"version": "0.0.6",
"publisher": "zasidelpf",
"bugs": {
"url": "https://gitee.com/debugconsole/luahelper/issues",
"email": "[email protected]"
},
"engines": {
"vscode": "^1.10.0",
"node": "^6.3.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:lua"
],
"main": "./out/extension",
"icon": "res/luaHelperLogo.png",
"contributes": {
"commands": [],
"snippets": [
{
"language": "lua",
"path": "./snippets/snippets.json"
}
],
"configuration": {
"type": "object",
"title": "luahelper Configuration",
"properties": {
"luahelper.scriptRoots": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "工作区根目录,可设定多个"
}
}
},
"breakpoints": [
{
"language": "lua"
}
],
"debuggers": [
{
"type": "lua",
"label": "LuaDebugger",
"program": "./out/debugger/DebugAdapter.js",
"runtime": "node",
"configurationAttributes": {
"launch":{
"required":[
"runtimeType",
"localRoot",
"post",
"printType",
"exePath"
],
"properties":{
"runtimeType":{
"type": "string",
"default": "standalone",
"description": "运行时类型",
"enum": [
"standalone"
]
},
"host":{
"type":"string",
"description": "调试器的地址",
"default": "localhost"
},
"port": {
"type": "number",
"description": "调试器的端口",
"default": 47111
},
"localRoot": {
"type": "string",
"description": "工作区根目录",
"default": "${workspaceRoot}"
}
}
},
"attach":{
"required":[
"runtimeType",
"localRoot",
"post"
],"properties":{
"runtimeType":{
"type": "string",
"default": "attachUnity",
"description": "运行时类型",
"enum": [
"attachUnity"
]
},
"port": {
"type": "number",
"description": "调试器的端口",
"default": 47111
},
"localRoot": {
"type": "string",
"description": "--必填 当前文件目录 如果 运行程序支持 workdir 该参数当做 workdir进行传入",
"default": "${workspaceRoot}"
}
}
}
},
"initialConfigurations": [
{
"name": "launch-alone-lua51",
"type": "lua",
"port": 47111,
"runtimeType": "standalone",
"request": "launch",
"stopOnEntry": true,
"localRoot":"${workspaceRoot}"
},
{
"name": "attach(Unity)",
"request": "attach",
"runtimeType": "attachUnity",
"localRoot": "${workspaceRoot}",
"port": 47111
}
]
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"dependencies": {
"luaparse": "^0.2.1",
"vscode-debugadapter": "1.27.0",
"vscode-debugprotocol": "1.27.0",
"vscode": "^1.1.0"
},
"devDependencies": {
"typescript": "^2.6.1",
"tslint": "^5.8.0",
"@types/node": "^7.0.43",
"@types/mocha": "^2.2.42"
}
}