-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
139 lines (139 loc) · 4.16 KB
/
package.json
File metadata and controls
139 lines (139 loc) · 4.16 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "ambient-music-vs-extension",
"displayName": "Ambient Music AutoPlayer by Taj",
"icon": "media/logo.png",
"description": "Auto-play ambient music when a VS Code project",
"version": "1.6.1",
"publisher": "taj154dev",
"author": "Taj",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/taj54/ambient-music-vs-extension.git"
},
"engines": {
"vscode": "^1.80.0"
},
"keywords": [
"ambient",
"music",
"audio",
"focus",
"relaxation",
"vs-code",
"vscode-extension",
"background music",
"autoplay",
"productivity",
"youtube playlist",
"taj",
"taj154dev",
"nature sounds",
"rain sounds",
"forest",
"lofi",
"chill",
"vs music player"
],
"categories": [
"Other"
],
"main": "./dist/src/extension.js",
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"commands": [
{
"command": "ambientMusic.setPlaylist",
"title": "ambient-taj: 🎶 Set Playlist (Rain, Forest, Ocean...)"
},
{
"command": "ambientMusic.openTab",
"title": "ambient-taj: 🌐 Open Ambient Music Player"
},
{
"command": "ambientMusic.play",
"title": "ambient-taj: ▶️ Play Ambient Music"
},
{
"command": "ambientMusic.pause",
"title": "ambient-taj: ⏸️ Pause Music"
},
{
"command": "ambientMusic.resume",
"title": "ambient-taj: ⏯ Resume Music"
},
{
"command": "ambientMusic.closeTab",
"title": "ambient-taj: ❌ Close Music Player"
},
{
"command": "ambientMusic.resetPlaylist",
"title": "ambient-taj: 🔄 Reset Playlist to Default"
}
],
"configuration": {
"title": "Ambient Music Settings",
"properties": {
"ambientMusic.autoPlayOnStartup": {
"type": "boolean",
"default": true,
"description": "Automatically start ambient music when VS Code launches"
},
"ambientMusic.port": {
"type": "number",
"default": 3303,
"description": "Port for the ambient music WebSocket server. Set to 0 for dynamic port."
},
"ambientMusic.switchIntervalMinutes": {
"type": "number",
"default": 30,
"description": "How often (in minutes) to switch to the next ambient video from the playlist."
},
"ambientMusic.debug": {
"type": "boolean",
"default": false,
"description": "Enable verbose debug logging for Ambient Music."
},
"ambientMusic.playlist": {
"type": "array",
"description": "Custom playlist of YouTube videos with metadata.",
"markdownDescription": "🎵 A custom playlist of YouTube videos.\n\nEach item must include:\n- `title` (string): Video title (required)\n- `url` (string): YouTube video URL (required)\n- `tags` (array of strings): Optional tags\n- `channel` (object): Channel info with `name` and `url`\n\n**Example:**\n```json\n{\n \"title\": \"Peaceful Piano\",\n \"url\": \"https://youtu.be/abc123\",\n \"tags\": [\"piano\", \"relax\"],\n \"channel\": {\n \"name\": \"Chill Music Co.\",\n \"url\": \"https://youtube.com/@chillmusicco\"\n }\n}\n```"
}
}
}
},
"scripts": {
"build": "pnpm run compile && pnpm exec vsce package --no-dependencies",
"compile": "pnpm exec tsup",
"watch": "pnpm exec tsup --watch",
"test": "pnpm run compile && node ./dist/test/runTest.js"
},
"packageManager": "pnpm@10.15.0",
"devDependencies": {
"@types/chai": "^5.2.2",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.10",
"@types/node": "^24.0.4",
"@types/sinon": "^17.0.4",
"@types/vscode": "^1.80.0",
"@types/ws": "^8.18.1",
"@vscode/test-electron": "^2.5.2",
"@vscode/vsce": "^3.6.0",
"chai": "^5.2.0",
"glob": "^11.0.3",
"mocha": "^11.7.1",
"sinon": "^21.0.0",
"ts-node": "^10.9.2",
"tsup": "^8.5.0",
"vscode-test": "^1.6.1"
},
"dependencies": {
"ws": "8.11.0"
},
"optionalDependencies": {
"bufferutil": "4.0.6",
"utf-8-validate": "5.0.10"
}
}