(y-webrtc-signaling) create signaling server

Create signaling server for WebRTC.
It will be used for the collaborative editor, client
will connect to this server to see their
changes in real-time.
This commit is contained in:
Anthony LC
2024-04-08 11:56:17 +02:00
committed by Anthony LC
parent 6b567a0f69
commit f4e4cbaa56
6 changed files with 322 additions and 13 deletions

View File

@@ -0,0 +1,29 @@
{
"name": "y-webrtc-signaling",
"version": "0.1.0",
"description": "WebRTC server for Yjs",
"repository": "https://github.com/numerique-gouv/impress",
"license": "MIT",
"type": "module",
"scripts": {
"build": "tsc -p .",
"dev": "nodemon --exec src/server.ts",
"start": "node ./dist/server.js",
"lint": "eslint . --ext .ts"
},
"engines": {
"node": ">=18"
},
"dependencies": {
"ws": "8.16.0"
},
"devDependencies": {
"@types/node": "*",
"@types/ws": "8.5.10",
"eslint-config-impress": "*",
"nodemon": "3.1.0",
"ts-jest": "29.1.2",
"ts-node": "10.9.2",
"typescript": "*"
}
}