UNPKG

@hastearcade/snowglobe

Version:

A TypeScript port of CrystalOrb, a high-level Rust game networking library

68 lines (67 loc) 2.28 kB
{ "name": "@hastearcade/snowglobe", "author": "Eric McDaniel <eric.g.mcdaniel@gmail.com>", "contributors": [ "Eric McDaniel <eric.g.mcdaniel@gmail.com>", "Keith La Force <keith@hastearcade.com>" ], "license": "Apache-2.0", "version": "0.4.15", "description": "A TypeScript port of CrystalOrb, a high-level Rust game networking library", "keywords": [ "netcode", "networking", "multiplayer", "game", "prediction", "reconciliation", "rollback" ], "type": "module", "types": "./lib/dist/esm/index.d.ts", "main": "./lib/dist/cjs/index.js", "exports": { "import": "./lib/dist/esm/index.js", "require": "./lib/dist/cjs/index.js" }, "files": [ "lib/dist" ], "scripts": { "build": "./build.sh", "build:cjs": "esbuild --bundle --target=node12.22 --outdir=lib/dist/cjs --format=cjs lib/dist/esm/index.js", "example:standalone": "node --loader ts-node/esm --experimental-specifier-resolution=node examples/standalone.ts", "example:standalonelag": "node --loader ts-node/esm --experimental-specifier-resolution=node examples/standalonelag.ts", "example:demo": "cd ./examples/demo && vite --host", "debug:example": "node --inspect-brk --loader ts-node/esm --experimental-specifier-resolution=node examples/standalone.ts", "prepublishOnly": "npm run pretty && npm run lint && npm run build", "test": "jest", "lint": "eslint ./lib/**/*.ts ./test/**/*.ts ./examples/**/*.ts --fix", "pretty": "prettier --write \"lib/src/**/*.ts\" \"test/**/*.ts\" \"examples/**/*.ts\"" }, "devDependencies": { "@dimforge/rapier2d-compat": "^0.11.2", "@jest/console": "^29.5.0", "@types/jest": "^29.5.2", "@typescript-eslint/eslint-plugin": "^5.59.8", "@typescript-eslint/parser": "^5.59.8", "esbuild": "^0.17.19", "eslint": "^8.41.0", "eslint-config-standard-with-typescript": "^35.0.0", "eslint-plugin-import": "^2.27.5", "eslint-plugin-n": "^15.7.0", "eslint-plugin-promise": "^6.1.1", "jest": "^29.5.0", "prettier": "^2.8.8", "ts-jest": "^29.1.0", "ts-node": "^10.9.1", "typescript": "^5.1.3", "vite": "^4.3.9" }, "publishConfig": { "access": "public" }, "dependencies": { "csv-writer": "^1.6.0" } }