{
  "name": "@parity/truapi",
  "version": "0.18.0",
  "description": "TrUAPI TypeScript transport, SCALE codecs, and generated API client",
  "license": "MIT",
  "author": "Parity Technologies <admin@parity.io>",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/paritytech/host-rust-core.git",
    "directory": "js/packages/truapi"
  },
  "homepage": "https://github.com/paritytech/host-rust-core#readme",
  "bugs": {
    "url": "https://github.com/paritytech/host-rust-core/issues"
  },
  "files": [
    "dist",
    "README.md",
    "LICENSE"
  ],
  "type": "module",
  "sideEffects": false,
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./sandbox": {
      "types": "./dist/sandbox.d.ts",
      "import": "./dist/sandbox.js"
    },
    "./scale": {
      "types": "./dist/scale.d.ts",
      "import": "./dist/scale.js"
    },
    "./wire-table": {
      "types": "./dist/generated/wire-table.d.ts",
      "import": "./dist/generated/wire-table.js"
    },
    "./wire-decode": {
      "types": "./dist/generated/wire-decode.d.ts",
      "import": "./dist/generated/wire-decode.js"
    },
    "./playground/services": {
      "types": "./dist/playground/codegen/services.d.ts",
      "import": "./dist/playground/codegen/services.js"
    },
    "./playground/services-types": {
      "types": "./dist/playground/services-types.d.ts",
      "import": "./dist/playground/services-types.js"
    },
    "./playground/codegen/truapi-dts": {
      "types": "./dist/playground/codegen/truapi-dts.d.ts",
      "import": "./dist/playground/codegen/truapi-dts.js"
    },
    "./explorer/data-types": {
      "types": "./dist/explorer/data-types.d.ts",
      "import": "./dist/explorer/data-types.js"
    },
    "./explorer/types": {
      "types": "./dist/explorer/codegen/types.d.ts",
      "import": "./dist/explorer/codegen/types.js"
    },
    "./explorer/versions": {
      "types": "./dist/explorer/versions.d.ts",
      "import": "./dist/explorer/versions.js"
    }
  },
  "scripts": {
    "ensure-generated": "./scripts/ensure-generated.sh",
    "build": "tsc -b",
    "prebuild": "npm run ensure-generated",
    "codegen": "cargo run -p truapi-codegen -- --input ../../../target/doc/truapi.json --output src/generated --playground-output src/playground --explorer-output src/explorer",
    "typecheck": "npm run build",
    "pretest": "npm run ensure-generated",
    "test": "bun test",
    "test:watch": "bun test --watch"
  },
  "devDependencies": {
    "@types/bun": "^1.3.0",
    "typescript": "^6.0"
  },
  "dependencies": {
    "@noble/hashes": "^2.2.0",
    "neverthrow": "^8.2.0",
    "scale-ts": "^1.6.1"
  }
}
