@newgameplusinc/alpha-spatial-comms 1.0.1
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/README.md +1092 -0
- package/dist/index.d.mts +342 -0
- package/dist/index.d.ts +342 -0
- package/dist/index.js +3275 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +3252 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +85 -0
package/package.json
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@newgameplusinc/alpha-spatial-comms",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "Alpha Spatial Communications SDK - A powerful and flexible WebRTC-based SDK for spatial audio and video communication, built on top of mediasoup.",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"browser": true,
|
|
9
|
+
"sideEffects": false,
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"browser": "./dist/index.mjs",
|
|
14
|
+
"import": "./dist/index.mjs",
|
|
15
|
+
"require": "./dist/index.js"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "tsup",
|
|
20
|
+
"dev": "tsup --watch",
|
|
21
|
+
"typecheck": "tsc --noEmit",
|
|
22
|
+
"test": "jest",
|
|
23
|
+
"lint": "eslint src/**/*.ts",
|
|
24
|
+
"lint:fix": "eslint src/**/*.ts --fix",
|
|
25
|
+
"format": "prettier --write \"src/**/*.ts\"",
|
|
26
|
+
"format:check": "prettier --check \"src/**/*.ts\"",
|
|
27
|
+
"prepublishOnly": "npm run typecheck && npm run build",
|
|
28
|
+
"publish:npm": "npm publish --access public",
|
|
29
|
+
"version:patch": "npm version patch",
|
|
30
|
+
"version:minor": "npm version minor",
|
|
31
|
+
"version:major": "npm version major",
|
|
32
|
+
"clean:logs": "node scripts/remove-console-logs.js",
|
|
33
|
+
"deploy": "node scripts/remove-console-logs.js && npm run build && echo '✅ Ready for deployment!'",
|
|
34
|
+
"prepare": "husky"
|
|
35
|
+
},
|
|
36
|
+
"lint-staged": {
|
|
37
|
+
"src/**/*.ts": [
|
|
38
|
+
"prettier --write",
|
|
39
|
+
"eslint --fix"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"keywords": [
|
|
43
|
+
"spatial-audio",
|
|
44
|
+
"webrtc",
|
|
45
|
+
"mediasoup",
|
|
46
|
+
"conference",
|
|
47
|
+
"real-time",
|
|
48
|
+
"audio",
|
|
49
|
+
"video",
|
|
50
|
+
"odyssey"
|
|
51
|
+
],
|
|
52
|
+
"author": "New Game Plus Inc",
|
|
53
|
+
"license": "MIT",
|
|
54
|
+
"dependencies": {
|
|
55
|
+
"@tensorflow/tfjs": "^4.11.0",
|
|
56
|
+
"mediasoup-client": "^3.6.90",
|
|
57
|
+
"socket.io-client": "^4.7.2",
|
|
58
|
+
"stream-chat": "^8.0.0",
|
|
59
|
+
"webrtc-adapter": "^8.2.3"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@types/jest": "^29.0.0",
|
|
63
|
+
"@types/node": "^20.0.0",
|
|
64
|
+
"@typescript-eslint/eslint-plugin": "^8.54.0",
|
|
65
|
+
"@typescript-eslint/parser": "^8.54.0",
|
|
66
|
+
"dotenv": "^17.3.1",
|
|
67
|
+
"eslint": "^9.39.2",
|
|
68
|
+
"globals": "^17.1.0",
|
|
69
|
+
"husky": "^9.1.7",
|
|
70
|
+
"jest": "^29.0.0",
|
|
71
|
+
"lint-staged": "^16.2.7",
|
|
72
|
+
"prettier": "^3.8.1",
|
|
73
|
+
"tsup": "^8.0.0",
|
|
74
|
+
"typescript": "^5.0.0",
|
|
75
|
+
"typescript-eslint": "^8.54.0"
|
|
76
|
+
},
|
|
77
|
+
"files": [
|
|
78
|
+
"dist"
|
|
79
|
+
],
|
|
80
|
+
"repository": {
|
|
81
|
+
"type": "git",
|
|
82
|
+
"url": "git+https://github.com/New-Game-Plus-Inc/odyssey-mediasoup-sdk.git"
|
|
83
|
+
},
|
|
84
|
+
"homepage": "https://github.com/New-Game-Plus-Inc/odyssey-mediasoup-sdk"
|
|
85
|
+
}
|