-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 2.98 KB
/
Copy pathpackage.json
File metadata and controls
121 lines (121 loc) · 2.98 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
{
"name": "listencode",
"displayName": "ListenCode",
"description": "Listen1 port for VS Code - aggregate music from multiple platforms",
"version": "0.0.1",
"publisher": "listencode",
"license": "MIT",
"engines": {
"vscode": "^1.87.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "listencode.openPlayer",
"title": "Open Music Player",
"category": "ListenCode"
},
{
"command": "listencode.quickPlay",
"title": "Quick Play",
"category": "ListenCode"
},
{
"command": "listencode.togglePlay",
"title": "Toggle Play/Pause",
"category": "ListenCode"
},
{
"command": "listencode.login",
"title": "Login",
"category": "ListenCode"
},
{
"command": "listencode.importCookie",
"title": "Import Cookie",
"category": "ListenCode"
},
{
"command": "listencode.exportPlaylists",
"title": "Export Playlists",
"category": "ListenCode"
},
{
"command": "listencode.importPlaylists",
"title": "Import Playlists",
"category": "ListenCode"
}
],
"keybindings": [
{
"command": "listencode.openPlayer",
"key": "ctrl+shift+m",
"mac": "cmd+shift+m"
}
],
"configuration": {
"title": "ListenCode",
"properties": {
"listencode.sources": {
"type": "object",
"default": {
"netease": {
"enabled": true,
"priority": 1
},
"qq": {
"enabled": false,
"priority": 2
},
"kugou": {
"enabled": false,
"priority": 3
},
"bilibili": {
"enabled": false,
"priority": 4
}
},
"description": "音源平台配置(enabled=启用, priority=优先级)"
},
"listencode.autoLogin": {
"type": "boolean",
"default": true,
"description": "是否启用二维码自动登录"
}
}
}
},
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint src --ext ts",
"pretest": "yarn run compile && yarn run lint",
"test": "node test-all.js",
"vscode:prepublish": "npm run compile"
},
"devDependencies": {
"@types/howler": "^2.2.13",
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/qrcode": "^1.5.6",
"@types/vscode": "^1.87.0",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"@vscode/test-cli": "^0.0.6",
"@vscode/test-electron": "^2.3.9",
"eslint": "^8.56.0",
"typescript": "^5.3.3"
},
"dependencies": {
"axios": "^1.7.7",
"howler": "^2.2.4",
"node-forge": "^1.3.1",
"qrcode": "^1.5.4"
}
}