Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.95 KB
/
Copy pathpackage.json
File metadata and controls
91 lines (91 loc) · 2.95 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
{
"name": "@banou/media-player",
"version": "0.10.68",
"description": "A video player for containers and codecs the browser cannot play natively, remuxed on the fly",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./engine": {
"types": "./dist/engine/index.d.ts",
"import": "./dist/engine/index.js"
},
"./remote": {
"types": "./dist/remote/index.d.ts",
"import": "./dist/remote/index.js"
},
"./language": {
"types": "./dist/language/index.d.ts",
"import": "./dist/language/index.js"
},
"./chapters": {
"types": "./dist/chapters/index.d.ts",
"import": "./dist/chapters/index.js"
},
"./volume-normalizer-worklet.js": "./dist/volume-normalizer-worklet.js",
"./noto-sans-jp.otf": "./src/lib/assets/noto-sans-jp.otf",
"./package.json": "./package.json"
},
"files": [
"dist",
"src/lib"
],
"scripts": {
"dev": "npm run copy-assets && vp dev --port 4560",
"build": "shx rm -rf build/ && npm run copy-assets && vp build",
"preview": "vp preview",
"build-lib": "shx rm -rf dist/ && vp build -c vite.lib.config.ts && shx cp src/lib/audio/volume-normalizer-worklet.js dist/ && npm run types",
"prepublishOnly": "npm run build-lib",
"types": "tsc -p tsconfig.lib.json",
"copy-assets": "shx mkdir -p public && npm run copy-libav",
"copy-libav": "shx cp node_modules/libav-wasm/build/worker.js public/libav-worker.js && shx cp node_modules/libav-wasm/build/libav.wasm public/libav.wasm && shx cp node_modules/libav-wasm/build/libav-jspi.wasm public/libav-jspi.wasm",
"test": "npm run copy-assets && npm run fixtures && vp test run",
"fixtures": "node scripts/fixture.mjs"
},
"author": "Banou26",
"dependencies": {
"@banou/ponyfill": "^0.0.18",
"@formatjs/intl": "^6.1.4",
"@videojs/core": "10.0.0-beta.26",
"@videojs/react": "10.0.0-beta.26",
"ass-compiler": "^0.1.16",
"jassub": "^2.5.37",
"libav-wasm": "^0.8.19",
"lucide-react": "^0.536.0",
"osra": "^0.6.12",
"react-tooltip": "^5.28.0"
},
"peerDependencies": {
"@emotion/react": "^11.14.0",
"react": "^19.0.0"
},
"devDependencies": {
"@emotion/react": "^11.14.0",
"@formatjs/cli": "^6.16.35",
"@types/node": "^22.20.1",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "^6.0.3",
"@vitest/browser-playwright": "4.1.11",
"playwright": "^1.62.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"shx": "^0.3.4",
"typescript": "^7.0.2",
"vite": "npm:@voidzero-dev/vite-plus-core@0.3.3",
"vite-plus": "0.3.3",
"vitest-browser-react": "^2.2.0"
},
"overrides": {
"vite": "npm:@voidzero-dev/vite-plus-core@0.3.3",
"vitest": "4.1.11"
},
"repository": {
"type": "git",
"url": "git+https://github.com/banou26/media-player.git"
}
}