UNPKG

ts-trueskill

Version:

Port of python trueskill package in TypeScript

69 lines (68 loc) 1.74 kB
{ "name": "ts-trueskill", "version": "5.1.0", "description": "Port of python trueskill package in TypeScript", "repository": "scttcper/ts-trueskill", "author": "Scott Cooper <scttcper@gmail.com>", "type": "module", "main": "./dist/src/index.js", "types": "./dist/src/index.d.ts", "files": [ "dist/src" ], "sideEffects": false, "license": "MIT", "scripts": { "benchmark": "npx tsm benchmark/index.ts", "lint": "pnpm run '/^(lint:biome|lint:eslint)$/'", "lint:biome": "biome check .", "lint:eslint": "eslint .", "lint:fix": "pnpm run '/^(lint:biome|lint:eslint):fix$/'", "lint:eslint:fix": "eslint . --fix", "lint:biome:fix": "biome check . --apply", "prepare": "npm run build", "build": "tsc", "build:docs": "typedoc", "test": "vitest run", "test:watch": "vitest", "test:ci": "vitest run --coverage --reporter=default --reporter=junit --outputFile=./junit.xml" }, "dependencies": { "mathjs": "^13.2.0", "ts-gaussian": "^3.0.4", "uuid": "^11.0.2" }, "devDependencies": { "@biomejs/biome": "1.9.4", "@ctrl/eslint-config-biome": "4.2.10", "@sindresorhus/tsconfig": "6.0.0", "@types/benchmark": "2.1.5", "@types/lodash": "4.17.13", "@types/node": "22.8.6", "@types/uuid": "10.0.0", "@vitest/coverage-v8": "2.1.4", "benchmark": "2.1.4", "lodash": "4.17.21", "typedoc": "0.26.10", "typescript": "5.6.3", "vitest": "2.1.4" }, "publishConfig": { "access": "public", "provenance": true }, "release": { "branches": [ "master" ] }, "engines": { "node": ">=18" }, "keywords": [ "typescript", "trueskill", "ranking", "player skill" ] }