@margoengine/headless 0.0.0-stage → 0.1.0

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,122 @@
1
- {
2
- "name": "@margoengine/headless",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
1
+ {
2
+ "name": "@margoengine/headless",
3
+ "version": "0.1.0",
4
+ "description": "Render without a browser page: a stand-in canvas for core, GPU globals from the WebGPU binding you pass in, and readback to RGBA pixels or PNG bytes.",
5
+ "keywords": [
6
+ "margoengine",
7
+ "webgpu",
8
+ "headless",
9
+ "node",
10
+ "thumbnail",
11
+ "png"
12
+ ],
13
+ "homepage": "https://margoengine.com",
14
+ "bugs": {
15
+ "url": "https://github.com/scottcampbelldata/margoengine/issues"
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/scottcampbelldata/margoengine.git",
20
+ "directory": "packages/headless"
21
+ },
22
+ "license": "Apache-2.0",
23
+ "author": "Scott Campbell",
24
+ "type": "module",
25
+ "sideEffects": false,
26
+ "exports": {
27
+ ".": {
28
+ "types": "./dist/index.d.ts",
29
+ "import": "./dist/index.js"
30
+ },
31
+ "./frames": {
32
+ "types": "./dist/frames.d.ts",
33
+ "import": "./dist/frames.js"
34
+ },
35
+ "./video": {
36
+ "types": "./dist/video.d.ts",
37
+ "import": "./dist/video.js"
38
+ },
39
+ "./ffmpeg": {
40
+ "types": "./dist/ffmpeg.d.ts",
41
+ "import": "./dist/ffmpeg.js"
42
+ },
43
+ "./ffmpeg-files": {
44
+ "types": "./dist/ffmpeg-files.d.ts",
45
+ "import": "./dist/ffmpeg-files.js"
46
+ },
47
+ "./stage": {
48
+ "types": "./dist/stage.d.ts",
49
+ "import": "./dist/stage.js"
50
+ },
51
+ "./compare": {
52
+ "types": "./dist/compare.d.ts",
53
+ "import": "./dist/compare.js"
54
+ },
55
+ "./formats": {
56
+ "types": "./dist/formats.d.ts",
57
+ "import": "./dist/formats.js"
58
+ },
59
+ "./tiles": {
60
+ "types": "./dist/tiles.d.ts",
61
+ "import": "./dist/tiles.js"
62
+ },
63
+ "./accumulate": {
64
+ "types": "./dist/accumulate.d.ts",
65
+ "import": "./dist/accumulate.js"
66
+ },
67
+ "./null": {
68
+ "types": "./dist/null.d.ts",
69
+ "import": "./dist/null.js"
70
+ },
71
+ "./gif": {
72
+ "types": "./dist/gif.d.ts",
73
+ "import": "./dist/gif.js"
74
+ },
75
+ "./look": {
76
+ "types": "./dist/look.d.ts",
77
+ "import": "./dist/look.js"
78
+ }
79
+ },
80
+ "files": [
81
+ "dist",
82
+ "LICENSE",
83
+ "NOTICE"
84
+ ],
85
+ "publishConfig": {
86
+ "access": "public"
87
+ },
88
+ "peerDependencies": {
89
+ "@margoengine/core": "^0.1.0",
90
+ "@margoengine/stage": "^0.1.0",
91
+ "@margoengine/environment": "^0.1.0",
92
+ "@margoengine/exporters": "^0.1.0",
93
+ "@margoengine/post": "^0.1.0"
94
+ },
95
+ "scripts": {
96
+ "build": "node ../../scripts/build-optional.js headless",
97
+ "test": "npm run build && node --test tests/*.test.js",
98
+ "test:real-ffmpeg": "npm run build && node scripts/test-real-ffmpeg.mjs && node scripts/test-real-ffmpeg-files.mjs",
99
+ "test:gpu": "cd ../.. && node packages/headless/tests/browser-check.mjs && node packages/headless/tests/node-check.mjs && node packages/headless/tests/transparent-gpu.mjs",
100
+ "prepack": "npm run build",
101
+ "test:gpu:gif": "cd ../.. && node packages/headless/tests/gif-gpu.mjs",
102
+ "test:gpu:tiles": "cd ../.. && node packages/headless/tests/tiles-gpu.mjs",
103
+ "test:gpu:accumulate": "cd ../.. && node packages/headless/tests/accumulate-gpu.mjs"
104
+ },
105
+ "peerDependenciesMeta": {
106
+ "@margoengine/stage": {
107
+ "optional": true
108
+ },
109
+ "@margoengine/environment": {
110
+ "optional": true
111
+ },
112
+ "@margoengine/exporters": {
113
+ "optional": true
114
+ },
115
+ "@margoengine/post": {
116
+ "optional": true
117
+ }
118
+ },
119
+ "dependencies": {
120
+ "@margoengine/math": "^0.1.0"
121
+ }
122
+ }