UNPKG

swordfight-engine

Version:

A multiplayer sword fighting game engine with character management, round-based combat, and real-time multiplayer support

74 lines (73 loc) 2.12 kB
{ "name": "swordfight-engine", "version": "1.6.21", "description": "A multiplayer sword fighting game engine with character management, round-based combat, and real-time multiplayer support", "type": "module", "main": "dist/swordfight-engine.js", "exports": { ".": "./dist/swordfight-engine.js", "./full": "./dist/swordfight-engine.js", "./lite": "./dist/swordfight-engine.lite.js", "./min": "./dist/swordfight-engine.min.js", "./lite/min": "./dist/swordfight-engine.lite.min.js", "./transports": "./dist/transports.js", "./transports/*": "./dist/transports/*.js" }, "bin": { "swordfight-cli": "./cli/index.js" }, "scripts": { "lint": "eslint src --ext .js", "lint:fix": "eslint src --ext .js --fix", "build": "npm run lint && npm run bundle", "build:all": "npm run build && npm run build:api", "build:api": "eleventy --input=api/src --output=api/dist", "build:api:dev": "eleventy --input=api/src --output=api/dist --serve", "bundle": "node build.js", "dev": "node build.js --watch", "dev:api": "eleventy --input=api/src --output=api/dist --serve", "test": "echo \"Error: no test specified\" && exit 1", "start": "node --experimental-modules src/SwordFight.Game.js", "cli": "node cli/index.js", "prepublishOnly": "npm run build" }, "keywords": [ "game", "sword-fighting", "multiplayer", "javascript", "es6", "browser-game", "real-time", "combat", "rpg" ], "author": "Michael", "license": "MIT", "files": [ "dist/**/*", "README.md", "LICENSE" ], "devDependencies": { "@11ty/eleventy": "^3.1.2", "@eslint/js": "^9.0.0", "esbuild": "^0.27.0", "eslint": "^9.0.0", "globals": "^15.0.0" }, "dependencies": { "chalk": "^5.6.2" }, "engines": { "node": ">=18.0.0" }, "repository": { "type": "git", "url": "https://github.com/MWDelaney/swordfight.engine" }, "bugs": { "url": "https://github.com/MWDelaney/swordfight-engine/issues" }, "homepage": "https://github.com/MWDelaney/swordfight-engine#readme" }