-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
157 lines (157 loc) · 4.56 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
{
"name": "rms-check-vscode",
"description": "Age of Empires 2 Random Map Script syntax highlighting and linting support.",
"version": "0.0.4",
"author": "Renée Kooi <[email protected]>",
"activationEvents": [
"workspaceContains:**/*.rms",
"onLanguage:aoe2-rms",
"onFileSystem:aoe2-rms-zr",
"onCommand:rms-check.edit-zr-map",
"onWebviewPanel:rms-check.zr-map"
],
"bugs": "https://github.com/goto-bus-stop/rms-check/issues",
"categories": [
"Programming Languages"
],
"contributes": {
"languages": [
{
"id": "aoe2-rms",
"aliases": [
"AoE2 Random Map Script",
"aoe2-rms"
],
"extensions": [
".rms",
".rms2"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "aoe2-rms",
"scopeName": "source.aoe2-rms",
"path": "./aoe2-rms.tmLanguage"
}
],
"configuration": {
"type": "object",
"title": "AoE2 RMS Check",
"properties": {
"rmsCheck.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Debugging option: Traces the communication between VS Code and the language server."
},
"rmsCheck.server": {
"scope": "machine",
"type": "string",
"enum": [
"wasm",
"native"
],
"enumDescriptions": [
"Builtin WebAssembly server",
"Native Rust server (requires separate installation)"
],
"default": "wasm",
"description": "Optionally use the native Rust language server."
},
"rmsCheck.defaultCompatibility": {
"scope": "resource",
"type": "string",
"enum": [
"conquerors",
"up14",
"up15",
"wk",
"hd",
"de",
"all"
],
"enumDescriptions": [
"Assume Conquerors 1.0c by default",
"Assume UserPatch 1.4 by default",
"Assume UserPatch 1.5 by default",
"Assume WololoKingdoms by default",
"Assume HD Edition + DLC by default",
"Assume Definitive Edition by default",
"Try to be maximally compatible: enable warnings for incompatibility with *any* version"
],
"default": "all",
"description": "The default compatibility level to use. This determines which predefined constants and which commands are available in map scripts. Use a `/* Compatibility: $Value */` comment in individual map scripts to override this setting."
}
}
},
"commands": [
{
"command": "rms-check.edit-zr-map",
"category": "rms-check",
"title": "Edit ZR@ (Zip-RMS) map"
}
],
"menus": {
"explorer/context": [
{
"when": "resourceLangId == aoe2-rms && resourceFilename =~ /^ZR@/",
"command": "rms-check.edit-zr-map",
"group": "navigation"
}
],
"editor/title": [
{
"when": "resourceLangId == aoe2-rms && resourceFilename =~ /^ZR@/",
"command": "rms-check.edit-zr-map",
"group": "navigation"
}
]
}
},
"devDependencies": {
"@vercel/ncc": "^0.28.3",
"simple-concat": "^1.0.0",
"vsce": "^1.76.0",
"vscode-jsonrpc": "^5.0.1",
"vscode-languageclient": "^6.1.3",
"wasm-opt": "^1.1.1",
"which": "^2.0.2",
"yazl": "^2.5.1"
},
"displayName": "AoE2 RMS Check (Beta)",
"engines": {
"vscode": "^1.23.0"
},
"homepage": "https://github.com/goto-bus-stop/rms-check",
"keywords": [
"Age of Empires 2",
"aoe2",
"multi-root ready",
"random map script",
"rms"
],
"license": "MIT",
"main": "./dist/client/index.js",
"publisher": "Anda",
"repository": {
"type": "git",
"url": "https://github.com/goto-bus-stop/rms-check.git",
"directory": "vscode"
},
"scripts": {
"build-client": "ncc build client/extension.js -e vscode -o dist/client",
"build-server": "npm run build-server-wasm && npm run build-server-js",
"build-server-js": "ncc build server/index.js -o dist/server",
"build-server-wasm": "npm run wasm-pack -- --profiling",
"package": "npm run prepare && vsce package",
"prepare": "npm run build-server && npm run build-client",
"wasm-pack": "cd .. && wasm-pack build vscode/server --target nodejs"
}
}