-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
30 lines (30 loc) · 1.09 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
{
"name": "m3u8",
"private": true,
"version": "0.0.0",
"type": "module",
"description": "🎥 HLS Streaming Player",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"chrome:manifest": "BROWSER=chrome node manifest.js",
"firefox:manifest": "BROWSER=firefox node manifest.js",
"build:firefox": "NODE_ENV=production BROWSER=firefox vite build && npm run firefox:manifest",
"build:chrome": "NODE_ENV=production BROWSER=chrome vite build && npm run chrome:manifest",
"zip:chrome": "NODE_ENV=production BROWSER=chrome npm run build:chrome && npm run chrome:manifest && (cd dist; zip -r ../chrome.zip .)",
"zip:firefox": "NODE_ENV=production BROWSER=firefox npm run build:firefox && npm run firefox:manifest && (cd dist; zip -r ../firefox.zip .)"
},
"dependencies": {
"hls.js": "^1.2.8",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-sweet-state": "^2.6.5"
},
"devDependencies": {
"@types/react": "^18.0.24",
"@types/react-dom": "^18.0.8",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.3"
}
}