{
  "name": "eolib",
  "version": "2.0.1",
  "description": "Core library for writing applications related to Endless Online.",
  "exports": {
    ".": {
      "import": {
        "types": "./lib/esm/types/src/index.d.ts",
        "default": "./lib/esm/src/index.js"
      },
      "require": {
        "types": "./lib/cjs/types/src/index.d.ts",
        "default": "./lib/cjs/src/index.js"
      }
    }
  },
  "types": "./lib/cjs/types/src/index.d.ts",
  "main": "./lib/cjs/src/index.js",
  "module": "./lib/esm/src/index.js",
  "files": [
    "lib/**/*"
  ],
  "scripts": {
    "clean": "rm -rf ./lib && rm -rf ./generated",
    "format": "prettier --cache --write **/*.{js,ts,md}",
    "build": "npm run clean && npm run build:esm && npm run build:cjs",
    "build:esm": "npm run generate && tsc -p ./config/tsconfig.esm.json && tsx scripts/post-build.ts esm",
    "build:cjs": "npm run generate && tsc -p ./config/tsconfig.cjs.json && tsx scripts/post-build.ts cjs",
    "generate": "tsx scripts/generate-protocol-code.ts",
    "test": "vitest run",
    "test:coverage": "vitest run --coverage",
    "docs": "typedoc",
    "prepack": "npm run build",
    "prepare": "husky",
    "pre-commit": "lint-staged",
    "version": "tsx scripts/bump-changelog-version.ts && git add CHANGELOG.md"
  },
  "publishConfig": {
    "access": "public"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/cirras/eolib-ts.git"
  },
  "author": "Jonah Jeleniewski",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/cirras/eolib-ts/issues"
  },
  "homepage": "https://github.com/cirras/eolib-ts",
  "devDependencies": {
    "@rgrove/parse-xml": "^4.2.0",
    "@shipgirl/typedoc-plugin-versions": "^0.3.2",
    "@types/node": "^22.15.30",
    "@vitest/coverage-istanbul": "^3.2.2",
    "@vitest/ui": "^3.2.2",
    "chalk": "^5.4.1",
    "husky": "^9.1.7",
    "keep-a-changelog": "^2.6.2",
    "lint-staged": "^16.1.0",
    "prettier": "^3.5.3",
    "tsc-alias": "^1.8.16",
    "tsconfig-paths": "^4.2.0",
    "tsx": "^4.19.4",
    "typedoc": "~0.28.6",
    "typescript": "^5.8.3",
    "vite-tsconfig-paths": "^5.1.4",
    "vitest": "^3.2.2"
  }
}
