-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
213 lines (213 loc) · 6.28 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
{
"name": "sqflint",
"displayName": "SQFLint",
"description": "Parse errors, hover help for functions/commands and more.",
"author": "Jan Zípek, Senfo, Armatixes",
"icon": "client/images/sqflint.png",
"license": "MIT",
"version": "0.12.4",
"publisher": "skacekachna",
"engines": {
"vscode": "^1.33.1",
"node": "^7.9.0"
},
"repository": {
"type": "git",
"url": "https://github.com/SkaceKamen/vscode-sqflint"
},
"categories": [
"Programming Languages",
"Other"
],
"activationEvents": [
"onLanguage:sqf",
"onLanguage:ext",
"onCommand:extension.sqflint.unitEvents",
"onCommand:extension.sqflint.uiEvents",
"onCommand:extension.sqflint.commandsList"
],
"main": "./client/out/extension",
"contributes": {
"commands": [
{
"command": "extension.sqflint.unitEvents",
"title": "SQF Unit Event Handlers"
},
{
"command": "extension.sqflint.uiEvents",
"title": "SQF UI Event Handlers"
},
{
"command": "extension.sqflint.commandsList",
"title": "SQF Commands list"
}
],
"languages": [
{
"id": "sqf",
"aliases": [
"SQF",
"sqf"
],
"extensions": [
".sqf"
],
"configuration": "client/languages/configs/sqf.json"
},
{
"id": "ext",
"aliases": [
"Arma header file"
],
"extensions": [
".ext",
".hpp"
],
"configuration": "./client/languages/config/ext.json"
}
],
"grammars": [
{
"language": "ext",
"scopeName": "description.ext",
"path": "./client/languages/syntaxes/ext.json"
},
{
"language": "sqf",
"scopeName": "source.sqf",
"path": "./client/languages/syntaxes/sqf.json"
}
],
"configuration": {
"type": "object",
"title": "SQFLint Configuration",
"properties": {
"sqflint.warnings": {
"type": "boolean",
"default": true,
"description": "Process and display sqflint warnings."
},
"sqflint.indexWorkspace": {
"type": "boolean",
"default": true,
"description": "Scan workspace for sqf files and parse them upon opening."
},
"sqflint.indexWorkspaceTwice": {
"type": "boolean",
"default": true,
"description": "Scan workspace twice, solving problems with global variables defined in files parsed later than files that are using them."
},
"sqflint.contextSeparation": {
"type": "boolean",
"default": true,
"description": "Enable or disable context separation. Variables wont propagate into code blocks, even when defined in same file. This is to prevent errors when the local function is called in different context."
},
"sqflint.exclude": {
"type": "array",
"default": [],
"description": "List of paths to be excluded from workspace indexing. Example: \"ignored/**/*\" will ignore everything in folder 'ignored'."
},
"sqflint.checkPaths": {
"type": "boolean",
"default": false,
"description": "Check paths existence for file functions (execVM...)"
},
"sqflint.ignoredVariables": {
"type": "array",
"default": [],
"description": "Ignored variables are treated as internal commands, without definition check."
},
"sqflint.includePrefixes": {
"type": "object",
"default": {},
"description": "List of include paths, key is prefix used in include path, and value is local path. Example: \n{ \"\\\\A3\\\\\": \"C:/UnpackedArma/\" }\n"
},
"sqflint.discoverDescriptionFiles": {
"type": "boolean",
"default": true,
"description": "Search and parse description.ext files in subfolders."
},
"sqflint.descriptionFiles": {
"type": "array",
"default": [],
"description": "List of description.ext files to be loaded. If `discoverDescriptionFiles` is turned on, discovered files will be added to this list."
},
"sqflint.javaPath": {
"type": "string",
"description": "Path to java executable, SQFLint will try to use Java in you PATH by default"
}
}
},
"debuggers": [
{
"type": "sqflint",
"label": "SQFLint debugger",
"program": "./debugger/out/adapter.js",
"runtime": "node",
"configurationAttributes": {
"launch": {
"properties": {
"rptPath": {
"type": "string",
"description": "Path to folder with rpt files.",
"default": null
},
"messageFilter": {
"type": "string",
"description": "Regular expression which will be used to filter messages. Uses JS regex syntax. For example: \"g[oi]t\" will display anything that contains got or git.",
"default": null
},
"errorFilter": {
"type": "string",
"description": "Regular expression which will be used to filter error messages. Uses JS regex syntax. For example: \"g[oi]t\" will display anything that contains got or git.",
"default": null
}
}
}
},
"initialConfigurations": [
{
"type": "sqflint",
"request": "launch",
"name": "Watch RPT File"
}
],
"configurationSnippets": [
{
"label": "SQFLint: Watch RPT file",
"description": "A new configuration for watching RPT file.",
"body": {
"type": "sqlint",
"request": "launch",
"name": "Watch RPT File"
}
}
]
}
]
},
"scripts": {
"vscode:prepublish": "npm install && cd server && npm install && npm run grammar && cd ../client && npm install && cd ../debugger && npm install && cd .. && npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"package": "npm run vscode:prepublish && npx @vscode/vsce package",
"packageAndInstall": "npm run package && code sqflint-*.vsix",
"postinstall": "cd client && npm install && cd ../server && npm install && npm run grammar && cd ../debugger && npm install && cd ..",
"update-docs": "ts-node scripts/fetch-docs.ts && ts-node scripts/parse-docs.ts && ts-node scripts/fetch-description.ts && ts-node scripts/fetch-events.ts"
},
"devDependencies": {
"@types/node": "^14.17.32",
"@types/xmldoc": "^1.1.6",
"@typescript-eslint/eslint-plugin": "^2.33.0",
"@typescript-eslint/parser": "^2.33.0",
"eslint": "^6.0.0",
"node-fetch": "^2.6.6",
"typescript": "^4.2.4",
"xmldoc": "^1.1.2"
},
"dependencies": {
"@types/jsdom": "^16.2.13",
"jsdom": "^18.0.1",
"wikiparser-node": "^1.4.4"
}
}