{
  "name": "@crowdedkingdoms/crowdyjs",
  "version": "15.2.0",
  "description": "Browser-first Crowded Kingdoms SDK with GraphQL, realtime, and local Rust authoring support",
  "type": "module",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "types": "./dist/index.d.ts"
    },
    "./generated": {
      "import": "./dist/generated/graphql.js",
      "types": "./dist/generated/graphql.d.ts"
    },
    "./stores": {
      "import": "./dist/stores/index.js",
      "types": "./dist/stores/index.d.ts"
    },
    "./crowdy-studio": {
      "import": "./dist/crowdy-studio/index.js",
      "types": "./dist/crowdy-studio/index.d.ts"
    },
    "./agent": {
      "import": "./dist/crowdy-agent/index.js",
      "types": "./dist/crowdy-agent/index.d.ts"
    },
    "./player-host": {
      "import": "./dist/player-host/index.js",
      "types": "./dist/player-host/index.d.ts"
    },
    "./player-glue-worker": {
      "import": "./dist/player-runtime/player-glue-worker.js",
      "types": "./dist/player-runtime/player-glue-worker.d.ts"
    }
  },
  "sideEffects": false,
  "files": [
    "dist",
    "README.md",
    "MIGRATION.md"
  ],
  "scripts": {
    "version": "node scripts/sync-version.mjs && git add src/index.ts",
    "schema:sync": "npm run schema:sync:prod",
    "schema:sync:prod": "node scripts/sync-schema.mjs --prod",
    "schema:sync:local": "node scripts/sync-schema.mjs --local",
    "schema:sync:paths": "node scripts/sync-schema.mjs",
    "codegen": "graphql-codegen --config codegen.ts",
    "check:schema": "npm run codegen && git diff --exit-code schema.gql src/generated/graphql.ts",
    "codegen:watch": "graphql-codegen --config codegen.ts --watch",
    "authoring-index:generate": "node scripts/generate-browser-authoring-index.mjs --write",
    "authoring-index:drift": "node scripts/sync-browser-authoring-index.mjs",
    "check:authoring-index": "node scripts/validate-browser-authoring-index.mjs && node scripts/generate-browser-authoring-index.mjs",
    "agent-descriptors:drift": "node scripts/sync-agent-descriptor-fixture.mjs",
    "check:agent-descriptors": "node scripts/validate-agent-descriptor-fixture.mjs",
    "build": "npm run check:authoring-index && tsc && npm run check:agent-descriptors && node scripts/copy-live-coding-assets.mjs",
    "test": "npm run build && node --test --test-concurrency=1 test/unit/*.test.mjs test/e2e/*.test.mjs",
    "test:unit": "npm run build && node --test test/unit/*.test.mjs",
    "test:e2e": "npm run build && node --test --test-concurrency=1 test/e2e/*.test.mjs",
    "coverage": "npm run build && node --test --experimental-test-coverage test/unit/*.test.mjs",
    "watch": "tsc --watch",
    "clean": "rm -rf dist",
    "prepublishOnly": "npm run clean && npm run build",
    "check:content-policy": "node scripts/check-content-policy.mjs",
    "check:content-policy:self-test": "node scripts/check-content-policy.mjs --self-test"
  },
  "publishConfig": {
    "access": "public"
  },
  "keywords": [
    "crowded-kingdoms",
    "graphql",
    "game-api",
    "multiplayer",
    "sdk",
    "rust",
    "webassembly"
  ],
  "author": "",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/CrowdedKingdoms/CrowdyJS.git"
  },
  "bugs": {
    "url": "https://github.com/CrowdedKingdoms/CrowdyJS/issues"
  },
  "homepage": "https://github.com/CrowdedKingdoms/CrowdyJS#readme",
  "devDependencies": {
    "@graphql-codegen/cli": "^6.3.0",
    "@graphql-codegen/typed-document-node": "^6.1.8",
    "@graphql-codegen/typescript": "^5.0.10",
    "@graphql-codegen/typescript-operations": "^5.1.0",
    "@graphql-tools/merge": "^9.1.10",
    "@types/node": "^22.10.7",
    "happy-dom": "^20.11.1",
    "typescript": "^5.7.3",
    "ws": "^8.21.1"
  },
  "dependencies": {
    "@codingame/monaco-vscode-api": "25.1.2",
    "@codingame/monaco-vscode-editor-api": "25.1.2",
    "@graphql-typed-document-node/core": "^3.2.0",
    "@vscode/tree-sitter-wasm": "0.3.1",
    "dompurify": "3.4.12",
    "graphql": "^16.13.2",
    "graphql-ws": "^6.0.8",
    "vscode-jsonrpc": "8.2.0",
    "vscode-languageserver-protocol": "3.17.5",
    "web-tree-sitter": "0.26.11"
  },
  "overrides": {
    "dompurify": "$dompurify"
  }
}
