-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
213 lines (213 loc) · 5.09 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": "genesis-code",
"displayName": "Genesis Code",
"description": "Sega genesis Development Extension",
"version": "1.5.1",
"icon": "imgs/genesiscodeicon.png",
"publisher": "Zerasul",
"license": "See LICENSE in LICENSE",
"keywords": [
"genesis",
"sgdk",
"gendev",
"sega",
"mega drive",
"retrodev"
],
"engines": {
"vscode": "^1.92.0"
},
"categories": [
"Programming Languages",
"Snippets",
"Other",
"Debuggers"
],
"activationEvents": [
"*"
],
"main": "./out/extension.js",
"contributes": {
"customEditors": [
{
"viewType": "genesiscode.imageViewer",
"displayName": "SGDK Image Preview",
"selector": [
{
"filenamePattern": "*.bmp"
},
{
"filenamePattern": "*.png"
},
{
"filenamePattern": "*.jpg"
},
{
"filenamePattern": "*.jpeg"
}
],
"priority": "option"
}
],
"commands": [
{
"command": "extension.cleancode",
"title": "Genesis Code: clean"
},
{
"command": "extension.createproject",
"title": "Genesis Code: Create Project"
},
{
"command": "extension.compileproject",
"title": "Genesis Code: Compile Project"
},
{
"command": "extension.runproject",
"title": "Genesis Code: Run Project"
},
{
"command": "extension.setrunpath",
"title": "Genesis Code: Set Gens Emulator Command Path"
},
{
"command": "extension.compileandrunproject",
"title": "Genesis Code: Compile & Run Project"
},
{
"command": "extension.compile4debug",
"title": "Genesis Code: Compile For Debugging"
},
{
"command": "extension.tmximport",
"title": "Genesis Code: Import TMX File"
},
{
"command": "extension.tmxjsonimport",
"title": "Genesis Code: Import Json TMX File"
},
{
"command": "extension.aboutgenscode",
"title": "Genesis Code: About"
}
],
"languages": [
{
"id": "Sgdk Resource File",
"extensions": [".res"],
"configuration": "./resources/language-configuration.json"
}
],
"grammars": [
{
"language": "Sgdk Resource File",
"scopeName": "source.res",
"path": "./resources/res_grammar.json"
}
],
"configuration": [
{
"title": "Genesis Code",
"properties": {
"gens.path": {
"title": "Gens Emulator Command path",
"type": "string",
"default": "gens",
"description": "Set the Gens Emulator command path"
},
"toolchainType": {
"title": "ToolChain Type",
"type": "string",
"enum": [
"sgdk/gendev",
"marsdev",
"docker"
],
"enumDescriptions": [
"Uses SGDK Library or GENDEV on Linux",
"Uses MarsDev Toolchain",
"Used Docker for build with SGDK docker"
],
"default": "sgdk/gendev",
"description": "Defines the ToolChain to Use SGDK/Gendev type or use MarsDev Toolchain"
},
"dockerTag":{
"title": "Tag value for Docker",
"type": "string",
"default": "",
"description": "Defines tag value will use in a Docker build leaves empty for default no use tag"
},
"doragasuImage":{
"title": "Doragasu Image",
"type":"boolean",
"default":false,
"description": "Uses a Doragasu Gitlab Image"
},
"custom-makefile": {
"title": "Custom MakeFile",
"type": "string",
"default": "",
"description": "Set the Custom Makefile for use. leaves empty for default SGDK, GENDEV or MARSDEV Makefile"
},
"MARSDEV": {
"title": "MARSDEV environment variable",
"type": "string",
"default": "",
"description": "Set the $MARSDEV environment variable. leave empty for use system default"
},
"GENDEV": {
"title": "GENDEV environment variable",
"type": "string",
"default": "",
"description": "Set the $GENDEV environment variable. leave empty for use system default"
},
"GDK": {
"title": "GDK environment variable",
"type": "string",
"default": "",
"description": "Set the $GDK environment variable. leave empty for use system default"
},
"addStatusBarButtons":{
"title": "Add Status Bar Buttons",
"type": "boolean",
"default":false,
"description": "Adds Status bar Auxiliar Buttons"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js",
"coverage": "nyc --reporter=lcov --reporter=text node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.7",
"@types/vscode": "^1.92.0",
"glob": "^8.0.3",
"mocha": "^10.7.0",
"nyc": "^17.0.0",
"tslint": "^6.1.3",
"typescript": "^5.5.4",
"@vscode/test-electron": "^2.4.1",
"yarn": "^1.22.22",
"@swc/core": "^1.7.4",
"@swc/wasm": "^1.7.4"
},
"dependencies": {
"@zerasul/image-read-helper": "^0.0.1",
"fast-xml-parser": "^4.4.1",
"@types/node": "^22.0.2"
},
"bugs": {
"url": "https://github.com/zerasul/genesis-code/issues"
},
"repository": {
"url": "https://github.com/zerasul/genesis-code"
}
}