@margoengine/xr 0.1.0 → 1.0.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,153 +1,154 @@
1
- {
2
- "name": "@margoengine/xr",
3
- "version": "0.1.0",
4
- "description": "Optional WebGPU WebXR sessions, input poses and stereo rendering for Margo Engine, with real-device runs (./device-check).",
5
- "keywords": [
6
- "margoengine",
7
- "webgpu",
8
- "3d",
9
- "webxr",
10
- "vr",
11
- "ar"
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/xr"
21
- },
22
- "license": "Apache-2.0",
23
- "author": "Scott Campbell",
24
- "type": "module",
25
- "publishConfig": {
26
- "access": "public"
27
- },
28
- "scripts": {
29
- "build": "node ../../scripts/build-optional.js xr",
30
- "test": "npm run build && node --test tests/*.test.js",
31
- "prepack": "npm run build",
32
- "test:gpu:pointers": "cd ../.. && node packages/xr/tests/pointer.browser.mjs",
33
- "test:gpu:locomotion": "cd ../.. && node packages/xr/tests/locomotion.browser.mjs",
34
- "test:gpu:hands": "cd ../.. && node packages/xr/tests/hands.browser.mjs",
35
- "test:gpu:ar-extra": "cd ../.. && node packages/xr/tests/ar-extra.browser.mjs",
36
- "test:gpu:performance": "cd ../.. && node packages/xr/tests/performance.browser.mjs",
37
- "test:gpu:view-layers": "cd ../.. && node packages/xr/tests/view-layers.browser.mjs",
38
- "test:gpu:occlusion": "cd ../.. && node packages/xr/tests/occlusion.browser.mjs",
39
- "test:gpu:reflection": "cd ../.. && node packages/xr/tests/reflection.browser.mjs"
40
- },
41
- "sideEffects": false,
42
- "exports": {
43
- ".": {
44
- "types": "./dist/index.d.ts",
45
- "import": "./dist/index.js"
46
- },
47
- "./device-check": {
48
- "types": "./dist/device-check.d.ts",
49
- "import": "./dist/device-check.js"
50
- },
51
- "./models": {
52
- "types": "./dist/models.d.ts",
53
- "import": "./dist/models.js"
54
- },
55
- "./ar": {
56
- "types": "./dist/ar.d.ts",
57
- "import": "./dist/ar.js"
58
- },
59
- "./occlusion": {
60
- "types": "./dist/occlusion.d.ts",
61
- "import": "./dist/occlusion.js"
62
- },
63
- "./session": {
64
- "types": "./dist/session.d.ts",
65
- "import": "./dist/session.js"
66
- },
67
- "./launch": {
68
- "types": "./dist/launch.d.ts",
69
- "import": "./dist/launch.js"
70
- },
71
- "./reflection": {
72
- "types": "./dist/reflection.d.ts",
73
- "import": "./dist/reflection.js"
74
- },
75
- "./layers": {
76
- "types": "./dist/layers.d.ts",
77
- "import": "./dist/layers.js"
78
- },
79
- "./interaction": {
80
- "types": "./dist/interaction.d.ts",
81
- "import": "./dist/interaction.js"
82
- },
83
- "./pointer": {
84
- "types": "./dist/pointer.d.ts",
85
- "import": "./dist/pointer.js"
86
- },
87
- "./locomotion": {
88
- "types": "./dist/locomotion.d.ts",
89
- "import": "./dist/locomotion.js"
90
- },
91
- "./hands": {
92
- "types": "./dist/hands.d.ts",
93
- "import": "./dist/hands.js"
94
- },
95
- "./ar-extra": {
96
- "types": "./dist/ar-extra.d.ts",
97
- "import": "./dist/ar-extra.js"
98
- },
99
- "./body": {
100
- "types": "./dist/body.d.ts",
101
- "import": "./dist/body.js"
102
- },
103
- "./performance": {
104
- "types": "./dist/performance.d.ts",
105
- "import": "./dist/performance.js"
106
- },
107
- "./near": {
108
- "types": "./dist/near.d.ts",
109
- "import": "./dist/near.js"
110
- },
111
- "./gizmo": {
112
- "types": "./dist/gizmo.d.ts",
113
- "import": "./dist/gizmo.js"
114
- }
115
- },
116
- "files": [
117
- "dist",
118
- "NOTICE"
119
- ],
120
- "peerDependencies": {
121
- "@margoengine/core": "^0.1.0",
122
- "@margoengine/selection": "^0.1.0",
123
- "@margoengine/animation": "^0.1.0",
124
- "@margoengine/gltf": "^0.1.0",
125
- "@margoengine/geometry": "^0.1.0"
126
- },
127
- "dependencies": {
128
- "@margoengine/math": "^0.1.0"
129
- },
130
- "peerDependenciesMeta": {
131
- "@margoengine/selection": {
132
- "optional": true
133
- },
134
- "@margoengine/animation": {
135
- "optional": true
136
- },
137
- "@margoengine/gltf": {
138
- "optional": true
139
- },
140
- "@margoengine/geometry": {
141
- "optional": true
142
- }
143
- },
144
- "margo": {
145
- "gpuTestTimeoutMinutes": {
146
- "test:gpu:pointers": 3,
147
- "test:gpu:locomotion": 3,
148
- "test:gpu:hands": 3,
149
- "test:gpu:ar-extra": 3,
150
- "test:gpu:performance": 3
151
- }
152
- }
153
- }
1
+ {
2
+ "name": "@margoengine/xr",
3
+ "version": "1.0.0",
4
+ "description": "Optional WebGPU WebXR sessions, input poses and stereo rendering for Margo Engine, with real-device runs (./device-check).",
5
+ "keywords": [
6
+ "margoengine",
7
+ "webgpu",
8
+ "3d",
9
+ "webxr",
10
+ "vr",
11
+ "ar"
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/xr"
21
+ },
22
+ "license": "Apache-2.0",
23
+ "author": "Scott Campbell",
24
+ "type": "module",
25
+ "publishConfig": {
26
+ "access": "public"
27
+ },
28
+ "scripts": {
29
+ "build": "node ../../scripts/build-optional.js xr",
30
+ "test": "npm run build && node --test tests/*.test.js",
31
+ "prepack": "npm run build",
32
+ "test:gpu:pointers": "cd ../.. && node packages/xr/tests/pointer.browser.mjs",
33
+ "test:gpu:locomotion": "cd ../.. && node packages/xr/tests/locomotion.browser.mjs",
34
+ "test:gpu:hands": "cd ../.. && node packages/xr/tests/hands.browser.mjs",
35
+ "test:gpu:ar-extra": "cd ../.. && node packages/xr/tests/ar-extra.browser.mjs",
36
+ "test:gpu:performance": "cd ../.. && node packages/xr/tests/performance.browser.mjs",
37
+ "test:gpu:view-layers": "cd ../.. && node packages/xr/tests/view-layers.browser.mjs",
38
+ "test:gpu:ar-effects": "cd ../.. && node packages/xr/tests/ar-effects.browser.mjs",
39
+ "test:gpu:occlusion": "cd ../.. && node packages/xr/tests/occlusion.browser.mjs",
40
+ "test:gpu:reflection": "cd ../.. && node packages/xr/tests/reflection.browser.mjs"
41
+ },
42
+ "sideEffects": false,
43
+ "exports": {
44
+ ".": {
45
+ "types": "./dist/index.d.ts",
46
+ "import": "./dist/index.js"
47
+ },
48
+ "./device-check": {
49
+ "types": "./dist/device-check.d.ts",
50
+ "import": "./dist/device-check.js"
51
+ },
52
+ "./models": {
53
+ "types": "./dist/models.d.ts",
54
+ "import": "./dist/models.js"
55
+ },
56
+ "./ar": {
57
+ "types": "./dist/ar.d.ts",
58
+ "import": "./dist/ar.js"
59
+ },
60
+ "./occlusion": {
61
+ "types": "./dist/occlusion.d.ts",
62
+ "import": "./dist/occlusion.js"
63
+ },
64
+ "./session": {
65
+ "types": "./dist/session.d.ts",
66
+ "import": "./dist/session.js"
67
+ },
68
+ "./launch": {
69
+ "types": "./dist/launch.d.ts",
70
+ "import": "./dist/launch.js"
71
+ },
72
+ "./reflection": {
73
+ "types": "./dist/reflection.d.ts",
74
+ "import": "./dist/reflection.js"
75
+ },
76
+ "./layers": {
77
+ "types": "./dist/layers.d.ts",
78
+ "import": "./dist/layers.js"
79
+ },
80
+ "./interaction": {
81
+ "types": "./dist/interaction.d.ts",
82
+ "import": "./dist/interaction.js"
83
+ },
84
+ "./pointer": {
85
+ "types": "./dist/pointer.d.ts",
86
+ "import": "./dist/pointer.js"
87
+ },
88
+ "./locomotion": {
89
+ "types": "./dist/locomotion.d.ts",
90
+ "import": "./dist/locomotion.js"
91
+ },
92
+ "./hands": {
93
+ "types": "./dist/hands.d.ts",
94
+ "import": "./dist/hands.js"
95
+ },
96
+ "./ar-extra": {
97
+ "types": "./dist/ar-extra.d.ts",
98
+ "import": "./dist/ar-extra.js"
99
+ },
100
+ "./body": {
101
+ "types": "./dist/body.d.ts",
102
+ "import": "./dist/body.js"
103
+ },
104
+ "./performance": {
105
+ "types": "./dist/performance.d.ts",
106
+ "import": "./dist/performance.js"
107
+ },
108
+ "./near": {
109
+ "types": "./dist/near.d.ts",
110
+ "import": "./dist/near.js"
111
+ },
112
+ "./gizmo": {
113
+ "types": "./dist/gizmo.d.ts",
114
+ "import": "./dist/gizmo.js"
115
+ }
116
+ },
117
+ "files": [
118
+ "dist",
119
+ "NOTICE"
120
+ ],
121
+ "peerDependencies": {
122
+ "@margoengine/core": "^1.0.0",
123
+ "@margoengine/selection": "^1.0.0",
124
+ "@margoengine/animation": "^1.0.0",
125
+ "@margoengine/gltf": "^1.0.0",
126
+ "@margoengine/geometry": "^1.0.0"
127
+ },
128
+ "dependencies": {
129
+ "@margoengine/math": "^1.0.0"
130
+ },
131
+ "peerDependenciesMeta": {
132
+ "@margoengine/selection": {
133
+ "optional": true
134
+ },
135
+ "@margoengine/animation": {
136
+ "optional": true
137
+ },
138
+ "@margoengine/gltf": {
139
+ "optional": true
140
+ },
141
+ "@margoengine/geometry": {
142
+ "optional": true
143
+ }
144
+ },
145
+ "margo": {
146
+ "gpuTestTimeoutMinutes": {
147
+ "test:gpu:pointers": 3,
148
+ "test:gpu:locomotion": 3,
149
+ "test:gpu:hands": 3,
150
+ "test:gpu:ar-extra": 3,
151
+ "test:gpu:performance": 3
152
+ }
153
+ }
154
+ }