-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpackage.json
617 lines (617 loc) · 24.3 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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
{
"activationEvents": [
"onLanguage:papyrus",
"onLanguage:papyrus-project",
"workspaceContains:**/*.psc",
"workspaceContains:**/*.ppj",
"onDebug",
"onDebugInitialConfigurations",
"onDebugResolve:papyrus",
"onView:papyrus-projects"
],
"author": {
"email": "[email protected]",
"name": "Joel Day",
"url": "https://github.com/joelday"
},
"bugs": {
"url": "https://github.com/joelday/papyrus-lang/issues"
},
"categories": [
"Programming Languages"
],
"contributes": {
"breakpoints": [
{
"language": "papyrus"
}
],
"debuggers": [
{
"type": "papyrus",
"label": "Papyrus",
"languages": [
"papyrus"
],
"configurationAttributes": {
"attach": {
"properties": {
"game": {
"type": "string",
"enum": [
"fallout4",
"skyrimSpecialEdition"
]
},
"projectPath": {
"type": "string"
}
},
"required": [
"game"
]
},
"launch": {
"properties": {
"game": {
"type": "string",
"enum": [
"fallout4",
"skyrimSpecialEdition"
]
},
"projectPath": {
"type": "string"
}
},
"required": [
"game"
]
}
},
"configurationSnippets": [
{
"label": "Papyrus: Fallout 4",
"body": {
"name": "Fallout 4",
"type": "papyrus",
"request": "attach",
"game": "fallout4"
}
},
{
"label": "Papyrus: Fallout 4 (with .ppj)",
"body": {
"name": "Fallout 4 Project",
"type": "papyrus",
"request": "attach",
"game": "fallout4",
"projectPath": "^\"\\${workspaceFolder}/${1:Project.ppj}\""
}
},
{
"label": "Papyrus: Skyrim Special Edition/Anniversary Edition",
"body": {
"name": "Skyrim",
"type": "papyrus",
"request": "attach",
"game": "skyrimSpecialEdition"
}
},
{
"label": "Papyrus: Skyrim Special Edition/Anniversary Edition (with .ppj)",
"body": {
"name": "Skyrim Special Edition/Anniversary Edition Project",
"type": "papyrus",
"request": "attach",
"game": "skyrimSpecialEdition",
"projectPath": "^\"\\${workspaceFolder}/${1:Project.ppj}\""
}
}
]
}
],
"taskDefinitions": [
{
"type": "pyro",
"required": [
"projectFile"
],
"properties": {
"projectFile": {
"type": "string",
"description": "The path to the PPJ file relative to workspace folder (required)."
},
"logPath": {
"type": "string",
"description": "relative or absolute path to build log folder (if relative, must be relative to current working directory)"
},
"anonymize": {
"type": "boolean",
"description": "Allow anonymization of scripts. False here will override but must also be enabled in ppj to run."
},
"archive": {
"type": "boolean",
"description": "Allow ppj to enable archiving. False here will override but must also be enabled in ppj to run."
},
"incremental": {
"type": "boolean",
"description": "Allow incremental builds. False here will override but must also be enabled in ppj to run."
},
"parallelize": {
"type": "boolean",
"description": "Allow parallel compilation tasks. False here will override but must also be enabled in ppj to run."
},
"workerLimit": {
"type": "number",
"description": "Maximum workers for parallel compilation. Default value is number of CPU cores."
},
"compilerPath": {
"type": "string",
"description": "Relative or absolute path to PapyrusCompiler.exe. If relative, must be relative to current working directory."
},
"flagsPath": {
"type": "string",
"description": "Relative or absolute path to Papyrus Flags file. If relative, must be relative to ppj file location."
},
"outputPath": {
"type": "string",
"description": "Relative or absolute path to output folder. If relative, must be relative to ppj file location."
},
"game": {
"type": "string",
"enum": [
"fo4",
"sse",
"tesv"
],
"description": "Set game type (choices: fo4, tesv, sse). Overrides type in ppj."
},
"gamePath": {
"type": "string",
"description": "Relative or absolute path to game install directory. If relative, must be relative to current working directory. Default is based on registry and value of 'game' option."
},
"registryPath": {
"type": "string",
"description": "Path to Installed Path key in Windows Registry for the game."
},
"bsarchPath": {
"type": "string",
"description": "Relative or absolute path to bsarch.exe. If relative, must be relative to current working directory."
},
"archivePath": {
"type": "string",
"description": "Relative or absolute path to bsa/ba2 output file. If relative, must be relative to ppj file location."
},
"tempPath": {
"type": "string",
"description": "Relative or absolute path to temp folder. If relative, must be relative to current working directory."
}
}
}
],
"problemMatchers": [
{
"name": "PapyrusCompiler",
"owner": "external",
"fileLocation": "absolute",
"pattern": {
"regexp": "^(.*)\\((\\d+),(\\d+)\\):(.*)",
"file": 1,
"line": 2,
"column": 3,
"message": 4
}
}
],
"configuration": {
"properties": {
"papyrus.fallout4.enabled": {
"default": true,
"type": "boolean",
"markdownDescription": "Enable suppot for **Fallout 4**. Use the [Generate Project Files](command:papyrus.fallout4.generateProject) command to set up builds and the language server."
},
"papyrus.fallout4.creationKitIniFiles": {
"default": [
"CreationKit.ini",
"CreationKitCustom.ini"
],
"type": "array",
"items": {
"type": "string"
},
"description": "INI Files for Fallout 4 version of the Creation Kit."
},
"papyrus.fallout4.installPath": {
"default": "C:\\Program Files (x86)\\Steam\\steamapps\\common\\Fallout 4\\",
"type": "string",
"description": "Pathname of the directory where Fallout 4 is installed."
},
"papyrus.fallout4.ignoreDebuggerVersion": {
"default": false,
"type": "boolean",
"description": "Allow using old version of the debugger script extender plugin with Fallout 4."
},
"papyrus.fallout4.modDirectoryPath": {
"default": "",
"type": "string",
"description": "If you want to use a mod manager to manage the debugger plugin as a mod, set this to the path of the directory where installed mods for Fallout 4 are kept. Otherwise it will be installed in the game directory."
},
"papyrus.skyrim.enabled": {
"default": true,
"type": "boolean",
"description": "Enable support for Skyrim LE (\"Oldrim\"). This is not for Skyrim Special Edition/Anniversary Edition!"
},
"papyrus.skyrim.creationKitIniFiles": {
"default": [
"SkyrimEditor.ini"
],
"type": "array",
"items": {
"type": "string"
},
"description": "INI Files for the Oldrim version of the Creation Kit."
},
"papyrus.skyrim.installPath": {
"default": "C:\\Program Files (x86)\\Steam\\steamapps\\common\\Skyrim\\",
"type": "string",
"description": "Pathname of the directory where Oldrim Skyrim is installed."
},
"papyrus.skyrimSpecialEdition.enabled": {
"default": true,
"type": "boolean",
"markdownDescription": "Enable support for **Skyrim Special Edition/Anniversary Edition**. Use the [Generate Project Files](command:papyrus.skyrimSpecialEdition.generateProject) command to set up the language server and builds."
},
"papyrus.skyrimSpecialEdition.creationKitIniFiles": {
"default": [
"CreationKit.ini",
"CreationKitCustom.ini"
],
"type": "array",
"items": {
"type": "string"
},
"description": "INI Files for the Skyrim Special Edition/Anniversary Edition version of the Creation Kit."
},
"papyrus.skyrimSpecialEdition.installPath": {
"default": "C:\\Program Files (x86)\\Steam\\steamapps\\common\\Skyrim Special Edition\\",
"type": "string",
"description": "Pathname of the directory where Skyrim Special Edition/Anniversary Edition is installed."
},
"papyrus.skyrimSpecialEdition.ignoreDebuggerVersion": {
"default": false,
"type": "boolean",
"description": "Allow using old version of the debugger script extender plugin with Skyrim Special Edition/Anniversary Edition."
},
"papyrus.skyrimSpecialEdition.modDirectoryPath": {
"default": "",
"type": "string",
"description": "If you want to use a mod manager to manage the debugger plugin as a mod, set this to the path of the directory where installed mods for Skyrim SE/AE are kept. Otherwise it will be installed in the game directory."
}
},
"title": "Papyrus",
"type": "object"
},
"grammars": [
{
"language": "papyrus",
"path": "./syntaxes/papyrus/papyrus.tmLanguage",
"scopeName": "source.papyrus"
},
{
"language": "papyrus-assembly",
"path": "./syntaxes/papyrus-assembly/papyrus-assembly.tmLanguage",
"scopeName": "source.papyrus assembly"
},
{
"language": "papyrus-project",
"path": "./syntaxes/papyrus-project/papyrus-project.json",
"scopeName": "text.xml.papyrus-project"
}
],
"snippets": [
{
"language": "papyrus",
"path": "./snippets/papyrus/papyrus.json"
},
{
"language": "papyrus",
"path": "./snippets/papyrus/papyrus-fallout4.json"
}
],
"languages": [
{
"aliases": [
"Papyrus"
],
"configuration": "./syntaxes/papyrus/papyrus-language-configuration.json",
"extensions": [
".psc"
],
"id": "papyrus"
},
{
"aliases": [
"Papyrus Assembly"
],
"extensions": [
".disassemble.pas"
],
"id": "papyrus-assembly"
},
{
"aliases": [
"Papyrus Project"
],
"configuration": "./syntaxes/papyrus-project/papyrus-project-language-configuration.json",
"extensions": [
".ppj"
],
"id": "papyrus-project"
}
],
"commands": [
{
"category": "Papyrus",
"command": "papyrus.searchCreationKitWiki",
"title": "Search Creation Kit Wiki"
},
{
"category": "Papyrus",
"command": "papyrus.fallout4.installDebuggerSupport",
"title": "Install Papyrus debugging support for Fallout 4"
},
{
"category": "Debug",
"command": "papyrus.fallout4.attachDebugger",
"title": "Attach to Fallout 4"
},
{
"category": "Papyrus",
"command": "papyrus.skyrimSpecialEdition.installDebuggerSupport",
"title": "Install Papyrus debugging support for Skyrim Special Edition/Anniversary Edition"
},
{
"category": "Debug",
"command": "papyrus.skyrimSpecialEdition.attachDebugger",
"title": "Attach to Skyrim Special Edition/Anniversary Edition"
},
{
"category": "Papyrus",
"command": "papyrus.viewAssembly",
"title": "View Papyrus Assembly"
},
{
"category": "Papyrus",
"command": "papyrus.skyrimSpecialEdition.generateProject",
"title": "Generate Skyrim Special Edition/Anniversary Edition Project Files"
},
{
"category": "Papyrus",
"command": "papyrus.skyrim.generateProject",
"title": "Generate Skyrim LE Project Files"
},
{
"category": "Papyrus",
"command": "papyrus.fallout4.generateProject",
"title": "Generate Fallout 4 Project Files"
},
{
"category": "Papyrus",
"command": "papyrus.showWelcome",
"title": "Show Getting Started Help"
}
],
"menus": {
"commandPalette": [
{
"command": "papyrus.viewAssembly",
"when": "false"
},
{
"command": "papyrus.searchCreationKitWiki",
"when": "false"
}
],
"editor/context": [
{
"command": "papyrus.searchCreationKitWiki",
"group": "a_papyrus",
"when": "editorLangId == papyrus"
},
{
"command": "papyrus.viewAssembly",
"group": "a_papyrus",
"when": "editorLangId == papyrus"
}
],
"explorer/context": [
{
"command": "papyrus.viewAssembly",
"group": "a_papyrus",
"when": "resourceLangId == papyrus"
},
{
"command": "papyrus.skyrimSpecialEdition.generateProject",
"group": "a_papyrus",
"when": "config.papyrus.skyrimSpecialEdition.enabled && explorerResourceIsFolder"
},
{
"command": "papyrus.skyrim.generateProject",
"group": "a_papyrus",
"when": "config.papyrus.skyrim.enabled && explorerResourceIsFolder"
},
{
"command": "papyrus.fallout4.generateProject",
"group": "a_papyrus",
"when": "config.papyrus.fallout4.enabled && explorerResourceIsFolder"
}
],
"view/title": [
{
"command": "papyrus.fallout4.generateProject",
"when": "view == papyrus-projects && config.papyrus.fallout4.enabled"
},
{
"command": "papyrus.skyrimSpecialEdition.generateProject",
"when": "view == papyrus-projects && config.papyrus.skyrimSpecialEdition.enabled"
},
{
"command": "papyrus.skyrim.generateProject",
"when": "view == papyrus-projects && config.papyrus.skyrim.enabled"
},
{
"command": "papyrus.showWelcome",
"when": "view == papyrus-projects"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "papyrus-views",
"title": "Papyrus",
"icon": "resources/activitybar-scroll.svg"
}
]
},
"views": {
"papyrus-views": [
{
"id": "papyrus-projects",
"name": "Project Explorer"
}
]
}
},
"contributors": [
{
"email": "[email protected]",
"name": "Joel Day",
"url": "https://github.com/joelday"
},
{
"email": "[email protected]",
"name": "Scrivener07",
"url": "https://github.com/Scrivener07"
},
{
"name": "shad0wshayd3",
"url": "https://github.com/shad0wshayd3"
},
{
"name": "rjstone",
"url": "https://github.com/rjstone"
},
{
"name": "fireundubh",
"url": "https://github.com/fireundubh"
},
{
"name": "nikitalita",
"url": "https://github.com/nikitalita"
}
],
"dependencies": {
"@semantic-release/exec": "^6.0.3",
"@types/semantic-release": "^17.2.4",
"deepmerge": "^4.2.2",
"fast-deep-equal": "^3.1.3",
"ini": "^3.0.1",
"inversify": "^6.0.1",
"md5-file": "^5.0.0",
"ps-list": "^6.3.0",
"reflect-metadata": "^0.1.13",
"rxjs": "^6.6.7",
"semver": "^7.3.8",
"vscode-debugprotocol": "^1.37.0",
"vscode-languageclient": "^5.2.1",
"winreg": "^1.2.4",
"xml-js": "^1.6.11"
},
"description": "Advanced language support for Bethesda Game Studio's Papyrus scripting language.",
"devDependencies": {
"@semantic-release/changelog": "^6.0.2",
"@semantic-release/git": "^10.0.1",
"@types/ini": "^1.3.31",
"@types/mocha": "^10.0.1",
"@types/node": "^18.11.18",
"@types/semver": "^7.3.13",
"@types/vscode": "^1.74.0",
"@types/winreg": "^1.2.31",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"@vscode/test-electron": "2.2.0",
"@vscode/vsce": "^2.16.0",
"conventional-changelog-conventionalcommits": "^8.0.0",
"conventional-changelog-cli": "^5.0.0",
"cpr": "^3.0.1",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"fork-ts-checker-webpack-plugin": "^7.2.14",
"prettier": "^3.0.3",
"rimraf": "^3.0.2",
"semantic-release": "^24.1.2",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"typescript": "^4.9.4",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"
},
"displayName": "Papyrus",
"engines": {
"vscode": "^1.74.0"
},
"homepage": "https://github.com/joelday/papyrus-lang/tree/main/src/papyrus-lang-vscode",
"icon": "images/icon-small.png",
"keywords": [
"Papyrus",
"Fallout 4",
"Skyrim",
"Scripting",
"Modding",
"Creation Kit"
],
"main": "./dist/PapyrusExtension",
"maintainers": [
{
"email": "[email protected]",
"name": "Joel Day",
"url": "https://github.com/joelday"
}
],
"name": "papyrus-lang-vscode",
"preview": false,
"private": true,
"publisher": "joelday",
"repository": {
"type": "git",
"url": "https://github.com/joelday/papyrus-lang"
},
"sponsor": {
"url": "https://github.com/sponsors/joelday"
},
"scripts": {
"copy-bin": "rimraf ./bin && cpr ../DarkId.Papyrus.Host/bin/ ./bin/ -o",
"copy-debug-bin": "rimraf ./debug-bin && cpr ../DarkId.Papyrus.DebugAdapterProxy/bin/ ./debug-bin/ -o",
"copy-license": "cpr ../../LICENSE ./LICENSE -o",
"clean": "rimraf dist",
"compile": "webpack --mode development",
"compile:release": "webpack --mode production",
"test": "npm run compile && node ./node_modules/vscode/bin/test",
"generate-version-number": "ts-node ./scripts/generate-version-number.mjs",
"semantic-release": "npm run copy-license && npm run generate-changelog && semantic-release",
"generate-changelog": "npm version %VERSION% && conventional-changelog -r 0 --preset conventionalcommits -o CHANGELOG.md && npm version 0.0.0",
"lint": "eslint ."
},
"version": "0.0.0",
"prettier": {
"tabWidth": 4,
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": true,
"arrowParens": "always",
"printWidth": 120
}
}