-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
125 lines (125 loc) · 3.59 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
{
"name": "bilibili-vup-stream-enhancer",
"displayName": "Bilibili Vup Stream Enhancer",
"version": "2.0.3",
"description": "管人观众专用直播增强扩展",
"author": "Eric Lam <tsukiko852@gmail.com>",
"license": "MIT",
"scripts": {
"dev": "pnpm clean && plasmo dev",
"dev:opera": "pnpm dev --target=opera-mv3",
"build": "plasmo build --no-minify",
"package": "plasmo package",
"clean": "run-script-os",
"clean:nix": "rm -rf build && rm -rf .plasmo",
"clean:windows": "if exist build rmdir /s /q build && if exist .plasmo rmdir /s /q .plasmo",
"test": "playwright test",
"test:prepare": "run-script-os",
"test:prepare:nix": "mv build/chrome-mv3-prod build/extension",
"test:prepare:windows": "move build\\chrome-mv3-prod build\\extension",
"test:rebuild": "pnpm clean && pnpm build && pnpm test:prepare"
},
"dependencies": {
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.0",
"@ffmpeg/core": "^0.12.6",
"@ffmpeg/core-mt": "^0.12.6",
"@ffmpeg/ffmpeg": "^0.12.10",
"@ffmpeg/util": "^0.12.1",
"@material-tailwind/react": "^2.1.9",
"@mlc-ai/web-llm": "^0.2.73",
"@plasmohq/messaging": "^0.6.2",
"@plasmohq/storage": "^1.9.3",
"@react-hooks-library/core": "^0.5.2",
"autoprefixer": "^10.4.19",
"brotli": "^1.3.3",
"dexie": "^3.2.7",
"dexie-react-hooks": "^1.1.7",
"hash-wasm": "^4.11.0",
"hls.js": "^1.5.8",
"markdown-to-jsx": "^7.5.0",
"media-chrome": "^2.2.5",
"mpegts.js": "^1.7.3",
"n-danmaku": "^2.2.1",
"plasmo": "^0.89.3",
"react": "18.2.0",
"react-contexify": "^6.0.0",
"react-dom": "18.2.0",
"react-joyride": "^2.8.0",
"react-rnd": "^10.4.1",
"react-shadow-root": "^6.2.0",
"react-state-proxy": "^1.4.11",
"semver": "7.6.0",
"sonner": "1.4.3",
"tailwindcss": "^3.4.1",
"virtual-scroller": "^1.12.4"
},
"devDependencies": {
"@ffmpeg/types": "^0.12.2",
"@ianvs/prettier-plugin-sort-imports": "^4.2.1",
"@playwright/test": "^1.48.0",
"@types/brotli": "^1.3.4",
"@types/chrome": "^0.0.254",
"@types/glob": "^8.1.0",
"@types/node": "20.9.0",
"@types/react": "18.2.37",
"@types/react-dom": "18.2.15",
"@types/semver": "^7.5.8",
"@webgpu/types": "^0.1.49",
"async-mutex": "^0.5.0",
"dotenv": "^16.4.5",
"esbuild": "^0.20.2",
"gify-parse": "^1.0.7",
"glob": "^10.3.10",
"jpeg-js": "^0.4.4",
"node-video-lib": "^2.2.3",
"postcss": "^8.4.38",
"prettier": "^3.2.5",
"run-script-os": "^1.1.6",
"typescript": "^5.6.3",
"ws": "^8.16.0"
},
"manifest": {
"host_permissions": [
"*://api.vtbs.moe/*",
"*://api.bilibili.com/*",
"*://api.live.bilibili.com/*",
"*://live.bilibili.com/*",
"*://*.bilivideo.com/*",
"*://*.ericlamm.xyz/*",
"*://*.cloudflare.com/*"
],
"permissions": [
"notifications",
"storage",
"tabs",
"contextMenus",
"scripting",
"activeTab"
],
"web_accessible_resources": [
{
"matches": [
"*://live.bilibili.com/*"
],
"resources": [
"*.wasm",
"tabs/jimaku.html",
"tabs/stream.html"
]
}
],
"content_security_policy": {
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'; worker-src 'self' 'wasm-unsafe-eval';"
},
"cross_origin_embedder_policy": {
"value": "require-corp"
},
"cross_origin_opener_policy": {
"value": "same-origin"
},
"action": {
"default_title": "前往設定界面"
}
}
}