@interlucent/pixel-stream 0.0.78

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,78 @@
1
+ {
2
+ "name": "@interlucent/pixel-stream",
3
+ "version": "0.0.78",
4
+ "description": "Self-contained W3C Web Component for Pixel Streaming with WebRTC, input handling, and session management",
5
+ "type": "module",
6
+ "main": "dist/pixel-stream.umd.js",
7
+ "module": "dist/pixel-stream.esm.js",
8
+ "browser": "dist/pixel-stream.iife.min.js",
9
+ "unpkg": "dist/pixel-stream.iife.min.js",
10
+ "jsdelivr": "dist/pixel-stream.iife.min.js",
11
+ "types": "dist/pixel-stream.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "import": "./dist/pixel-stream.esm.js",
15
+ "require": "./dist/pixel-stream.umd.js",
16
+ "types": "./dist/pixel-stream.d.ts"
17
+ },
18
+ "./min": "./dist/pixel-stream.iife.min.js"
19
+ },
20
+ "files": [
21
+ "dist/*.js",
22
+ "dist/*.d.ts",
23
+ "README.md"
24
+ ],
25
+ "scripts": {
26
+ "clean": "rm -rf dist",
27
+ "typecheck": "tsc --noEmit",
28
+ "build:esm": "rollup -c rollup.config.js --environment BUILD:esm",
29
+ "build:umd": "rollup -c rollup.config.js --environment BUILD:umd",
30
+ "build:iife": "rollup -c rollup.config.js --environment BUILD:iife",
31
+ "build:iife-min": "rollup -c rollup.config.js --environment BUILD:iife-min",
32
+ "build:types:intermediate": "tsc -p tsconfig.dts.json",
33
+ "build:types:rollup": "api-extractor run --local --verbose",
34
+ "build:types:cleanup": "rm -rf dist/.dts-build",
35
+ "build:types:strip-private": "node strip-private-dts.mjs",
36
+ "build:types": "pnpm run build:types:intermediate && pnpm run build:types:rollup && pnpm run build:types:cleanup && pnpm run build:types:strip-private",
37
+ "build": "pnpm run clean && pnpm run build:esm && pnpm run build:umd && pnpm run build:iife && pnpm run build:iife-min && pnpm run build:types",
38
+ "build:cdn": "pnpm run clean && pnpm run build:iife-min",
39
+ "deploy:cdn-dev": "pnpm run build:cdn && bash deploy-cdn.sh dev",
40
+ "deploy:cdn-prod": "pnpm run build:cdn && bash deploy-cdn.sh prod",
41
+ "deploy:cdn-staging": "pnpm run build:cdn && bash deploy-cdn.sh staging",
42
+ "dev": "rollup -c rollup.config.js --environment BUILD:esm --watch",
43
+ "serve": "npx http-server . -p 8080 -o example.html",
44
+ "prepublishOnly": "pnpm run build",
45
+ "size": "echo 'Bundle sizes:' && ls -lh dist/*.js"
46
+ },
47
+ "keywords": [
48
+ "pixel-streaming",
49
+ "unreal-engine",
50
+ "webcomponent",
51
+ "web-component",
52
+ "webrtc",
53
+ "gamepad",
54
+ "webxr",
55
+ "streaming",
56
+ "video",
57
+ "custom-element",
58
+ "interlucent"
59
+ ],
60
+ "author": "Interlucent",
61
+ "license": "UNLICENSED",
62
+ "devDependencies": {
63
+ "@interlucent/global": "workspace:*",
64
+ "@interlucent/logging": "workspace:*",
65
+ "@microsoft/api-extractor": "^7.57.6",
66
+ "@rollup/plugin-node-resolve": "^16.0.3",
67
+ "@rollup/plugin-replace": "^6.0.3",
68
+ "@rollup/plugin-terser": "^0.4.4",
69
+ "@rollup/plugin-typescript": "^11.1.6",
70
+ "@types/webxr": "^0.5.24",
71
+ "rollup": "^4.9.0",
72
+ "tslib": "^2.6.2",
73
+ "typescript": "^5.3.0"
74
+ },
75
+ "publishConfig": {
76
+ "access": "public"
77
+ }
78
+ }