html-video-element-webworker-polyfill 0.0.0-stage → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,111 @@
1
1
  {
2
2
  "name": "html-video-element-webworker-polyfill",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.1",
4
+ "description": "HTMLVideoElement inside Web Workers: a main-thread <video> mirrored into the worker with synchronous state, events and VideoFrames, plus Canvas 2D / WebGL / WebGPU polyfills.",
5
+ "keywords": [
6
+ "htmlvideoelement",
7
+ "offscreencanvas",
8
+ "polyfill",
9
+ "video",
10
+ "videoframe",
11
+ "webcodecs",
12
+ "webgl",
13
+ "webgpu",
14
+ "webworker",
15
+ "worker"
16
+ ],
17
+ "homepage": "https://stepancar.github.io/html-video-element-webworker-polyfill/",
18
+ "bugs": {
19
+ "url": "https://github.com/stepancar/html-video-element-webworker-polyfill/issues"
20
+ },
21
+ "license": "Apache-2.0",
22
+ "author": "Stepan Mikhailiuk",
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "git+https://github.com/stepancar/html-video-element-webworker-polyfill.git"
26
+ },
27
+ "files": [
28
+ "dist",
29
+ "README.md",
30
+ "LICENSE"
31
+ ],
32
+ "type": "module",
33
+ "sideEffects": [
34
+ "./dist/auto.js"
35
+ ],
36
+ "main": "./dist/index.js",
37
+ "module": "./dist/index.js",
38
+ "types": "./dist/index.d.ts",
39
+ "exports": {
40
+ ".": {
41
+ "types": "./dist/index.d.ts",
42
+ "default": "./dist/index.js"
43
+ },
44
+ "./host": {
45
+ "types": "./dist/host.d.ts",
46
+ "default": "./dist/host.js"
47
+ },
48
+ "./worker": {
49
+ "types": "./dist/worker.d.ts",
50
+ "default": "./dist/worker.js"
51
+ },
52
+ "./canvas2d": {
53
+ "types": "./dist/canvas2d.d.ts",
54
+ "default": "./dist/canvas2d.js"
55
+ },
56
+ "./webgl": {
57
+ "types": "./dist/webgl.d.ts",
58
+ "default": "./dist/webgl.js"
59
+ },
60
+ "./webgpu": {
61
+ "types": "./dist/webgpu.d.ts",
62
+ "default": "./dist/webgpu.js"
63
+ },
64
+ "./image-bitmap": {
65
+ "types": "./dist/image-bitmap.d.ts",
66
+ "default": "./dist/image-bitmap.js"
67
+ },
68
+ "./auto": {
69
+ "types": "./dist/auto.d.ts",
70
+ "default": "./dist/auto.js"
71
+ },
72
+ "./package.json": "./package.json"
73
+ },
74
+ "publishConfig": {
75
+ "access": "public"
76
+ },
77
+ "scripts": {
78
+ "build": "tsdown",
79
+ "dev": "tsdown --watch",
80
+ "typecheck": "tsc -p . && tsc -p test && tsc -p demo && tsc -p tsconfig.node.json",
81
+ "lint": "oxlint",
82
+ "format": "oxfmt",
83
+ "format:check": "oxfmt --check",
84
+ "test": "vitest run",
85
+ "test:watch": "vitest",
86
+ "test:update": "vitest run --update",
87
+ "demo:dev": "vite demo",
88
+ "demo:build": "vite build demo",
89
+ "prepublishOnly": "npm run build",
90
+ "check:treeshake": "node scripts/check-treeshake.mjs",
91
+ "test:update-linux": "scripts/update-linux-screenshots.sh"
92
+ },
93
+ "devDependencies": {
94
+ "@types/node": "^26.6.5",
95
+ "@vitest/browser": "^5.0.4",
96
+ "@vitest/browser-playwright": "^5.0.4",
97
+ "@webgpu/types": "^0.1.74",
98
+ "highlight.js": "^11.12.0",
99
+ "oxfmt": "^0.73.0",
100
+ "oxlint": "^1.88.0",
101
+ "playwright": "^1.64.0",
102
+ "rolldown": "1.2.13",
103
+ "tsdown": "^0.23.1",
104
+ "typescript": "^7.0.2",
105
+ "vite": "^8.3.4",
106
+ "vitest": "^5.0.4"
107
+ },
108
+ "engines": {
109
+ "node": ">=20"
110
+ }
111
+ }