haxball.js
Version:
A powerful library for interacting with the Haxball Headless API
76 lines (75 loc) • 1.89 kB
JSON
{
"name": "haxball.js",
"version": "5.0.7",
"author": "mertushka",
"description": "A powerful library for interacting with the Haxball Headless API",
"keywords": [
"haxball",
"headless",
"bot",
"room"
],
"homepage": "https://github.com/mertushka/haxball.js#readme",
"bugs": {
"url": "https://github.com/mertushka/haxball.js/issues"
},
"license": "MIT",
"sideEffects": false,
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/mertushka/haxball.js.git"
},
"engines": {
"node": ">=22.18.0"
},
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"prepare": "simple-git-hooks",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"update:headless": "node scripts/update-headless.ts",
"test": "node --import ./scripts/load-env.ts --test --test-force-exit",
"test:coverage": "node --import ./scripts/load-env.ts --test --test-force-exit --experimental-test-coverage --test-coverage-exclude=src/generated/**",
"test:watch": "node --import ./scripts/load-env.ts --test --watch",
"type-check": "tsc --noEmit"
},
"devDependencies": {
"@biomejs/biome": "^2.5.3",
"@types/node": "^22.20.1",
"@types/ws": "^8.18.1",
"simple-git-hooks": "^2.13.1",
"tsdown": "^0.22.4",
"typescript": "^6.0.2"
},
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./package.json": "./package.json"
},
"simple-git-hooks": {
"pre-commit": "npm run lint && npm run type-check"
},
"dependencies": {
"@webrtc-node/webrtc": "^0.2.1",
"https-proxy-agent": "^9.1.0",
"json5": "^2.2.3",
"ws": "^8.18.3",
"xhr2": "^0.2.1"
}
}