Arne van Iterson
499f960ce7
Sending controls over socket.io might not be the way to go There is some lag causing the players to not be lined up on all clients
42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"name": "tanksjs",
|
|
"version": "1.0.0",
|
|
"description": "A multiplayer tanks game made in Javascript using asdf framework.",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"start": "npm run lint && cross-env NODE_ENV=dev electron .",
|
|
"lint": "eslint .",
|
|
"build:all": "npm run lint && electron-builder build -mwl",
|
|
"build:win": "npm run lint && electron-builder build --windows",
|
|
"build:mac": "npm run lint && electron-builder build --mac",
|
|
"build:linux": "npm run lint && electron-builder build --linux",
|
|
"postinstall": "electron-builder install-app-deps"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://gitea.arnweb.nl/arne/TanksJs/"
|
|
},
|
|
"keywords": [
|
|
"asdf",
|
|
"tanks",
|
|
"javascript"
|
|
],
|
|
"author": {
|
|
"name": "Arne van Iterson",
|
|
"email": "arne@arnweb.nl",
|
|
"url": "https://arnweb.nl"
|
|
},
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"asdf-games": "^1.1.1",
|
|
"socket.io": "^2.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"cross-env": "^7.0.2",
|
|
"electron": "^8.2.3",
|
|
"electron-builder": "^22.5.1",
|
|
"electron-reload": "^1.5.0",
|
|
"eslint": "^6.8.0"
|
|
}
|
|
}
|