@s21g/peerjs 1.5.4
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 +22 -0
- package/README.md +277 -0
- package/dist/bundler.cjs +1678 -0
- package/dist/bundler.cjs.map +1 -0
- package/dist/bundler.mjs +1896 -0
- package/dist/bundler.mjs.map +1 -0
- package/dist/peerjs.js +4718 -0
- package/dist/peerjs.js.map +1 -0
- package/dist/peerjs.min.js +8 -0
- package/dist/peerjs.min.js.map +1 -0
- package/dist/serializer.msgpack.mjs +2 -0
- package/dist/serializer.msgpack.mjs.map +1 -0
- package/dist/types.d.ts +641 -0
- package/dist/types.d.ts.map +1 -0
- package/package.json +218 -0
package/package.json
ADDED
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@s21g/peerjs",
|
|
3
|
+
"version": "1.5.4",
|
|
4
|
+
"keywords": [
|
|
5
|
+
"peerjs",
|
|
6
|
+
"webrtc",
|
|
7
|
+
"p2p",
|
|
8
|
+
"rtc"
|
|
9
|
+
],
|
|
10
|
+
"description": "PeerJS client",
|
|
11
|
+
"homepage": "https://peerjs.com",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/peers/peerjs/issues"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/peers/peerjs"
|
|
18
|
+
},
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"contributors": [
|
|
21
|
+
"Michelle Bu <michelle@michellebu.com>",
|
|
22
|
+
"afrokick <devbyru@gmail.com>",
|
|
23
|
+
"ericz <really.ez@gmail.com>",
|
|
24
|
+
"Jairo <kidandcat@gmail.com>",
|
|
25
|
+
"Jonas Gloning <34194370+jonasgloning@users.noreply.github.com>",
|
|
26
|
+
"Jairo Caro-Accino Viciana <jairo@galax.be>",
|
|
27
|
+
"Carlos Caballero <carlos.caballero.gonzalez@gmail.com>",
|
|
28
|
+
"hc <hheennrryy@gmail.com>",
|
|
29
|
+
"Muhammad Asif <capripio@gmail.com>",
|
|
30
|
+
"PrashoonB <prashoonbhattacharjee@gmail.com>",
|
|
31
|
+
"Harsh Bardhan Mishra <47351025+HarshCasper@users.noreply.github.com>",
|
|
32
|
+
"akotynski <aleksanderkotbury@gmail.com>",
|
|
33
|
+
"lmb <i@lmb.io>",
|
|
34
|
+
"Jairooo <jairocaro@msn.com>",
|
|
35
|
+
"Moritz Stückler <moritz.stueckler@gmail.com>",
|
|
36
|
+
"Simon <crydotsnakegithub@gmail.com>",
|
|
37
|
+
"Denis Lukov <denismassters@gmail.com>",
|
|
38
|
+
"Philipp Hancke <fippo@andyet.net>",
|
|
39
|
+
"Hans Oksendahl <hansoksendahl@gmail.com>",
|
|
40
|
+
"Jess <jessachandler@gmail.com>",
|
|
41
|
+
"khankuan <khankuan@gmail.com>",
|
|
42
|
+
"DUODVK <kurmanov.work@gmail.com>",
|
|
43
|
+
"XiZhao <kwang1imsa@gmail.com>",
|
|
44
|
+
"Matthias Lohr <matthias@lohr.me>",
|
|
45
|
+
"=frank tree <=frnktrb@googlemail.com>",
|
|
46
|
+
"Andre Eckardt <aeckardt@outlook.com>",
|
|
47
|
+
"Chris Cowan <agentme49@gmail.com>",
|
|
48
|
+
"Alex Chuev <alex@chuev.com>",
|
|
49
|
+
"alxnull <alxnull@e.mail.de>",
|
|
50
|
+
"Yemel Jardi <angel.jardi@gmail.com>",
|
|
51
|
+
"Ben Parnell <benjaminparnell.94@gmail.com>",
|
|
52
|
+
"Benny Lichtner <bennlich@gmail.com>",
|
|
53
|
+
"fresheneesz <bitetrudpublic@gmail.com>",
|
|
54
|
+
"bob.barstead@exaptive.com <bob.barstead@exaptive.com>",
|
|
55
|
+
"chandika <chandika@gmail.com>",
|
|
56
|
+
"emersion <contact@emersion.fr>",
|
|
57
|
+
"Christopher Van <cvan@users.noreply.github.com>",
|
|
58
|
+
"eddieherm <edhermoso@gmail.com>",
|
|
59
|
+
"Eduardo Pinho <enet4mikeenet@gmail.com>",
|
|
60
|
+
"Evandro Zanatta <ezanatta@tray.net.br>",
|
|
61
|
+
"Gardner Bickford <gardner@users.noreply.github.com>",
|
|
62
|
+
"Gian Luca <gianluca.cecchi@cynny.com>",
|
|
63
|
+
"PatrickJS <github@gdi2290.com>",
|
|
64
|
+
"jonnyf <github@jonathanfoss.co.uk>",
|
|
65
|
+
"Hizkia Felix <hizkifw@gmail.com>",
|
|
66
|
+
"Hristo Oskov <hristo.oskov@gmail.com>",
|
|
67
|
+
"Isaac Madwed <i.madwed@gmail.com>",
|
|
68
|
+
"Ilya Konanykhin <ilya.konanykhin@gmail.com>",
|
|
69
|
+
"jasonbarry <jasbarry@me.com>",
|
|
70
|
+
"Jonathan Burke <jonathan.burke.1311@googlemail.com>",
|
|
71
|
+
"Josh Hamit <josh.hamit@gmail.com>",
|
|
72
|
+
"Jordan Austin <jrax86@gmail.com>",
|
|
73
|
+
"Joel Wetzell <jwetzell@yahoo.com>",
|
|
74
|
+
"xizhao <kevin.wang@cloudera.com>",
|
|
75
|
+
"Alberto Torres <kungfoobar@gmail.com>",
|
|
76
|
+
"Jonathan Mayol <mayoljonathan@gmail.com>",
|
|
77
|
+
"Jefferson Felix <me@jsfelix.dev>",
|
|
78
|
+
"Rolf Erik Lekang <me@rolflekang.com>",
|
|
79
|
+
"Kevin Mai-Husan Chia <mhchia@users.noreply.github.com>",
|
|
80
|
+
"Pepijn de Vos <pepijndevos@gmail.com>",
|
|
81
|
+
"JooYoung <qkdlql@naver.com>",
|
|
82
|
+
"Tobias Speicher <rootcommander@gmail.com>",
|
|
83
|
+
"Steve Blaurock <sblaurock@gmail.com>",
|
|
84
|
+
"Kyrylo Shegeda <shegeda@ualberta.ca>",
|
|
85
|
+
"Diwank Singh Tomer <singh@diwank.name>",
|
|
86
|
+
"Sören Balko <Soeren.Balko@gmail.com>",
|
|
87
|
+
"Arpit Solanki <solankiarpit1997@gmail.com>",
|
|
88
|
+
"Yuki Ito <yuki@gnnk.net>",
|
|
89
|
+
"Artur Zayats <zag2art@gmail.com>"
|
|
90
|
+
],
|
|
91
|
+
"funding": {
|
|
92
|
+
"type": "opencollective",
|
|
93
|
+
"url": "https://opencollective.com/peer"
|
|
94
|
+
},
|
|
95
|
+
"collective": {
|
|
96
|
+
"type": "opencollective",
|
|
97
|
+
"url": "https://opencollective.com/peer"
|
|
98
|
+
},
|
|
99
|
+
"files": [
|
|
100
|
+
"dist/*"
|
|
101
|
+
],
|
|
102
|
+
"sideEffects": [
|
|
103
|
+
"lib/global.ts",
|
|
104
|
+
"lib/supports.ts"
|
|
105
|
+
],
|
|
106
|
+
"main": "dist/bundler.cjs",
|
|
107
|
+
"module": "dist/bundler.mjs",
|
|
108
|
+
"browser-minified": "dist/peerjs.min.js",
|
|
109
|
+
"browser-unminified": "dist/peerjs.js",
|
|
110
|
+
"browser-minified-msgpack": "dist/serializer.msgpack.mjs",
|
|
111
|
+
"types": "dist/types.d.ts",
|
|
112
|
+
"engines": {
|
|
113
|
+
"node": ">= 14"
|
|
114
|
+
},
|
|
115
|
+
"targets": {
|
|
116
|
+
"types": {
|
|
117
|
+
"source": "lib/exports.ts"
|
|
118
|
+
},
|
|
119
|
+
"main": {
|
|
120
|
+
"source": "lib/exports.ts",
|
|
121
|
+
"sourceMap": {
|
|
122
|
+
"inlineSources": true
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"module": {
|
|
126
|
+
"source": "lib/exports.ts",
|
|
127
|
+
"includeNodeModules": [
|
|
128
|
+
"eventemitter3"
|
|
129
|
+
],
|
|
130
|
+
"sourceMap": {
|
|
131
|
+
"inlineSources": true
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"browser-minified": {
|
|
135
|
+
"context": "browser",
|
|
136
|
+
"outputFormat": "global",
|
|
137
|
+
"optimize": true,
|
|
138
|
+
"engines": {
|
|
139
|
+
"browsers": "chrome >= 83, edge >= 83, firefox >= 80, safari >= 15"
|
|
140
|
+
},
|
|
141
|
+
"source": "lib/global.ts"
|
|
142
|
+
},
|
|
143
|
+
"browser-unminified": {
|
|
144
|
+
"context": "browser",
|
|
145
|
+
"outputFormat": "global",
|
|
146
|
+
"optimize": false,
|
|
147
|
+
"engines": {
|
|
148
|
+
"browsers": "chrome >= 83, edge >= 83, firefox >= 80, safari >= 15"
|
|
149
|
+
},
|
|
150
|
+
"source": "lib/global.ts"
|
|
151
|
+
},
|
|
152
|
+
"browser-minified-msgpack": {
|
|
153
|
+
"context": "browser",
|
|
154
|
+
"outputFormat": "esmodule",
|
|
155
|
+
"isLibrary": true,
|
|
156
|
+
"optimize": true,
|
|
157
|
+
"engines": {
|
|
158
|
+
"browsers": "chrome >= 83, edge >= 83, firefox >= 102, safari >= 15"
|
|
159
|
+
},
|
|
160
|
+
"source": "lib/dataconnection/StreamConnection/MsgPack.ts"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"scripts": {
|
|
164
|
+
"contributors": "git-authors-cli --print=false && prettier --write package.json && git add package.json package-lock.json && git commit -m \"chore(contributors): update and sort contributors list\"",
|
|
165
|
+
"check": "tsc --noEmit && tsc -p e2e/tsconfig.json --noEmit",
|
|
166
|
+
"watch": "parcel watch",
|
|
167
|
+
"build": "rm -rf dist && parcel build",
|
|
168
|
+
"clean": "rm -rf .parcel-cache dist",
|
|
169
|
+
"prepublishOnly": "npm run build",
|
|
170
|
+
"test": "jest",
|
|
171
|
+
"test:watch": "jest --watch",
|
|
172
|
+
"coverage": "jest --coverage --collectCoverageFrom=\"./lib/**\"",
|
|
173
|
+
"format": "prettier --write .",
|
|
174
|
+
"format:check": "prettier --check .",
|
|
175
|
+
"semantic-release": "semantic-release",
|
|
176
|
+
"e2e": "wdio run e2e/wdio.local.conf.ts",
|
|
177
|
+
"e2e:bstack": "wdio run e2e/wdio.bstack.conf.ts"
|
|
178
|
+
},
|
|
179
|
+
"devDependencies": {
|
|
180
|
+
"@jest/globals": "^29.7.0",
|
|
181
|
+
"@parcel/config-default": "^2.9.3",
|
|
182
|
+
"@parcel/packager-ts": "^2.9.3",
|
|
183
|
+
"@parcel/transformer-typescript-tsc": "^2.9.3",
|
|
184
|
+
"@parcel/transformer-typescript-types": "^2.9.3",
|
|
185
|
+
"@semantic-release/changelog": "^6.0.1",
|
|
186
|
+
"@semantic-release/git": "^10.0.1",
|
|
187
|
+
"@swc/core": "^1.3.27",
|
|
188
|
+
"@swc/jest": "^0.2.24",
|
|
189
|
+
"@types/jasmine": "^4.3.4",
|
|
190
|
+
"@wdio/browserstack-service": "^8.11.2",
|
|
191
|
+
"@wdio/cli": "^8.11.2",
|
|
192
|
+
"@wdio/globals": "^8.11.2",
|
|
193
|
+
"@wdio/jasmine-framework": "^8.11.2",
|
|
194
|
+
"@wdio/local-runner": "^8.11.2",
|
|
195
|
+
"@wdio/spec-reporter": "^8.11.2",
|
|
196
|
+
"@wdio/types": "^8.10.4",
|
|
197
|
+
"http-server": "^14.1.1",
|
|
198
|
+
"jest": "^29.3.1",
|
|
199
|
+
"jest-environment-jsdom": "^29.3.1",
|
|
200
|
+
"mock-socket": "^9.0.0",
|
|
201
|
+
"parcel": "^2.9.3",
|
|
202
|
+
"prettier": "^3.0.0",
|
|
203
|
+
"semantic-release": "^23.0.0",
|
|
204
|
+
"ts-node": "^10.9.1",
|
|
205
|
+
"typescript": "^5.0.0",
|
|
206
|
+
"wdio-geckodriver-service": "^5.0.1"
|
|
207
|
+
},
|
|
208
|
+
"dependencies": {
|
|
209
|
+
"@msgpack/msgpack": "^2.8.0",
|
|
210
|
+
"eventemitter3": "^4.0.7",
|
|
211
|
+
"peerjs-js-binarypack": "file:../js-binarypack",
|
|
212
|
+
"webrtc-adapter": "^9.0.0"
|
|
213
|
+
},
|
|
214
|
+
"alias": {
|
|
215
|
+
"process": false,
|
|
216
|
+
"buffer": false
|
|
217
|
+
}
|
|
218
|
+
}
|