forked from object-Object/vscode-hex-casting
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
176 lines (176 loc) · 6.41 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
{
"version": "0.1.22",
"name": "hex-casting",
"displayName": "Hex Casting",
"description": "VSCode language features for the Hex Casting mod for Minecraft.",
"author": "object-Object",
"publisher": "object-Object",
"license": "MIT",
"icon": "images/extension_icon.png",
"bugs": {
"url": "https://github.com/object-Object/vscode-hex-casting/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/object-Object/vscode-hex-casting"
},
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Programming Languages",
"Snippets"
],
"keywords": [
"Hex Casting",
"Minecraft"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "hexcasting",
"aliases": [
"Hex Casting",
"hexcasting"
],
"extensions": [
".hexpattern",
".hexcasting"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "images/language_icon.png",
"dark": "images/language_icon.png"
}
}
],
"grammars": [
{
"language": "hexcasting",
"scopeName": "source.hexcasting",
"path": "./syntaxes/hexcasting.tmLanguage.json"
}
],
"snippets": [
{
"language": "hexcasting",
"path": "./snippets.json"
}
],
"configuration": [
{
"title": "Hex Casting",
"properties": {
"hex-casting.appendNewline": {
"type": "string",
"default": "auto",
"enum": [
"always",
"auto",
"never"
],
"enumDescriptions": [
null,
"Only insert a newline if the next line is empty or a closing bracket.",
null
],
"description": "Controls whether the editor should insert a newline after selecting a pattern from the completion list."
},
"hex-casting.enableDiagnostics": {
"type": "boolean",
"default": true,
"description": "Controls whether the editor should show diagnostics, such as warnings for unknown patterns."
},
"hex-casting.inlayHints.internalName": {
"type": "boolean",
"default": false,
"markdownDescription": "Enable/disable inlay hints for internal pattern names:\n\n```Mind's Reflection``` *get_caster*"
},
"hex-casting.inlayHints.macroName": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable/disable inlay hints for macros:\n\n```Counter's Queue``` *(macro)*"
},
"hex-casting.enabledMods": {
"type": "object",
"description": "Controls which mods are enabled. Patterns from disabled mods will not be recognized or suggested. Currently, macros will still work if Hexal is disabled, but this may change in a future update.",
"properties": {
"Hex Casting": {
"type": "boolean"
},
"Hexal": {
"type": "boolean"
},
"MoreIotas": {
"type": "boolean"
},
"HexTweaks": {
"type": "boolean"
},
"HexKinetics": {
"type": "boolean"
},
"Hexbound": {
"type": "boolean"
}
},
"required": [
"Hex Casting",
"Hexal",
"MoreIotas",
"HexTweaks",
"HexKinetics",
"Hexbound"
],
"additionalProperties": false,
"default": {
"Hex Casting": true,
"Hexal": true,
"MoreIotas": true,
"HexTweaks": true,
"HexKinetics": true,
"Hexbound": true
}
}
}
}
],
"commands": [
{
"command": "hex-casting.copySelectionAsBBCode",
"title": "Copy Selection as BBCode",
"enablement": "editorLangId == hexcasting && editorHasSelection && !editorHasMultipleSelections"
}
],
"menus": {
"commandPalette": [
{
"command": "hex-casting.copySelectionAsBBCode",
"when": "editorLangId == hexcasting"
}
]
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.74.0",
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"eslint": "^8.28.0",
"glob": "^8.0.3",
"mocha": "^10.1.0",
"typescript": "^4.9.3",
"@vscode/test-electron": "^2.2.0"
}
}