@uptimizr/unity 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 ADDED
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "@uptimizr/unity",
3
+ "version": "0.1.0",
4
+ "description": "Unity (WebGL export) connector for Uptimizr — 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
+ "unity",
10
+ "webgl",
11
+ "webassembly",
12
+ "heatmap",
13
+ "session-replay",
14
+ "privacy"
15
+ ],
16
+ "license": "Apache-2.0",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/RaananW/Uptimizr.git",
20
+ "directory": "oss/packages/unity"
21
+ },
22
+ "bugs": {
23
+ "url": "https://github.com/RaananW/Uptimizr/issues"
24
+ },
25
+ "homepage": "https://uptimizr.com/docs/connectors/unity/",
26
+ "author": "Raanan Weber (https://github.com/RaananW)",
27
+ "publishConfig": {
28
+ "access": "public"
29
+ },
30
+ "type": "module",
31
+ "sideEffects": false,
32
+ "exports": {
33
+ ".": {
34
+ "types": "./dist/index.d.ts",
35
+ "import": "./dist/index.js"
36
+ }
37
+ },
38
+ "files": [
39
+ "dist",
40
+ "bridge",
41
+ "README.md",
42
+ "LICENSE"
43
+ ],
44
+ "dependencies": {
45
+ "@uptimizr/schema": "0.6.1",
46
+ "@uptimizr/sdk-core": "0.5.1",
47
+ "@uptimizr/web-export": "0.1.0"
48
+ },
49
+ "devDependencies": {
50
+ "esbuild": "^0.28.2",
51
+ "jsdom": "^30.0.1",
52
+ "vitest": "^4.1.11"
53
+ },
54
+ "scripts": {
55
+ "build": "tsc -p tsconfig.json && pnpm run bundle && pnpm run bundle:global",
56
+ "bundle": "esbuild src/index.ts --bundle --format=esm --platform=browser --target=es2022 --minify --legal-comments=none --banner:js=\"/* @uptimizr/unity standalone bundle — Apache-2.0. Async-import into a Unity WebGL export's host page. */\" --outfile=dist/uptimizr-unity.js",
57
+ "bundle:global": "esbuild src/index.ts --bundle --format=iife --global-name=UptimizrUnity --platform=browser --target=es2022 --minify --legal-comments=none --banner:js=\"/* @uptimizr/unity standalone bundle (global) — Apache-2.0. Inject via a <script> tag into a Unity WebGL export host page; exposes window.UptimizrUnity. */\" --outfile=dist/uptimizr-unity.global.js",
58
+ "dev": "tsc -p tsconfig.json --watch",
59
+ "typecheck": "tsc -p tsconfig.json --noEmit",
60
+ "test": "vitest run",
61
+ "lint": "eslint .",
62
+ "clean": "rm -rf dist"
63
+ }
64
+ }