-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.29 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 2.29 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
{
"name": "@mux/mux-background-video",
"version": "0.2.0",
"description": "A super lightweight component and HLS engine for creating background videos using Mux HLS streams.",
"author": "@muxinc",
"license": "MIT",
"homepage": "https://github.com/muxinc/mux-background-video#readme",
"bugs": {
"url": "https://github.com/muxinc/mux-background-video/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/muxinc/mux-background-video.git"
},
"type": "module",
"files": [
"src",
"dist"
],
"main": "dist/index.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/index.js"
},
"./dist/*": {
"import": "./dist/*",
"default": "./dist/*"
},
"./*.js": {
"import": "./dist/*.js",
"default": "./dist/*.js"
},
"./*": {
"types": "./dist/*.d.ts",
"import": "./dist/*.js",
"default": "./dist/*.js"
}
},
"scripts": {
"build": "run-s types \"build:** --\"",
"build:esm:core": "esbuild src/index.ts --bundle --minify --format=esm --outdir=dist",
"build:esm:react": "esbuild src/react.tsx --bundle --minify --format=esm --outdir=dist --external:react",
"build:esm:html": "esbuild src/html.ts --bundle --minify --format=esm --outdir=dist",
"types": "tsc --outDir dist",
"watch": "run-p \"types -- -w\" \"build:** -- --watch=forever\"",
"start": "run-p watch start:vercel",
"start:vercel": "(cd examples/vercel-function && npm run start)",
"test": "web-test-runner",
"test:browserstack": "web-test-runner --config web-test-runner.browserstack.config.mjs",
"setup:browserstack": "node scripts/setup-browserstack.js"
},
"devDependencies": {
"@open-wc/testing": "^4.0.0",
"@types/mocha": "^10.0.10",
"@types/react": "^19.1.12",
"@web/dev-server-esbuild": "^1.0.4",
"@web/test-runner": "^0.20.2",
"@web/test-runner-browserstack": "^0.8.0",
"@web/test-runner-mocha": "^0.9.0",
"dotenv": "^17.2.2",
"esbuild": "^0.25.9",
"mux-embed": "^5.11.0",
"npm-run-all": "^4.1.5",
"react": "^19.1.1",
"typescript": "^5.9.2"
},
"keywords": [
"hls",
"video",
"engine",
"video",
"mux",
"player",
"web-component",
"react"
]
}