-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
185 lines (185 loc) · 5.09 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
{
"name": "langums",
"displayName": "LangUMS",
"version": "0.4.8",
"publisher": "langums",
"description": "LangUMS integration",
"authors": [
{
"name": "Matthew Burton",
"email": "[email protected]"
},
{
"name": "Alexander Dzhoganov",
"email": "[email protected]"
}
],
"license": "SEE LICENSE IN LICENSE",
"homepage": "https://github.com/BurtonMatthew/langums-vscode",
"engines": {
"vscode": "^1.1.0",
"node": "^6.5.0"
},
"icon": "images/mock-debug-icon.svg",
"categories": [
"Debuggers"
],
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/LangUMS/langums-vscode.git"
},
"bugs": {
"url": "https://github.com/LangUMS/langums-vscode/issues"
},
"dependencies": {
"bw-chk": "^1.1.0",
"scm-extractor": "^1.0.6",
"concat-stream":"^1.6.0",
"vscode-debugadapter": "^1.19.0",
"vscode-debugprotocol": "^1.19.0"
},
"devDependencies": {
"@types/es6-collections": "^0.5.29",
"@types/es6-promise": "^0.0.32",
"@types/mocha": "^2.2.33",
"@types/node": "^6.0.50",
"typescript": "^2.2.1",
"mocha": "^3.1.2",
"vscode": "^1.0.3",
"vscode-debugadapter-testsupport": "^1.19.0",
"tslint": "^5.1.0"
},
"scripts": {
"prepublish": "tsc -p ./src",
"compile": "tsc -p ./src",
"tslint": "tslint ./src/**/*.ts",
"watch": "tsc -w -p ./src",
"test": "mocha -u tdd ./out/tests/",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"main": "./out/extension",
"activationEvents": [
"onCommand:extension.langums.provideInitialConfigurations",
"*"
],
"contributes": {
"configuration": {
"type": "object",
"title": "LangUMS Configuration",
"properties": {
"langums.codeCompletion": {
"type": "boolean",
"default": true,
"description": "Provide code completion."
},
"langums.codeCompletionSnippets": {
"type": "boolean",
"default": true,
"description": "Use snippets when completing functions."
},
"langums.mapPath": {
"type": "string",
"description": "The map path for reading location symbols"
}
}
},
"languages": [
{
"id": "langums",
"aliases": [
"LangUMS",
"langums"
],
"extensions": [
".l"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "langums",
"scopeName": "source.langums",
"path": "./syntaxes/langums.tmLanguage.json"
}
],
"breakpoints": [
{
"language": "langums"
}
],
"debuggers": [
{
"type": "langums",
"label": "LangUMS Debug",
"program": "./out/adapter.js",
"runtime": "node",
"configurationSnippets": [
{
"label": "LangUMS: Launch",
"description": "A new configuration for launching an LangUMS debug session",
"body": {
"type": "langums",
"request": "launch",
"name": "${2:Launch Program}",
"program": "^\"\\${workspaceRoot}/${1:Program}\""
}
}
],
"configurationAttributes": {
"launch": {
"required": [
"langums",
"map",
"lang",
"dst"
],
"properties": {
"langums": {
"type": "string",
"description": "Absolute path to langums.exe.",
"default": "${workspaceRoot}/langums.exe"
},
"map": {
"type": "string",
"description": "Absolute path to input .scx file.",
"default": "${workspaceRoot}/my_map.scx"
},
"lang": {
"type": "string",
"description": "Absolute path to input .l file.",
"default": "${workspaceRoot}/my_map.l"
},
"dst": {
"type": "string",
"description": "Absolute path to output .scx file.",
"default": "${workspaceRoot}/my_map_release.scx"
},
"trace": {
"type": "boolean",
"description": "Enable logging of the debugger protocol.",
"default": true
},
"compileOnly": {
"type": "boolean",
"description": "If true will not launch a debugger session, but just compiles the map.",
"default": false
}
}
}
},
"initialConfigurations": [{
"type": "langums",
"request": "launch",
"name": "LangUMS Debug",
"langums": "${workspaceRoot}/langums.exe",
"map": "${workspaceRoot}/my_map.scx",
"lang": "${workspaceRoot}/my_map.l",
"dst": "${workspaceRoot}/my_map_release.scx",
"compileOnly": false
}]
}
]
}
}