feature: surveillance GDEV via WebSocket

This commit is contained in:
Cédric Moreau
2022-05-29 12:08:20 +02:00
parent 921e9e7145
commit 571248ffc4
6 changed files with 15676 additions and 13 deletions

View File

@@ -7,6 +7,7 @@
"license": "MIT",
"scripts": {
"prepublish": "tsc",
"build:w": "tsc --watch",
"build": "tsc && NODE_ENV=production webpack --config webpack.prod.js",
"build:front": "NODE_ENV=production webpack --config webpack.prod.js",
"start": "webpack-dev-server --config webpack.dev.js --open",
@@ -25,7 +26,8 @@
"nodemailer": "^6.2.1",
"pug": "^2.0.4",
"typescript": "^3.4.3",
"vue": "^2.6.11"
"vue": "^2.6.11",
"ws": "^8.7.0"
},
"devDependencies": {
"@types/axios": "^0.14.0",
@@ -38,6 +40,7 @@
"@types/node": "~8.9.4",
"@types/nodemailer": "^6.1.1",
"@types/pug": "^2.0.4",
"@types/ws": "^8.5.3",
"clean-webpack-plugin": "^3.0.0",
"css-loader": "^3.5.3",
"file-loader": "^6.0.0",