mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-14 18:01:20 +08:00
f10cd056f7
- Capture doc.body instead of doc.documentElement in SnapDOM to fix 75% viewport mismatch - Make audio track conditional (hasAudio flag) to prevent corrupt empty audio tracks - Add publishConfig for npm publishing - Wire ProgressTracker for estimatedTimeRemaining and captureRate in progress callbacks - Recompute video overlay canvas position per-frame for GSAP-animated elements - Add AbortSignal to captureAll for cancel propagation Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
53 lines
1.1 KiB
JSON
53 lines
1.1 KiB
JSON
{
|
|
"name": "@hyperframes/renderer",
|
|
"version": "0.0.1",
|
|
"description": "Client-side video renderer for HyperFrames compositions",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/heygen-com/hyperframes",
|
|
"directory": "packages/renderer"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./src/index.ts",
|
|
"types": "./src/index.ts"
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "vitest run",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@zumer/snapdom": "^2.8.0",
|
|
"mediabunny": "^1.40.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jsdom": "^28.0.1",
|
|
"jsdom": "^29.0.2",
|
|
"typescript": "^5.0.0",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"peerDependencies": {
|
|
"@hyperframes/core": "workspace:^"
|
|
}
|
|
}
|