{
  "name": "pokemon-showdown",
  "description": "The server for the Pokémon Showdown battle simulator",
  "version": "0.11.10",
  "main": "dist/sim/index.js",
  "types": "dist/sim/index.d.ts",
  "dependencies": {
    "esbuild": "^0.25.0",
    "mysql2": "^3.14.2",
    "preact": "^10.5.15",
    "preact-render-to-string": "^6.5.13",
    "sockjs": "^0.3.21",
    "ts-chacha20": "^1.2.0"
  },
  "optionalDependencies": {
    "better-sqlite3": "^11.10.0",
    "cloud-env": "^0.2.3",
    "githubhook": "^1.9.3",
    "nodemailer": "^7.0.5",
    "permessage-deflate": "^0.1.7",
    "pg": "^8.16.3",
    "probe-image-size": "^7.2.3",
    "source-map-support": "^0.5.21",
    "sql-template-strings": "^2.2.2",
    "sqlite": "^5.1.1",
    "sqlite3": "^5.1.7"
  },
  "secretDependencies": {
    "node-oom-heapdump": "^1.2.0"
  },
  "engines": {
    "node": ">=16.0.0"
  },
  "scripts": {
    "start": "node pokemon-showdown start",
    "build": "node build",
    "build-npm": "node build && npx tsc sim/global-types.ts sim/index.ts --declaration --emitDeclarationOnly --declarationDir dist/ --target es2020 --strict --moduleResolution node --types node --lib es2020",
    "test-npm": "npx tsc sim/global-types.ts sim/index.ts --noEmit --target es2020 --strict --moduleResolution node --types node --lib es2020",
    "tsc": "tsc",
    "lint": "eslint --cache",
    "fix": "eslint --cache --fix",
    "full-lint": "npm run lint",
    "pretest": "npm run lint",
    "test": "mocha",
    "posttest": "npm run tsc",
    "full-test": "eslint --max-warnings 0 && npm run tsc && mocha --timeout 8000 --forbid-only -g \".*\" && npm run test-npm",
    "full-test-ci": "eslint --max-warnings 0 && tsc && (([ \"$SKIPSIMTESTS\" = true ] && mocha --timeout 8000 --forbid-only -g \".*\" --exclude \"test/{sim,random-battles}/**\") || mocha --timeout 8000 --forbid-only -g \".*\") && npm run test-npm"
  },
  "bin": "./pokemon-showdown",
  "homepage": "http://pokemonshowdown.com",
  "repository": {
    "type": "git",
    "url": "https://github.com/smogon/pokemon-showdown.git"
  },
  "author": {
    "name": "Guangcong Luo",
    "email": "guangcongluo@gmail.com",
    "url": "http://guangcongluo.com"
  },
  "contributors": [
    {
      "name": "Bill Meltsner",
      "email": "bill@meltsner.com",
      "url": "http://www.meltsner.com"
    }
  ],
  "license": "MIT",
  "devDependencies": {
    "@stylistic/eslint-plugin": "^5.2.2",
    "@types/better-sqlite3": "7.6.3",
    "@types/cloud-env": "^0.2.2",
    "@types/node": "^14.18.63",
    "@types/nodemailer": "^6.4.4",
    "@types/pg": "^8.6.5",
    "@types/sockjs": "^0.3.33",
    "@types/sodium-native": "^2.3.9",
    "eslint": "^9.31.0",
    "globals": "^16.0.0",
    "mocha": "^11.7.1",
    "smogon": "^3.0.0",
    "typescript": "^5.8.3",
    "typescript-eslint": "^8.38.0"
  }
}
