-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
112 lines (112 loc) · 3.03 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
{
"name": "opensr-file-cloning",
"displayName": "OpenSR Toolset",
"description": "Performs a number of useful functions related to modding Star Ruler 2.",
"version": "0.2.0",
"publisher": "open-star-ruler",
"license": "MIT",
"engines": {
"vscode": "^1.67.0"
},
"categories": [
"Other"
],
"repository": {"type": "git", "url": "https://github.com/OpenSRProject/OpenStarRuler-FileCloner"},
"activationEvents": [
"workspaceContains:**/modinfo.txt",
"onCommand:opensr-file-cloning.findBaseFiles",
"onCommand:opensr-file-cloning.registerMod",
"onCommand:opensr-file-cloning.cloneBaseFile",
"onCommand:opensr-file-cloning.cloneModFile",
"onCommand:opensr-file-cloning.compareBaseFile",
"onCommand:opensr-file-cloning.compareModFile"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "opensr-file-cloning.findBaseFiles",
"title": "OpenSR Toolset: Find Base Files"
},
{
"command": "opensr-file-cloning.registerMod",
"title": "OpenSR Toolset: Register Mod"
},
{
"command": "opensr-file-cloning.cloneBaseFile",
"title": "OpenSR Toolset: Clone Base File"
},
{
"command": "opensr-file-cloning.cloneModFile",
"title": "OpenSR Toolset: Clone Mod File"
},
{
"command": "opensr-file-cloning.compareBaseFile",
"title": "OpenSR Toolset: Compare Base File"
},
{
"command": "opensr-file-cloning.compareModFile",
"title": "OpenSR Toolset: Compare Mod File"
}
],
"configuration": {
"type": "object",
"title": "OpenSR Toolset",
"properties": {
"opensr-file-cloning.baseGameFolder": {
"type": "string",
"default": "",
"description": "Path to Star Ruler 2 installation folder.",
"title": "Base Game Folder"
},
"opensr-file-cloning.registeredMods": {
"type": "object",
"default": {},
"title": "Registered Mods",
"description": "A mapping of mod names to their respective folders."
}
}
}
},
"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",
"lint:fix": "eslint src --ext ts --fix",
"test": "node ./out/test/runTest.js",
"vscode:pack": "vsce package",
"precommit": "lint-staged --concurrent false"
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix"
],
"*.{js,ts,md,json,yml,yaml}": [
"prettier --write"
]
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "14.x",
"@types/vscode": "^1.67.0",
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"@vscode/test-electron": "^2.1.3",
"eslint": "^8.14.0",
"eslint-plugin-jsdoc": "^39.3.2",
"eslint-plugin-no-null": "^1.0.2",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"glob": "^8.0.1",
"husky": "^8.0.1",
"lint-staged": "^13.0.0",
"mocha": "^9.2.2",
"prettier": "^2.6.2",
"typescript": "^4.6.4",
"vsce": "^2.9.1"
},
"dependencies": {}
}