{
  "name": "@cartridge/arcade",
  "version": "0.4.0",
  "engines": {
    "node": ">=22"
  },
  "description": "Cartridge Arcade SDK",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/cartridge-gg/arcade.git"
  },
  "publishConfig": {
    "access": "public"
  },
  "main": "./dist/index.js",
  "module": "dist/index.mjs",
  "types": "dist/index.d.ts",
  "browser": "dist/index.global.js",
  "jsdelivr": "dist/index.global.js",
  "unpkg": "dist/index.global.js",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.js"
    },
    "./marketplace": {
      "types": "./dist/marketplace/index.d.ts",
      "import": "./dist/marketplace/index.mjs",
      "require": "./dist/marketplace/index.js"
    },
    "./marketplace/edge": {
      "types": "./dist/marketplace/edge.d.ts",
      "import": "./dist/marketplace/edge.mjs",
      "require": "./dist/marketplace/edge.js"
    },
    "./marketplace/react": {
      "types": "./dist/marketplace/react.d.ts",
      "import": "./dist/marketplace/react.mjs",
      "require": "./dist/marketplace/react.js"
    }
  },
  "keywords": [],
  "dependencies": {
    "@dojoengine/core": "2.0.0",
    "@dojoengine/grpc": "2.0.0",
    "@dojoengine/sdk": "2.0.0",
    "@dojoengine/torii-client": "1.8.2",
    "@dojoengine/torii-wasm": "1.8.2",
    "@starknet-io/types-js": "0.10.2",
    "eventemitter3": "^5.0.1",
    "starknet": "10.0.2"
  },
  "peerDependencies": {
    "@tanstack/react-query": "^5.0.0",
    "react": "^19.0.0"
  },
  "devDependencies": {
    "@tanstack/react-query": "^5.85.3",
    "@testing-library/react": "^16.3.0",
    "@types/node": "^20.11.10",
    "@types/react": "^19.2.6",
    "@vitest/ui": "^3.2.4",
    "husky": "^9.1.7",
    "prettier": "^3.4.2",
    "react": "^19.2.0",
    "tsup": "8.4.0",
    "typedoc": "^0.27.0",
    "typedoc-plugin-markdown": "^4.4.1",
    "typescript": "5.8",
    "vite-plugin-top-level-await": "^1.4.4",
    "vite-plugin-wasm": "^3.5.0",
    "vitest": "^3.2.4"
  },
  "importSort": {
    ".js, .jsx, .ts, .tsx": {
      "style": "module",
      "parser": "typescript"
    }
  },
  "scripts": {
    "build:deps": "tsup && pnpm run build:esm && pnpm run build:iife && pnpm run build:dts",
    "build": "pnpm build:deps",
    "build:esm": "tsup --clean false --format esm --platform node",
    "build:iife": "tsup --clean false --format iife --platform browser --external node:*,tough-cookie,*.wasm",
    "build:dts": "tsup --clean false --dts-only",
    "pretest": "npm run format:check && npm run ts:check",
    "test": "vitest run",
    "test:ts": "vitest run",
    "test:coverage": "vitest run --coverage",
    "test:watch": "vitest",
    "test:edge:smoke": "vitest run --config vitest.edge.config.ts",
    "test:pack": "node scripts/test-packed-consumers.mjs",
    "test:integration": "RUN_INTEGRATION_TESTS=true vitest run --config vitest.integration.config.ts",
    "docs": "cd www && npm run start",
    "docs:build": "cd www && GIT_REVISION_OVERRIDE=${npm_config_git_revision_override} npm run build",
    "docs:build:version": "v=$(npm run info:version -s) && npm run docs:build --git-revision-override=${npm_config_git_revision_override=v$v}",
    "docs:version": "v=$(npm run info:version -s) && cd www && npm run version ${npm_config_version_override=$v}",
    "info:version": "npm pkg get version | xargs",
    "format": "biome format --fix .",
    "format:check": "biome format .",
    "format:ts": "pnpm format",
    "format:check:ts": "pnpm format:check",
    "ts:check": "tsc --noEmit --resolveJsonModule --project tsconfig.eslint.json",
    "ts:coverage": "type-coverage --at-least 95",
    "ts:coverage:report": "typescript-coverage-report",
    "lint": "biome lint --fix .",
    "lint:check": "biome lint .",
    "lint:ts": "pnpm lint",
    "lint:check:ts": "pnpm lint:check"
  }
}