-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
262 lines (262 loc) · 9.33 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
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
{
"name": "language-ampersand",
"displayName": "Ampersand (ADL) language support",
"version": "0.4.60",
"publisher": "AmpersandTarski",
"description": "Language support for Ampersand scripts",
"categories": [
"Programming Languages",
"Themes",
"Snippets"
],
"author": "Ampersand Tarski",
"preview": false,
"contributors": [
{
"name": "Rieks",
"url": "https://github.com/RieksJ"
},
{
"name": "Han Joosten",
"url": "https://github.com/hanjoosten",
"email": "han.joosten.han@gmail.com"
}
],
"engines": {
"vscode": "^1.75.1"
},
"icon": "images/ampersandLogo.png",
"galleryBanner": {
"color": "#f6a615",
"theme": "light"
},
"license": "GPL-3.0",
"homepage": "https://github.com/AmpersandTarski/Ampersand-Language-Support",
"repository": {
"type": "git",
"url": "https://github.com/AmpersandTarski/Ampersand-Language-Support.git"
},
"bugs": {
"url": "https://github.com/AmpersandTarski/Ampersand-Language-Support/issues"
},
"browser": "./out/extension.js",
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "ampersand",
"aliases": [
"Ampersand",
"ampersand",
"ADL",
"Ampersand Definition Language"
],
"extensions": [
".adl",
".ifc",
".pop",
".docadl"
],
"configuration": "./ampersand-configuration.json"
},
{
"id": "amplog",
"aliases": [
"amplog"
],
"extensions": [
".amplog"
],
"configuration": "./amplog-configuration.json"
}
],
"grammars": [
{
"language": "ampersand",
"scopeName": "source.ampersand",
"path": "./syntaxes/ampersand.tmLanguage.json"
},
{
"language": "amplog",
"scopeName": "text.amplog",
"path": "./syntaxes/amplog.tmLanguage.json"
}
],
"themes": [
{
"label": "Ampersand",
"uiTheme": "vs-dark",
"path": "./themes/Ampersand-color-theme.json"
}
],
"snippets": [
{
"language": "ampersand",
"path": "./snippets/ampersand.json"
}
],
"commands": [
{
"command": "extension.checkVersion",
"title": "Ampersand: version"
},
{
"command": "extension.startDaemon",
"title": "Ampersand: Start checker"
},
{
"command": "extension.generatePrototype",
"title": "Ampersand: Generate prototype"
},
{
"command": "extension.generateFunctionalSpec",
"title": "Ampersand: Generate functional spec"
}
],
"problemMatchers": [
{
"name": "amp-err",
"owner": "ampersand",
"fileLocation": [
"absolute"
],
"pattern": [
{
"regexp": "^In file +(.*) \\(line (\\d+), column (\\d+)\\):(\n.*)+$",
"file": 1,
"line": 2,
"column": 3,
"message": 0
},
{
"regexp": "^(Error).* in file +(.*) at line (\\d+) : (\\d+)\n (.*)$",
"severity": 1,
"file": 2,
"line": 3,
"column": 4,
"message": 5
}
]
}
],
"configuration": {
"title": "Ampersand",
"properties": {
"ampersand.mainScriptName": {
"type": "string",
"default": "main.adl",
"description": "The name of the main ADL script file to be fed to the ampersand compiler as root of the script."
},
"ampersand.folderName": {
"type": "string",
"default": "./project",
"description": "The absolute path of the folder that contains the main script."
},
"ampersand.graphics": {
"type": "boolean",
"default": true,
"description": "Generate graphics for documentation when appropriate. Obviously, this takes longer and can become annoying when you are only interested in the text."
},
"ampersand.documentation.intro": {
"type": "boolean",
"default": true,
"description": "Include the introduction chapter in the functional documentation."
},
"ampersand.documentation.sharedLang": {
"type": "boolean",
"default": true,
"description": "Include the shared language chapter in the functional documentation."
},
"ampersand.documentation.diagnosis": {
"type": "boolean",
"default": true,
"description": "Include the diagnosis chapter in the functional documentation."
},
"ampersand.documentation.conceptualAnalysis": {
"type": "boolean",
"default": true,
"description": "Include the conceptual analysis chapter in the functional documentation."
},
"ampersand.documentation.dataAnalysis": {
"type": "boolean",
"default": true,
"description": "Include the data analysis chapter in the functional documentation."
},
"ampersand.sqlBinaryTables": {
"type": "boolean",
"default": false,
"description": "Generate binary tables instead of broad tables in SQL database, for testing purposes."
},
"ampersand.outputDir": {
"type": "string",
"default": "./output",
"description": "The path of the folder where the output of the ampersand compiler will be stored."
},
"ampersand.outputLanguage": {
"type": "string",
"default": "NL",
"enum": [
"NL",
"EN"
],
"description": "Pick 'NL' for Dutch or 'EN' for English, as the language to be used in your output. Without this option, output is written in the language of your context."
},
"ampersand.verbosity": {
"type": "string",
"enum": [
"silent",
"error",
"warn",
"info",
"debug"
],
"default": "warn",
"description": "How verose should the output be?"
},
"ampersand.documentation.format": {
"type": "string",
"enum": [
"Asciidoc",
"Context",
"Docbook",
"Docx",
"Html",
"Latex",
"Man",
"Markdown",
"Mediawiki",
"Opendocument",
"Org",
"Pandoc",
"Pdf",
"Plain",
"Rst",
"Rtf",
"Texinfo",
"Textile"
],
"default": "docx",
"description": "The format that the functional specification will be generated to."
}
}
}
},
"scripts": {
"bundle": "npm run esbuild-base -- --minify",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"package": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch"
},
"dependencies": {
"@types/node": "^22.13.1",
"@types/vscode": "^1.96.0",
"@vscode/test-electron": "^2.4.1",
"@vscode/vsce": "^3.2.1",
"npm": "^11.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.7.3"
}
}