{
  "name": "@hive-staging/wax",
  "version": "0.3.28",
  "description": "Provides Hive Protocol features to JavaScript",
  "main": "wasm/dist/bundle/lib/web.js",
  "type": "module",
  "private": false,
  "scripts": {
    "prebuild": "husky install && sh scripts/compile_proto_ts.sh && rimraf wasm/dist",
    "build": "wasm/build_wasm_wax.sh && tsc",
    "postbuild": "rollup -c && scripts/generate_api_docs.sh",
    "pretest": "playwright install",
    "test": "unset CI && playwright test --workers 1 --max-failures 1 --project=wax_testsuite",
    "examples": "cd examples/ts && pnpm install && pnpm run test && cd ../..",
    "prepack": "mv README.md _README.md && cp npm.ts.md README.md",
    "postpack": "mv _README.md README.md"
  },
  "exports": {
    ".": {
      "node": {
        "import": {
          "types": "./wasm/dist/bundle/lib/node.d.ts",
          "default": "./wasm/dist/bundle/lib/node.js"
        }
      },
      "default": {
        "import": {
          "types": "./wasm/dist/bundle/lib/web.d.ts",
          "default": "./wasm/dist/bundle/lib/web.js"
        }
      }
    },
    "./web": {
      "import": {
        "types": "./wasm/dist/bundle/lib/web.d.ts",
        "default": "./wasm/dist/bundle/lib/web.js"
      }
    },
    "./node": {
      "import": {
        "types": "./wasm/dist/bundle/lib/node.d.ts",
        "default": "./wasm/dist/bundle/lib/node.js"
      }
    }
  },
  "devDependencies": {
    "@playwright/test": "^1.39.0",
    "@rollup/plugin-commonjs": "^25.0.7",
    "@rollup/plugin-node-resolve": "^15.2.3",
    "@rollup/plugin-replace": "^5.0.5",
    "@types/node": "^20.7.1",
    "concat-md": "^0.5.1",
    "core-js": "^3.35.0",
    "http-server": "^14.1.1",
    "husky": "8.0.3",
    "playwright": "^1.39.0",
    "rimraf": "^5.0.1",
    "rollup": "^4.3.0",
    "rollup-plugin-typescript2": "^0.36.0",
    "ts-proto": "^1.158.0",
    "tslib": "^2.6.2",
    "typedoc": "0.25.3",
    "typedoc-plugin-markdown": "3.17.1",
    "typescript": "5.2.2"
  },
  "dependencies": {
    "@hive-staging/beekeeper": "^0.1.6",
    "class-transformer": "^0.5.1",
    "class-validator": "^0.14.0",
    "long": "^5.2.3",
    "protobufjs": "^7.2.5",
    "reflect-metadata": "^0.1.13"
  },
  "license": "SEE LICENSE IN LICENSE.md",
  "files": [
    "LICENSE.md",
    "README.md",
    "api.md",
    "wasm/dist/bundle/lib"
  ],
  "types": "wasm/dist/bundle/lib/web.d.ts",
  "repository": {
    "type": "git",
    "url": "https://gitlab.syncad.com/hive/wax.git"
  },
  "engines": {
    "node": ">= 12"
  },
  "publishConfig": {
    "registry": "https://registry.npmjs.org/",
    "tag": "latest"
  }
}
