-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
154 lines (154 loc) · 4.16 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
{
"name": "webnowplaying-vscode",
"displayName": "WebNowPlaying-VSCode",
"description": "Shows current music using WebNowPlaying-Redux",
"version": "0.0.5",
"publisher": "ne0ekspert",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ne0ekspert/webnowplaying-vscode.git"
},
"engines": {
"vscode": "^1.77.0"
},
"categories": [
"Other"
],
"activationEvents": [ "onStartupFinished" ],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "wnpvscode.prevMusic",
"title": "WebNowPlaying-VSCode: Previous Music"
},
{
"command": "wnpvscode.togglePlayMusic",
"title": "WebNowPlaying-VSCode: Play/Pause Music"
},
{
"command": "wnpvscode.nextMusic",
"title": "WebNowPlaying-VSCode: Next Music"
},
{
"command": "wnpvscode.changeVolume",
"title": "WebNowPlaying-VSCode: Change Volume"
},
{
"command": "wnpvscode.toggleMute",
"title": "WebNowPlaying-VSCode: Toggle Mute"
},
{
"command": "wnpvscode.toggleRepeat",
"title": "WebNowPlaying-VSCode: Toggle Repeat"
},
{
"command": "wnpvscode.toggleShuffle",
"title": "WebNowPlaying-VSCode: Toggle Shuffle"
},
{
"command": "wnpvscode.toggleThumbsUp",
"title": "WebNowPlaying-VSCode: Toggle Thumbs Up"
},
{
"command": "wnpvscode.toggleThumbsDown",
"title": "WebNowPlaying-VSCode: Toggle Thumbs Down"
},
{
"command": "wnpvscode.toggleWebViewControl",
"title": "WebNowPlaying-VSCode: Toggle WebView Control"
}
],
"configuration":[
{
"id": "wnpsettings",
"title": "WebNowPlaying",
"properties": {
"WebNowPlaying.port": {
"type": "number",
"default": 1234
},
"WebNowPlaying.host": {
"type": "string",
"default": "127.0.0.1"
},
"WebNowPlaying.alignToRight": {
"type": "boolean",
"default": false
},
"WebNowPlaying.priority": {
"type": "number",
"default": 0,
"description": "Setting this higher will place status bar item to aligned direction"
},
"WebNowPlaying.infoFormat": {
"type": "string",
"default": "{play-icon} {artist} - {title} [{album}] {position} / {duration}",
"description": "Format of track info"
},
"WebNowPlaying.volumeFormat": {
"type": "string",
"default": "{volume-icon} {volume}%"
},
"WebNowPlaying.showVolume": {
"type": "boolean",
"default": true
},
"WebNowPlaying.showControl": {
"type": "boolean",
"default": true,
"description": "Show next/previous buttons"
},
"WebNowPlaying.showLyrics": {
"type": "boolean",
"default": true
},
"WebNowPlaying.lyricsFolder": {
"type": "string",
"default": "",
"description": "LRC lyrics stored folder path (trailing slash)"
}
}
}
]
},
"views": {
"explorer": [
{
"type": "webview",
"id": "wnpvscode.controlView",
"name": "WebNowPlaying"
}
]
},
"extensionKind": [
"ui"
],
"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/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.77.0",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"@vscode/test-electron": "^2.3.0",
"eslint": "^8.36.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"typescript": "^4.9.5"
},
"dependencies": {
"@types/ws": "^8.5.4",
"edge": "^7.10.1",
"ws": "^8.13.0"
}
}