{
  "name": "@akaoio/battle",
  "version": "1.2.3",
  "description": "Universal terminal application testing framework with real PTY emulation and screenshots",
  "type": "module",
  "main": "dist/index.cjs",
  "module": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/index.cjs"
    }
  },
  "bin": {
    "battle": "./dist/cli.js"
  },
  "files": [
    "dist",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "build": "akao-build",
    "build:dev": "akao-build",
    "build:prod": "akao-build",
    "build:test": "akao-build",
    "build:analyze": "ANALYZE=true akao-build",
    "build:watch": "akao-build --watch",
    "build:clean": "akao-build --clean-only",
    "dev": "tsx src/cli.ts",
    "test": "npm run build && tsx test/index.test.ts",
    "test:self": "npm run build && node test/battle-self-test.js",
    "test:battle": "npm run build && tsx test/Battle/index.test.ts",
    "test:replay": "npm run build && tsx test/Replay/index.test.ts",
    "test:runner": "npm run build && tsx test/Runner/index.test.ts",
    "test:silent": "npm run build && tsx test/Silent/index.test.ts",
    "test:edge": "npm run build && tsx test/EdgeCase/index.test.ts",
    "test:integration": "npm run build:test && tsx test/Integration/index.test.ts",
    "test:quick": "tsx test/self.test.ts",
    "test:legacy": "tsx test/battle.test.ts",
    "test:cli": "node dist/cli.js test",
    "docs:build": "npx @akaoio/composer build composer.config.js",
    "docs:watch": "npx @akaoio/composer watch composer.config.js",
    "typecheck": "tsc --noEmit",
    "format": "prettier --write .",
    "prepublishOnly": "npm run build"
  },
  "keywords": [
    "test",
    "testing",
    "terminal",
    "tui",
    "pty",
    "cli",
    "screenshot",
    "integration"
  ],
  "author": "AKAO.IO",
  "license": "MIT",
  "dependencies": {
    "chalk": "^4.1.2",
    "terminal-kit": "^3.0.0",
    "yargs": "^17.7.2"
  },
  "optionalDependencies": {
    "node-pty": "^1.0.0",
    "@akaoio/ruspty": "^3.6.1",
    "@replit/ruspty": "^3.5.2",
    "@replit/ruspty-linux-x64-gnu": "^3.5.2",
    "@replit/ruspty-darwin-x64": "^3.5.2",
    "@replit/ruspty-darwin-arm64": "^3.5.2",
    "@akaoio/ruspty-linux-arm64-gnu": "^3.6.1"
  },
  "devDependencies": {
    "@akaoio/builder": "*",
    "@akaoio/composer": "*",
    "@types/bun": "^1.2.21",
    "@types/node": "^20.19.11",
    "@types/terminal-kit": "^2.5.7",
    "@types/yargs": "^17.0.33",
    "prettier": "^3.0.0",
    "tsup": "^8.5.0",
    "tsx": "^4.20.4",
    "typescript": "^5.9.2"
  },
  "engines": {
    "node": ">=18.0.0",
    "bun": ">=1.0.0"
  }
}
