{
  "name": "@codex-data/sdk",
  "version": "2.3.24",
  "engines": {
    "node": ">=17.5.0"
  },
  "main": "dist/index.js",
  "module": "dist/index.mjs",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.js"
    },
    "./schema.graphql": "./schema.graphql"
  },
  "sideEffects": false,
  "files": [
    "dist/index.js",
    "dist/index.mjs",
    "dist/index.d.ts",
    "dist/sdk/",
    "schema.graphql",
    "README.md"
  ],
  "keywords": [
    "crypto",
    "charting",
    "sdk",
    "analytics",
    "blockchain",
    "api"
  ],
  "repository": "github:Codex-Data/sdk",
  "author": "Codex",
  "license": "MIT",
  "homepage": "https://docs.codex.io",
  "description": "The Codex SDK for JavaScript/Typescript. It provides generated types and convenient ways to access the graphql api.",
  "dependencies": {
    "@graphql-typed-document-node/core": "^3.2.0",
    "graphql-request": "^6.1.0",
    "graphql-ws": "^5.14.0",
    "isomorphic-ws": "^5.0.0"
  },
  "peerDependencies": {
    "graphql": "^16.0.0"
  },
  "devDependencies": {
    "@graphql-codegen/cli": "5.0.0",
    "@graphql-codegen/client-preset": "^4.1.0",
    "@graphql-codegen/introspection": "4.0.0",
    "@graphql-codegen/typescript": "4.0.1",
    "@graphql-eslint/eslint-plugin": "^3.20.1",
    "@graphql-inspector/core": "^7.1.3",
    "@graphql-tools/wrap": "^10.0.5",
    "@types/jest": "^29.5.4",
    "@types/lodash": "^4.17.7",
    "@types/node": "^20.5.7",
    "@typescript-eslint/eslint-plugin": "^6.7.3",
    "@typescript-eslint/parser": "^6.7.3",
    "chalk": "^4.1.2",
    "cli-spinners": "^2.9.2",
    "dotenv": "^16.4.5",
    "eslint": "^8.50.0",
    "eslint-config-prettier": "^9.0.0",
    "eslint-plugin-import": "^2.28.1",
    "eslint-plugin-prettier": "^5.0.0",
    "eslint-plugin-simple-import-sort": "^10.0.0",
    "gql-query-builder": "^3.8.0",
    "graphql": "^16.9.0",
    "graphql-tag": "^2.12.6",
    "jest": "^29.6.4",
    "lodash": "^4.17.21",
    "merge": "^2.1.1",
    "mkdirp": "^3.0.1",
    "ora": "^5.4.1",
    "prettier": "^3.0.3",
    "ts-jest": "^29.1.1",
    "tsx": "^4.19.1",
    "typescript": "^5.2.2"
  },
  "scripts": {
    "prebuild": "pnpm run clean && pnpm run generate:configs",
    "clean": "rm -rf dist dist-esm",
    "build": "pnpm run copy:schema && pnpm run generate:graphql && pnpm run build:sdk && pnpm run codegen && pnpm run lint ./src/sdk --fix && pnpm run build:types",
    "build:types": "pnpm run build:cjs && pnpm run build:esm && pnpm run build:rename-esm",
    "build:cjs": "tsc",
    "build:esm": "tsc -p tsconfig.esm.json",
    "build:rename-esm": "find dist-esm -name '*.js' -exec sh -c 'mv \"$1\" \"${1%.js}.mjs\"' _ {} \\; && cp -r dist-esm/* dist/ && rm -rf dist-esm",
    "fetch:schema": "curl -s https://graph.codex.io/schema/latest.graphql --output src/resources/schema.graphql && cp src/resources/schema.graphql schema.graphql",
    "copy:schema": "cp src/resources/schema.graphql schema.graphql",
    "schema:diff": "tsx src/scripts/schemaDiff.ts",
    "generate:configs": "tsx src/scripts/generateNetworkConfigs.ts",
    "generate:graphql": "tsx src/scripts/generateGraphql.ts",
    "build:sdk": "tsx src/scripts/buildSdk.ts",
    "codegen": "graphql-codegen --config codegen.ts",
    "lint": "eslint --ext .ts src",
    "test": "jest",
    "format": "prettier --write .",
    "publish:beta": "pnpm publish --tag beta --access public",
    "publish:latest": "pnpm publish --access public"
  }
}