UNPKG

hathora-et-labora-game

Version:

Game logic reducer for Uwe Rosenberg's Ora et Labora

59 lines 1.95 kB
{ "version": "0.21.2", "name": "hathora-et-labora-game", "type": "module", "sideEffects": false, "description": "Game logic reducer for Uwe Rosenberg's Ora et Labora", "keywords": [ "boardgame", "ora-et-labora", "uwe-rosenberg" ], "homepage": "https://kennerspiel.com", "repository": { "url": "https://github.com/philihp/kennerspiel" }, "license": "GPL-3.0", "author": { "name": "Philihp Busby", "email": "philihp@gmail.com", "url": "https://philihp.com" }, "main": "./dist/index.js", "files": [ "/dist/", "/src/", "!/src/**/__tests__/*.test.ts" ], "dependencies": { "fast-shuffle": "6.2.0", "pcg": "3.0.0", "ramda": "0.32.0", "ts-pattern": "5.9.0", "ts-toolbelt": "9.6.0" }, "devDependencies": { "@eslint/js": "10.0.1", "@philihp/prettier-config": "1.0.0", "@tsconfig/recommended": "1.0.13", "@types/node": "24.13.2", "@types/ramda": "0.32.0", "eslint": "10.6.0", "eslint-config-prettier": "10.1.8", "husky": "9.1.7", "lint-staged": "17.0.8", "prettier": "3.8.5", "tsx": "4.22.4", "typescript": "6.0.3", "typescript-eslint": "8.62.0" }, "prettier": "@philihp/prettier-config", "scripts": { "build": "tsc -p tsconfig.build.json", "format": "prettier . --write", "lint": "eslint .", "test": "node --import tsx/esm --experimental-test-module-mocks --test 'src/**/__tests__/**/*.test.ts'", "test:watch": "node --import tsx/esm --experimental-test-module-mocks --test --watch $(git diff --name-only --diff-filter=ACMR HEAD | awk '/\\.test\\.ts$/ {print} /\\.ts$/ && !/\\.test\\.ts$/ {sub(/\\.ts$/, \".test.ts\"); gsub(/src\\//, \"src/__tests__/\"); print}' | sort -u | xargs ls 2>/dev/null)", "test:coverage": "node --import tsx/esm --experimental-test-module-mocks --coverage --coverage-reporter=lcov --coverage-dir=coverage --test 'src/**/__tests__/**/*.test.ts'" } }