-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
185 lines (185 loc) · 4.32 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": "dialog-language-support",
"displayName": "Dialog Language Support",
"description": "Language support for the Dialog language",
"version": "1.1.0",
"publisher": "sideburns3000",
"repository": {
"type": "git",
"url": "https://github.com/sideburns3000/vscode-dialog-language.git"
},
"bugs": {
"url": "https://github.com/sideburns3000/vscode-dialog-language/issues",
"email": "[email protected]"
},
"license": "MIT",
"author": {
"name": "Michael Lauenstein",
"email": "[email protected]"
},
"engines": {
"vscode": "^1.38.0"
},
"categories": [
"Programming Languages"
],
"keywords": [
"Dialog",
"Interactive Fiction",
"Text Adventures",
"IF"
],
"icon": "images/dialog_icon.png",
"activationEvents": [
"onCommand:dialog.compileToAastory",
"onCommand:dialog.compileToZ5",
"onCommand:dialog.compileToZ8",
"onCommand:dialog.compileToZblorb",
"onCommand:workbench.action.tasks.runTask"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "dialog",
"aliases": [
"Dialog",
"dialog"
],
"extensions": [
".dg"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "dialog",
"scopeName": "source.dg",
"path": "./syntaxes/dialog.tmLanguage.json"
}
],
"commands": [
{
"command": "dialog.compileToAastory",
"title": "Compile to aastory"
},
{
"command": "dialog.compileToZ5",
"title": "Compile to z5"
},
{
"command": "dialog.compileToZ8",
"title": "Compile to z8"
},
{
"command": "dialog.compileToZblorb",
"title": "Compile to zblorb"
}
],
"taskDefinitions": [
{
"type": "dialog",
"required": [
"target"
],
"properties": {
"target": {
"type": "string",
"description": "The compilation target: z5, z8, zblorb, aa(story)."
}
}
}
],
"problemMatchers": [
{
"name": "dialog",
"owner": "dialog",
"source": "dialog",
"fileLocation": "autoDetect",
"pattern": {
"regexp": "^(Error|Warning|Info): (.*), line (\\d*): (.*)$",
"severity": 1,
"file": 2,
"location": 3,
"message": 4
}
}
],
"configuration": {
"title": "Dialog Language Support",
"properties": {
"dialog.compiler": {
"type": "string",
"default": "dialogc",
"description": "Set the compiler executable that shall be used for compiling.\nThe default is: dialogc. This assumes that dialogc is accessible on your system via your PATH environment variable.\nIf that is not the case, please provide the full path to the compiler executable."
},
"dialog.includeWhenCompiling": {
"type": "string",
"default": "stdlib.dg",
"description": "List all .dg files that shall be included when compiling, separated only by commas, in the intended order (for example: stddebug.dg,stdlib.dg).\n(Except for the .dg file that is currently open in the editor, as that will be prepended automatically.)\nThe default is just the Standard Library: stdlib.dg."
}
}
},
"menus": {
"explorer/context": [
{
"command": "dialog.compileToAastory",
"group": "8_compilation",
"when": "resourceLangId == dialog"
},
{
"command": "dialog.compileToZ5",
"group": "8_compilation",
"when": "resourceLangId == dialog"
},
{
"command": "dialog.compileToZ8",
"group": "8_compilation",
"when": "resourceLangId == dialog"
},
{
"command": "dialog.compileToZblorb",
"group": "8_compilation",
"when": "resourceLangId == dialog"
}
],
"commandPalette": [
{
"command": "dialog.compileToAastory",
"when": "false"
},
{
"command": "dialog.compileToZ5",
"when": "false"
},
{
"command": "dialog.compileToZ8",
"when": "false"
},
{
"command": "dialog.compileToZblorb",
"when": "false"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^5.2.6",
"@types/node": "^10.12.21",
"@types/vscode": "^1.38.0",
"glob": "^7.1.4",
"mocha": "^6.1.4",
"typescript": "^3.3.1",
"tslint": "^5.12.1",
"vscode-test": "^1.0.2"
}
}