UNPKG

mudb

Version:

Real-time database for multiplayer games

77 lines (76 loc) 1.84 kB
{ "name": "mudb", "version": "1.0.1", "description": "Real-time database for multiplayer games", "scripts": { "build": "tsc", "clean": "ls -F src | grep / | xargs rm -rf coverage *.d.ts *.js *.js.map", "coverage": "f(){ nyc tape -r ts-node/register src/${1:-\\*}/test/*.ts; }; f", "link": "npm link && npm run clean && npm run build", "release": "npm run test-all && npm run clean && npm run build && npm publish", "test": "f(){ tape -r ts-node/register src/${1:-\\*}/test/${2:-\\*}.ts; }; f", "test-all": "npm test socket/\\* && npm test", "watch": "tsc -w" }, "main": "index.js", "browser": { "rpc/http/client": "rpc/http/client-browser" }, "repository": { "type": "git", "url": "https://github.com/mikolalysenko/mudb.git" }, "keywords": [ "mudb", "real-time", "multiplayer", "game", "network", "server", "client", "replicate", "schema", "binary", "buffer", "stream", "websocket", "tcp", "udp" ], "author": "Mikola Lysenko", "contributors": [ "He Diyi <esdoppio@gmail.com> (https://github.com/hediyi/)" ], "license": "MIT", "dependencies": { "bufferutil": "4.0.2", "content-type": "1.0.4", "utf-8-validate": "5.0.3", "ws": "7.4.0" }, "devDependencies": { "@types/node": "^8.10.38", "@types/tape": "^4.2.32", "browserify": "^16.2.3", "nyc": "^15.0.0", "tape": "^4.9.1", "tape-run": "^4.0.0", "ts-node": "^7.0.1", "tsify": "^4.0.1", "tslint": "^5.11.0", "typescript": "^3.7.4", "typescript-tslint-plugin": "^0.1.0", "webworkify": "^1.5.0" }, "nyc": { "cache": true, "report-dir": "./coverage", "temp-dir": "./coverage/.nyc_output", "extension": [ ".ts" ], "reporter": [ "html" ] } }