Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
173 lines (173 loc) · 6.58 KB
/
Copy pathpackage.json
File metadata and controls
173 lines (173 loc) · 6.58 KB
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
{
"name": "vortex-extension-helper",
"displayName": "Vortex Extension Helper",
"description": "Helps create and validate Vortex game support extensions",
"version": "0.2.0",
"publisher": "der-floh",
"license": "MIT",
"icon": "assets/vortex-icon-x512.png",
"repository": {
"type": "git",
"url": "https://github.com/Der-Floh/Vortex-Extension-Helper"
},
"bugs": {
"url": "https://github.com/Der-Floh/Vortex-Extension-Helper/issues"
},
"homepage": "https://github.com/Der-Floh/Vortex-Extension-Helper",
"markdown": "github",
"qna": "https://github.com/Der-Floh/Vortex-Extension-Helper/issues",
"keywords": [
"vortex",
"vortex-api",
"nexusmods",
"nexus-mods",
"modding",
"game-mods",
"mod-manager",
"game-extension",
"vortex-extension",
"typescript",
"intellisense",
"scaffolding"
],
"engines": {
"vscode": "^1.105.0"
},
"categories": [
"Snippets",
"Linters",
"Other"
],
"extensionKind": [
"workspace"
],
"capabilities": {
"untrustedWorkspaces": {
"supported": "limited",
"description": "In Restricted Mode the extension only detects and checks Vortex game extensions. Installing dependencies and libraries runs npm, which needs a trusted workspace."
},
"virtualWorkspaces": {
"supported": false,
"description": "Vortex game extensions are built with npm, which needs a real file system."
}
},
"activationEvents": [
"workspaceContains:package.json"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "vortexHelper.newGameSupportExtension",
"title": "New Game Support Extension",
"category": "Vortex"
},
{
"command": "vortexHelper.setupVortexApi",
"title": "Install Dependencies",
"category": "Vortex"
},
{
"command": "vortexHelper.scaffoldGameExtension",
"title": "Create Missing Files",
"category": "Vortex"
},
{
"command": "vortexHelper.runWorkspaceChecks",
"title": "Run Workspace Checks",
"category": "Vortex"
},
{
"command": "vortexHelper.openDocumentation",
"title": "Open Extension Documentation",
"category": "Vortex"
},
{
"command": "vortexHelper.addVortexLibrary",
"title": "Add Vortex Library",
"category": "Vortex"
}
],
"menus": {
"commandPalette": [
{
"command": "vortexHelper.setupVortexApi",
"when": "vortexHelper.isVortexWorkspace && isWorkspaceTrusted"
},
{
"command": "vortexHelper.scaffoldGameExtension",
"when": "vortexHelper.isVortexWorkspace"
},
{
"command": "vortexHelper.runWorkspaceChecks",
"when": "workspaceFolderCount > 0"
},
{
"command": "vortexHelper.addVortexLibrary",
"when": "vortexHelper.isVortexWorkspace && isWorkspaceTrusted"
}
]
},
"configuration": {
"title": "Vortex Extension Helper",
"properties": {
"vortexHelper.useNexusApi": {
"type": "boolean",
"default": true,
"order": 0,
"markdownDescription": "Pick the game from the public Nexus Mods game list when creating a game support extension. When off, or when the list can't be loaded, **Vortex: New Game Support Extension** asks for the game's name and Nexus Mods domain."
},
"vortexHelper.author": {
"type": "string",
"default": "",
"order": 1,
"markdownDescription": "Author written to `package.json` of new game support extensions. When empty, **Vortex: New Game Support Extension** asks for it."
},
"vortexHelper.askSteamAppId": {
"type": "boolean",
"default": true,
"order": 2,
"markdownDescription": "Ask for the game's Steam app id when creating a game support extension. When off, `src/common/constants` gets the placeholder `STEAM_APP_ID`, which **Vortex: Run Workspace Checks** reports."
},
"vortexHelper.askExecutable": {
"type": "boolean",
"default": true,
"order": 3,
"markdownDescription": "Ask for the game's executable, relative to the game folder, when creating a game support extension. When off, the placeholder `GAME_EXECUTABLE.exe` is used."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "npm run check-types && npm run lint && node esbuild.mjs",
"watch": "node ./node_modules/npm-run-all/bin/npm-run-all/index.js -p watch:*",
"watch:esbuild": "node esbuild.mjs --watch",
"watch:tsc": "node ./node_modules/typescript/bin/tsc --noEmit --watch --project tsconfig.json",
"package": "node ./node_modules/@vscode/vsce/vsce package --no-dependencies",
"compile-tests": "node esbuild.mjs --tests",
"pretest": "npm run check-types && npm run compile-tests",
"check-types": "node ./node_modules/typescript/bin/tsc --noEmit",
"lint": "node ./node_modules/eslint/bin/eslint.js src",
"test": "node ./out/test/runTests.js"
},
"devDependencies": {
"@types/bluebird": "3.5.20",
"@types/mocha": "^10.0.10",
"@types/node": "26.x",
"@types/vscode": "~1.105.0",
"@typescript-eslint/eslint-plugin": "^8.71.1",
"@typescript-eslint/parser": "^8.71.1",
"@vscode/test-electron": "^3.1.0",
"@vscode/vsce": "^4.0.0",
"esbuild": "^0.28.2",
"eslint": "^10.12.0",
"mocha": "^12.0.3",
"npm-run-all": "^4.1.5",
"typescript": "~6.0.3",
"vortex-api": "github:Nexus-Mods/vortex-api"
},
"dependencies": {
"jsonc-parser": "^3.3.1"
}
}