UNPKG

@nodots-llc/backgammon-ai

Version:

AI and integration for nodots-backgammon using the @nodots-llc/gnubg-hints native addon.

81 lines (80 loc) 2.5 kB
{ "name": "@nodots-llc/backgammon-ai", "version": "4.6.3", "description": "AI and integration for nodots-backgammon using the @nodots-llc/gnubg-hints native addon.", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "keywords": [ "backgammon", "ai", "gnubg", "hints", "analysis", "boardgame", "typescript" ], "author": "Ken Riley <kenr@nodots.com>", "license": "MIT", "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "git+https://github.com/nodots/nodots-backgammon-ai.git" }, "homepage": "https://github.com/nodots/nodots-backgammon-ai", "bugs": { "url": "https://github.com/nodots/nodots-backgammon-ai/issues" }, "scripts": { "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "update-coverage": "node scripts/update-coverage.js", "lint": "eslint src/**/*.ts", "lint:fix": "eslint src/**/*.ts --fix", "build": "tsc -b --force", "train": "node dist/ai/src/training/train.js --data training", "train:latest": "node scripts/train-latest.js", "train:linear": "node dist/ai/src/training/train-linear.js --data training", "eval": "node scripts/eval-latest.js", "ai:full": "node scripts/pipeline.js", "benchmarks": "node scripts/run-benchmarks.js", "freeze:benchmark": "node scripts/freeze-benchmark.js", "eval:latest": "node scripts/eval-latest.js", "promote": "node scripts/promote-latest.js", "clean": "rm -rf dist coverage", "prebuild": "npm run clean", "prepare": "npm run build", "release": "npm run build && npm publish", "publish:dry-run": "npm run build && npm publish --dry-run", "install:latest-types": "rm -rf node_modules package-lock.json && npm install", "prepublishOnly": "npm run build" }, "dependencies": { "@nodots-llc/backgammon-types": "4.6.3", "@nodots-llc/backgammon-core": "4.6.3", "@nodots-llc/gnubg-hints": "^4.6.2", "@types/socket.io-client": "^1.4.36", "socket.io-client": "^4.8.1" }, "devDependencies": { "@eslint/js": "^9.30.1", "@types/jest": "^29.5.14", "@types/node": "^22.18.3", "@typescript-eslint/eslint-plugin": "^8.23.0", "@typescript-eslint/parser": "^8.23.0", "eslint": "^9.19.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "ts-node": "^10.9.2", "typescript": "^5.7.3" }, "engines": { "node": ">=18" } }