mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-15 22:08:03 +00:00
Implements SnapdomFrameSource class that loads compositions in hidden iframes, seeks via window.__hf.seek(), and captures DOM frames using @zumer/snapdom. Adds jsdom dev dependency for the test environment. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
38 lines
836 B
JSON
38 lines
836 B
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"
|
|
},
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./src/index.ts",
|
|
"types": "./src/index.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:^"
|
|
}
|
|
}
|