UNPKG

glicko-ts

Version:

A TypeScript implementation of the Glicko-1 rating system.

68 lines (67 loc) 1.69 kB
{ "name": "glicko-ts", "version": "1.0.3", "description": "A TypeScript implementation of the Glicko-1 rating system.", "author": "Bradley Robinson", "main": "./dist/index.js", "module": "./dist/esm/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "import": { "types": "./dist/esm/index.d.ts", "default": "./dist/esm/index.js" } } }, "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "build": "rimraf dist && tsc -p tsconfig.json && tsc -p tsconfig.esm.json", "build:cjs": "rimraf dist && tsc -p tsconfig.json", "build:esm": "rimraf dist/esm && tsc -p tsconfig.esm.json", "test": "jest", "prepare": "npm run build", "prepublishOnly": "npm run build && npm run test", "lint": "eslint . --ext .js,.ts", "lint:fix": "eslint . --ext .js,.ts --fix" }, "keywords": [ "glicko", "glicko-1", "rating", "elo", "typescript", "ranking", "games", "sports" ], "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/bradley3322/GlickoTS.git" }, "bugs": { "url": "https://github.com/bradley3322/GlickoTS/issues" }, "homepage": "https://github.com/bradley3322/GlickoTS#readme", "devDependencies": { "@eslint/js": "^9.26.0", "@types/jest": "^29.5.14", "eslint": "^9.26.0", "eslint-plugin-react": "^7.37.5", "globals": "^16.0.0", "jest": "^29.7.0", "rimraf": "^5.0.5", "ts-jest": "^29.3.2", "typescript": "^5.8.3", "typescript-eslint": "^8.31.1" } }