UNPKG

@ecmaservegames/host

Version:
65 lines (64 loc) 1.72 kB
{ "name": "@ecmaservegames/host", "version": "0.0.10", "description": "A host server for a game.", "engines": { "node": ">=14.15" }, "main": "src/index.js", "files": [ "proto", "**/*.d.ts", "src/**/*" ], "scripts": { "start": "node test-game", "test": "nyc cucumber-js --publish-quiet", "compile": "npm run compile:proto && npm run compile:proto:types", "compile:proto": "pbjs -t static-module -w commonjs -o proto/index.js proto/ActionResponse.proto", "compile:proto:types": "pbjs -t static-module proto/ActionResponse.proto | pbts -o proto/index.d.ts -" }, "pre-commit": [ "compile:proto", "compile:proto:types" ], "repository": { "type": "git", "url": "git+https://github.com/EcmaserveGames/host.git" }, "keywords": [ "protobuf", "board-game", "game-engine", "game-development", "board-game-framework", "protocol-buffers", "game-server", "gamestream", "unidirectional" ], "author": "Ryan Hafer <ryan@theplasticbrick.com>", "license": "MIT", "bugs": { "url": "https://github.com/EcmaserveGames/host/issues" }, "homepage": "https://github.com/EcmaserveGames/host#readme", "dependencies": { "@koa/router": "^9.4.0", "debug": "^4.2.0", "koa": "^2.13.0", "koa-websocket": "^6.0.0", "pre-commit": "^1.2.2", "protobufjs": "^6.10.1", "server-destroy": "^1.0.1" }, "devDependencies": { "@cucumber/cucumber": "^7.0.0-rc.0", "@types/koa": "^2.11.6", "@types/koa__router": "^8.0.3", "koa-jwt": "^4.0.0", "nyc": "^15.1.0", "prettier": "2.1.2", "ws": "^7.3.1" } }