{
    "name": "@sammo-ts/game-api",
    "private": true,
    "version": "0.0.0",
    "type": "module",
    "main": "dist/index.js",
    "types": "dist/index.d.ts",
    "exports": {
        ".": {
            "types": "./dist/index.d.ts",
            "default": "./dist/index.js"
        }
    },
    "scripts": {
        "build": "tsdown -c ../../tsdown.config.ts -F @sammo-ts/game-api",
        "dev": "tsdown -c ../../tsdown.config.ts -F @sammo-ts/game-api --watch",
        "worker": "GAME_API_ROLE=battle-sim-worker node dist/index.js",
        "worker:dev": "GAME_API_ROLE=battle-sim-worker tsdown -c ../../tsdown.config.ts -F @sammo-ts/game-api --watch",
        "worker:auction": "GAME_API_ROLE=auction-worker node dist/index.js",
        "worker:auction:dev": "GAME_API_ROLE=auction-worker tsdown -c ../../tsdown.config.ts -F @sammo-ts/game-api --watch",
        "worker:tournament": "GAME_API_ROLE=tournament-worker node dist/index.js",
        "worker:tournament:dev": "GAME_API_ROLE=tournament-worker tsdown -c ../../tsdown.config.ts -F @sammo-ts/game-api --watch",
        "lint": "eslint .",
        "lint:fix": "eslint . --fix",
        "test": "vitest run --config vitest.config.ts",
        "typecheck": "tsc -b"
    },
    "devDependencies": {
        "tsdown": "^0.18.4",
        "vite-tsconfig-paths": "^6.0.3",
        "vitest": "^4.0.16"
    },
    "dependencies": {
        "@fastify/cors": "^11.2.0",
        "@fastify/static": "^9.0.0",
        "@sammo-ts/common": "workspace:*",
        "@sammo-ts/infra": "workspace:*",
        "@sammo-ts/logic": "workspace:*",
        "@trpc/server": "^11.8.1",
        "date-fns": "^4.1.0",
        "es-toolkit": "^1.43.0",
        "fastify": "^5.6.2",
        "redis": "^5.10.0",
        "sharp": "^0.34.4",
        "zod": "^4.3.5"
    }
}
