-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
155 lines (155 loc) · 4.28 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
{
"name": "pwl-chat",
"displayName": "摸鱼派聊天室",
"description": "随时随地摸鱼聊天 https://fishpi.cn/",
"version": "0.0.22",
"engines": {
"vscode": "^1.62.0"
},
"categories": [
"Other"
],
"keywords": [
"摸鱼",
"聊天室",
"PWL",
"休闲",
"不加班",
"反内卷"
],
"activationEvents": [],
"publisher": "hancel",
"license": "MIT",
"icon": "media/logo.png",
"main": "./out/extension.js",
"repository": "https://github.com/imlinhanchao/vsc-pwl-chat",
"contributes": {
"commands": [
{
"command": "pwl-chat.login",
"title": "摸鱼派: 登录聊天室(PWL Chatroom Login)"
},
{
"command": "pwl-chat.logout",
"title": "摸鱼派: 注销登录(PWL Chatroom Logout)"
},
{
"command": "pwl-chat.register",
"title": "摸鱼派: 注册账号(PWL Chatroom Register)"
},
{
"command": "pwl-chat.textMode",
"title": "摸鱼派: 文字模式(PWL Chatroom Text Mode)"
},
{
"command": "pwl-chat.richMode",
"title": "摸鱼派: 图文模式(PWL Chatroom Rich Mode)"
},
{
"command": "pwl-chat.barrageColor",
"title": "摸鱼派: 弹幕颜色设置(PWL Chatroom Barrage Color)"
},
{
"command": "pwl-chat.reloadHook",
"title": "摸鱼派: 重载 Hook 脚本(PWL Chatroom Reload Hook)"
}
],
"configuration": {
"title": "摸鱼派聊天室",
"properties": {
"pwl-chat.viewType": {
"type": "string",
"enum": [
"图文模式",
"文字模式"
],
"default": "图文模式",
"markdownDescription": "聊天室显示模式,文字图片将隐藏一切图片与大多数样式。",
"enumDescriptions": [
"完整显示模式,包含图片和红包内容",
"仅显示文字,隐藏一切图片和大多数样式"
]
},
"pwl-chat.barrageColor": {
"type": "string",
"default": "#ffffff",
"markdownDescription": "弹幕颜色设置,支持十六进制颜色值。",
"pattern": "^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$"
},
"pwl-chat.hook": {
"type": "string",
"default": "",
"markdownDescription": "扩展注入脚本本地路径。[[开发说明]](https://github.com/imlinhanchao/vsc-pwl-chat#%E6%89%A9%E5%B1%95%E6%B3%A8%E5%85%A5)"
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "pwl-chat-view",
"title": "摸鱼派",
"icon": "media/logo.svg"
}
]
},
"views": {
"pwl-chat-view": [
{
"id": "pwl-chat.chatView",
"name": "聊天室",
"type": "webview"
},
{
"id": "pwl-chat.redpacketView",
"name": "发红包",
"type": "webview",
"visibility": "collapsed"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile && npm run build",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"serve": "vue-cli-service serve",
"build": "vue-cli-service build"
},
"devDependencies": {
"@types/audio-play": "^2.3.0",
"@types/glob": "^7.1.4",
"@types/mocha": "^9.0.0",
"@types/node": "14.x",
"@types/sound-play": "^1.1.0",
"@types/vscode": "^1.62.0",
"@types/ws": "^8.2.2",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"@vscode/test-electron": "^1.6.2",
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-eslint": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"babel-eslint": "^10.1.0",
"core-js": "^3.6.5",
"eslint": "^6.7.2",
"eslint-plugin-vue": "^6.2.2",
"glob": "^7.1.7",
"less": "^4.1.2",
"less-loader": "^5.0.0",
"mocha": "^9.1.3",
"typescript": "^4.4.4",
"vue": "^2.6.11",
"vue-template-compiler": "^2.6.11"
},
"dependencies": {
"audio-play": "^2.3.1",
"axios": "^0.24.0",
"form-data": "^4.0.0",
"reconnecting-websocket": "^4.4.0",
"sound-play": "^1.1.0",
"utf-8-validate": "^5.0.2",
"ws": "^8.3.0"
}
}