-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
155 lines (155 loc) · 4 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
{
"name": "zerosyntax-server",
"displayName": "ZeroSyntax-Server",
"description": "Language server for Generals Zero Hour INI files",
"icon": "images/icon.png",
"version": "0.1.10",
"publisher": "ViTeXFTW",
"author": {
"name": "ViTeXFTW",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/ViTeXFTW/ZeroSyntax-Server"
},
"license": "MIT",
"categories": [
"Formatters",
"Programming Languages"
],
"keywords": [
"multi-root ready"
],
"engines": {
"vscode": "^1.85.0"
},
"activationEvents": [
"onLanguage:ini"
],
"main": "./client/out/extension",
"contributes": {
"languages": [
{
"id": "ini",
"aliases": ["Ini", "INI"],
"extensions": [
".ini",
".Ini",
".INI"
]
}
],
"viewsContainers": {
"activitybar": [
{
"id": "zerosyntax",
"title": "ZeroSyntax",
"icon": "images/ZeroSyntaxLogo_bw.png"
}
]
},
"views": {
"explorer": [
{
"id": "package-dependencies",
"name": "Dependencies",
"type": "tree"
}
]
},
"commands": [
{
"command": "ZeroSyntax.stopLanguageServer",
"title": "ZeroSyntax: Turn Off Language Server"
},
{
"command": "ZeroSyntax.startLanguageServer",
"title": "ZeroSyntax: Turn On Language Server"
}
],
"configuration": {
"type": "object",
"title": "ZeroSyntax Settings",
"properties": {
"ZeroSyntax.enableAutocomplete": {
"type": "boolean",
"default": true,
"description": "Constrols if the extension should provide autocompletion."
},
"ZeroSyntax.indentNumber": {
"type": "number",
"default": 2,
"description": "Controls the indentation when using the INI formatter"
},
"ZeroSyntax.serverStartupSetting": {
"type": "boolean",
"default": true,
"description": "Controls whether the server is started automatically after the extension is activated."
},
"ZeroSyntax.displayAlphaWarning": {
"type": "boolean",
"default": true,
"description": "Controls whether the alpha warning is displayed when the server is started."
},
"ZeroSyntax.forceAddModule": {
"type": "boolean",
"default": true,
"description": "Controls whether AddModule around modules is forced."
},
"ZeroSyntax.precompileTransitionKeys": {
"type": "boolean",
"default": true,
"description": "Controls whether the transition keys are precompiled when the server is started."
},
"ZeroSyntax.maxNumberOfProblems": {
"scope": "resource",
"type": "number",
"default": 100,
"description": "Controls the maximum number of problems produced by the server."
},
"ZeroSyntax.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the language server."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"package": "npm run compile && vsce package",
"cc": "npm run clean && npm run antlr4ng && npm run compile",
"compile": "tsc -b",
"clean": "rimraf ./client/out && rimraf ./server/out",
"compile-test": "cd client && npm run compile-test && cd .. && cd server && npm run compile-test",
"watch": "tsc -b -w",
"lint": "eslint ./client/src ./server/src --ext .ts,.tsx",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"test": "vscode-test",
"antlr4ng": "antlr4ng -Dlanguage=TypeScript -visitor ./server/src/utils/antlr4ng/MapIni.g4 -o ./server/src/utils/antlr4ng"
},
"devDependencies": {
"@types/mocha": "^9.1.0",
"@types/node": "^16.18.34",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"antlr4-c3": "^3.4.1",
"antlr4ng-cli": "^2.0.0",
"antlr4ts-cli": "^0.5.0-alpha.4",
"eslint": "^8.35.0",
"typescript": "^5.5.4",
"vscode": "^1.1.37",
"vscode-test": "^1.6.1"
},
"dependencies": {
"antlr4-c3": "^3.4.1",
"antlr4ng": "^3.0.5"
}
}