-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
79 lines (79 loc) · 2.01 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
{
"name": "bilibili-live-danmaku",
"displayName": "Bilibili live danmaku",
"description": "Connect to the live danmaku of Bilibili",
"version": "1.0.2",
"publisher": "Discreater",
"author": "Discreater <[email protected]>",
"engines": {
"vscode": "^1.44.0"
},
"homepage": "https://github.com/Discreater/Bilibili-Live-Danmaku-vscode#readme",
"repository": {
"type": "git",
"url": "https://github.com/Discreater/Bilibili-Live-Danmaku-vscode"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:bilibili-live-danmaku.launch"
],
"main": "./out/main.js",
"license": "MIT",
"contributes": {
"commands": [
{
"command": "bilibili-live-danmaku.launch",
"title": "Live Danmaku: Launch"
},
{
"command": "bilibili-live-danmaku.relaunch",
"title": "Live Danmaku: Relaunch"
},
{
"command": "bilibili-live-danmaku.stop",
"title": "Live Danmaku: Stop"
}
],
"configuration": {
"title": "BiliBili Live Danmaku",
"properties": {
"danmaku.Room ID": {
"type": [
"integer",
"null"
],
"minimum": 1,
"scope": "application",
"default": null,
"description": "Set the live room ID."
}
}
}
},
"scripts": {
"vscode:package": "pnpm vsce package --no-dependencies",
"vscode:publish": "pnpm vsce publish --no-dependencies",
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "pnpm compile && pnpm lint"
},
"devDependencies": {
"@antfu/eslint-config": "^0.27.0",
"@types/node": "^18.11.2",
"@types/vscode": "1.44.0",
"esbuild": "^0.15.12",
"eslint": "^8.25.0",
"typescript": "^4.8.4",
"vsce": "^2.12.0"
},
"dependencies": {
"bili-live-danmaku": "^1.2.1"
}
}