@uptimizr/unreal 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/LICENSE +201 -0
- package/README.md +75 -0
- package/bridge/README.md +106 -0
- package/bridge/Uptimizr.cpp +204 -0
- package/bridge/Uptimizr.h +103 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +50 -0
- package/dist/index.js.map +1 -0
- package/dist/uptimizr-unreal.global.js +58 -0
- package/dist/uptimizr-unreal.js +58 -0
- package/package.json +62 -0
package/package.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@uptimizr/unreal",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Unreal Engine (web export) connector for Uptimizr — best-effort, pending a viable WASM/HTML5 target. JS-only pointer/perf capture plus a bridged camera-pose / world-space tier via a thin engine-side shim.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"uptimizr",
|
|
7
|
+
"analytics",
|
|
8
|
+
"3d",
|
|
9
|
+
"unreal",
|
|
10
|
+
"webassembly",
|
|
11
|
+
"heatmap",
|
|
12
|
+
"session-replay",
|
|
13
|
+
"privacy"
|
|
14
|
+
],
|
|
15
|
+
"license": "Apache-2.0",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/RaananW/Uptimizr.git",
|
|
19
|
+
"directory": "oss/packages/unreal"
|
|
20
|
+
},
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/RaananW/Uptimizr/issues"
|
|
23
|
+
},
|
|
24
|
+
"homepage": "https://uptimizr.com/docs/connectors/unreal/",
|
|
25
|
+
"author": "Raanan Weber (https://github.com/RaananW)",
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"access": "public"
|
|
28
|
+
},
|
|
29
|
+
"type": "module",
|
|
30
|
+
"sideEffects": false,
|
|
31
|
+
"exports": {
|
|
32
|
+
".": {
|
|
33
|
+
"types": "./dist/index.d.ts",
|
|
34
|
+
"import": "./dist/index.js"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"files": [
|
|
38
|
+
"dist",
|
|
39
|
+
"bridge",
|
|
40
|
+
"README.md",
|
|
41
|
+
"LICENSE"
|
|
42
|
+
],
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"@uptimizr/schema": "0.6.1",
|
|
45
|
+
"@uptimizr/web-export": "0.1.0",
|
|
46
|
+
"@uptimizr/sdk-core": "0.5.1"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"esbuild": "^0.28.2",
|
|
50
|
+
"vitest": "^4.1.11"
|
|
51
|
+
},
|
|
52
|
+
"scripts": {
|
|
53
|
+
"build": "tsc -p tsconfig.json && pnpm run bundle && pnpm run bundle:global",
|
|
54
|
+
"bundle": "esbuild src/index.ts --bundle --format=esm --platform=browser --target=es2022 --minify --legal-comments=none --banner:js=\"/* @uptimizr/unreal standalone bundle — Apache-2.0. Async-import into an Unreal web export's host page. Best-effort, pending a viable WASM target. */\" --outfile=dist/uptimizr-unreal.js",
|
|
55
|
+
"bundle:global": "esbuild src/index.ts --bundle --format=iife --global-name=UptimizrUnreal --platform=browser --target=es2022 --minify --legal-comments=none --banner:js=\"/* @uptimizr/unreal standalone bundle (global) — Apache-2.0. Inject via a <script> tag into an Unreal web export host page; exposes window.UptimizrUnreal. */\" --outfile=dist/uptimizr-unreal.global.js",
|
|
56
|
+
"dev": "tsc -p tsconfig.json --watch",
|
|
57
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
58
|
+
"test": "vitest run",
|
|
59
|
+
"lint": "eslint .",
|
|
60
|
+
"clean": "rm -rf dist"
|
|
61
|
+
}
|
|
62
|
+
}
|