-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.53 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 loc) · 2.53 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
{
"name": "playsvideo",
"version": "0.4.7",
"description": "Play any video file in the browser — client-side remuxing and audio transcode, no server required.",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/kzahel/playsvideo"
},
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"dev": "vite",
"build": "pnpm run build:site && pnpm run build:lib",
"build:site": "vite build",
"build:lib": "rm -rf dist && tsc -p tsconfig.lib.json && mkdir -p dist/vendor && cp -r src/vendor/ffmpeg-core-audio dist/vendor/ffmpeg-core-audio",
"build:extension": "vite build --config vite.config.extension.ts",
"test": "vitest run",
"test:unit": "vitest run tests/unit",
"test:integration": "vitest run tests/integration",
"test:integration:hevc-gop": "vitest run tests/integration/hevc-gop-regression.test.ts",
"test:watch": "vitest",
"test:e2e": "npx playwright test",
"typecheck": "tsc --noEmit",
"format": "biome format --write .",
"format:check": "biome format .",
"lint": "biome lint .",
"check": "biome check --write .",
"download:ffmpeg-core": "node scripts/download-ffmpeg-core.mjs",
"setup": "pnpm install && pnpm run download:ffmpeg-core",
"deploy:worker": "cd worker && npx wrangler deploy",
"deploy:site": "pnpm run build:site && pnpm --filter app build && bash scripts/deploy.sh",
"deploy": "pnpm run deploy:site && pnpm run deploy:worker",
"prepublishOnly": "pnpm run build:lib",
"firebase:emulators": "JAVA_HOME=/opt/homebrew/opt/openjdk@21/libexec/openjdk.jdk/Contents/Home firebase emulators:start --only firestore,auth",
"test:sync": "FIRESTORE_EMULATOR_HOST=127.0.0.1:8080 FIREBASE_AUTH_EMULATOR_HOST=127.0.0.1:9099 vitest run tests/unit/sync"
},
"dependencies": {
"hls.js": "^1.5.0",
"mediabunny": "github:kzahel/mediabunny#integration"
},
"devDependencies": {
"@biomejs/biome": "^2.4.6",
"@playwright/test": "^1.58.2",
"@types/node": "^25.3.3",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "^4.0.0",
"dexie": "^4.0.0",
"dexie-react-hooks": "^1.1.0",
"firebase-tools": "^15.11.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-router-dom": "^7.0.0",
"typescript": "^5.7.0",
"video.js": "^8.23.7",
"vite": "^6.0.0",
"vitest": "^3.0.0"
}
}