{
  "name": "chessops",
  "version": "0.15.0",
  "description": "Chess and chess variant rules and operations",
  "keywords": [
    "chess",
    "lichess",
    "fen",
    "pgn",
    "uci",
    "typescript"
  ],
  "repository": "github:niklasf/chessops",
  "author": "Niklas Fiekas <niklas.fiekas@backscattering.de>",
  "funding": "https://github.com/sponsors/niklasf",
  "license": "GPL-3.0-or-later",
  "type": "module",
  "module": "dist/esm/index.js",
  "main": "dist/cjs/index.js",
  "types": "index.d.ts",
  "typesVersions": {
    "*": {
      "*": [
        "dist/types/*"
      ]
    }
  },
  "exports": {
    ".": {
      "types": "./dist/types/index.d.ts",
      "import": "./dist/esm/index.js",
      "require": "./dist/cjs/index.js"
    },
    "./*": {
      "types": "./dist/types/*.d.ts",
      "import": "./dist/esm/*.js",
      "require": "./dist/cjs/*.js"
    }
  },
  "sideEffects": false,
  "dependencies": {
    "@badrap/result": "^0.3"
  },
  "devDependencies": {
    "@jest/globals": "^30",
    "@typescript-eslint/eslint-plugin": "^8",
    "@typescript-eslint/parser": "^8",
    "dprint": "^0.50",
    "eslint": "^9",
    "jest": "^30",
    "ts-jest": "^29",
    "typedoc": "^0.28",
    "typescript": "^5"
  },
  "scripts": {
    "prepare": "tsc --declarationDir dist/types && tsc --outDir dist/cjs --module commonjs --declaration false",
    "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
    "doc": "typedoc src/types.ts src/attacks.ts src/util.ts src/squareSet.ts src/board.ts src/setup.ts src/chess.ts src/compat.ts src/debug.ts src/fen.ts src/san.ts src/transform.ts src/variant.ts src/pgn.ts",
    "lint": "eslint",
    "format": "dprint fmt",
    "check-format": "dprint check"
  },
  "files": [
    "/src",
    "/dist",
    "!/**/*.test.*"
  ],
  "jest": {
    "testRegex": ".*\\.test\\.ts$",
    "transform": {
      "\\.ts$": [
        "ts-jest",
        {
          "useESM": true
        }
      ]
    },
    "extensionsToTreatAsEsm": [
      ".ts"
    ],
    "moduleNameMapper": {
      "^(.*)\\.js$": "$1"
    }
  }
}
