-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
158 lines (158 loc) · 3.8 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
{
"name": "tmodloader-helper",
"displayName": "TModLoader助手",
"description": "TModLoader",
"version": "0.1.0",
"publisher": "Mantodea",
"engines": {
"vscode": "^1.63.0"
},
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/DDDDDragon/TModLoaderHelper"
},
"extensionDependencies": [
"ms-dotnettools.csharp"
],
"icon": "image/tModLoader.ico",
"activationEvents": [
"*",
"onCommand:tmodloaderhelper.helloWorld",
"onCommand:tmodloaderhelper.start",
"onCustomEditor:tmodloaderhelper.ui",
"onLanguage:csharp"
],
"main": "./out/extension.js",
"contributes": {
"snippets": [
{
"language": "csharp",
"path": "./snippets/csharp.json"
},
{
"language": "csharp",
"path": "./snippets/ItemName.json"
}
],
"customEditors": [
{
"viewType": "tmodloaderhelper.ui",
"displayName": "可视化UI设计",
"selector": [
{
"filenamePattern": "*.cs"
}
]
}
],
"commands": [
{
"command": "tmodloaderhelper.helloWorld",
"title": "Hello World"
},
{
"command": "tmodloaderhelper.Init",
"title": "初始化mod制作配置"
},
{
"command": "tmodloaderhelper.createmod",
"title": "创建新mod"
},
{
"command": "tmodloaderhelper.1·3=>1·4",
"title": "1.3=>1.4"
},
{
"command": "tmodloaderhelper.refresh",
"title": "刷新树视图"
}
],
"views": {
"itemView": [
{
"id": "itemView-item",
"name": "Item",
"when": ""
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "itemView",
"title": "Item View",
"icon": "image/tree.svg"
}
],
"panel": [
{
"id": "package-explorer",
"title": "Package Explorer",
"icon": "media/dep.svg"
}
]
},
"configuration": {
"type": "object",
"title": "TModLoaderHelper",
"properties": {
"tmodloaderhelper.itemTranslationSetting": {
"type": "string",
"default": "中文",
"description": "物品的优先显示翻译",
"enum": [
"中文",
"English"
],
"enumDescriptions": [
"选择此项所有物品显示栏会优先显示物品的中文翻译名字",
"Choose this then all the item shower will firstly show its English translated name"
]
},
"tmodloaderhelper.TModLoaderPath": {
"type": "string",
"default": "",
"description": "TModLoader的路径"
},
"tmodloaderhelper.ModSourcesPath": {
"type": "string",
"default": "",
"description": "ModSources的路径"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/fs-extra": "^9.0.13",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.0.0",
"@types/node": "^14.18.26",
"@types/vscode": "^1.63.0",
"@types/winreg": "^1.2.31",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"@vscode/test-electron": "^2.0.3",
"eslint": "^8.6.0",
"glob": "^7.2.0",
"mocha": "^9.1.3",
"typescript": "^4.5.4"
},
"dependencies": {
"@types/useragent": "^2.3.1",
"fs-extra": "^10.0.0",
"install": "^0.13.0",
"typed-rest-client": "^1.8.9",
"winreg": "^1.2.4"
}
}