{
  "name": "postchain-client",
  "version": "2.1.4",
  "main": "built/cjs/index.js",
  "browser": "built/esm/index.js",
  "types": "built/index.d.ts",
  "files": [
    "built/*"
  ],
  "exports": {
    "import": "./built/esm/index.js",
    "require": "./built/cjs/index.js",
    "browser": "./built/esm/index.js",
    "script": "./built/umd/index.js",
    "types": "./built/index.d.ts"
  },
  "description": "Client library for accessing a Postchain node through REST.",
  "repository": {
    "type": "git",
    "url": "ssh://git@bitbucket.org/chromawallet/postchain-client.git"
  },
  "lint-staged": {
    "*.ts": [
      "prettier -w",
      "eslint --fix --max-warnings 0"
    ]
  },
  "scripts": {
    "test:unit": "jest --testMatch='<rootDir>/test/unit/**/*.test.ts'",
    "test:integration": "BLOCKCHAIN_RID=$(curl -s http://localhost:7740/brid/iid_0) jest --testMatch='<rootDir>/test/integration/*.test.ts'",
    "test:chromiaNetwork": "bash scripts/setup-chromia-network-and-deploy-dapps.sh && BLOCKCHAIN_RID=$(curl -s http://localhost:7740/brid/iid_0) jest --testMatch='<rootDir>test/integrationChromiaNetwork/**/*.test.ts'",
    "test:manually": "jest test/manual/**/*.test.ts",
    "test:pcctf": "jest --testMatch='<rootDir>/test/pcctf/**/*.test.ts'",
    "test:unit:coverage": "jest --testMatch='<rootDir>/test/unit/**/*.test.ts' --coverage",
    "test:integration:coverage": "jest test/integration/**/*.test.ts' --coverage",
    "test:chromiaNetwork:coverage": "jest test/integrationChromiaNetwork/**/*.test.ts --coverage",
    "setup:chromiaNetwork": "bash scripts/setup-chromia-network-and-deploy-dapps.sh",
    "build": "pnpm run clean && tsc && rollup -c rollup.config.mjs && echo '{\"type\": \"module\"}' > built/esm/package.json",
    "clean": "rimraf built",
    "prepack": "pnpm run build",
    "publish": "pnpm run prepack && pnpm publish --access public",
    "prepare": "husky install",
    "lint": "eslint . --ext .ts --fix",
    "format": "prettier --write ."
  },
  "author": "ChromaWay AB",
  "contributors": [
    {
      "name": "Kalle Rosenbaum",
      "email": "kalle@popeller.io"
    }
  ],
  "license": "BSD-2-Clause-FreeBSD",
  "dependencies": {
    "@chromia/asn1": "^1.0.1",
    "@types/bn.js": "^5.1.1",
    "axios": "1.9.0",
    "crypto-browserify": "^3.12.0",
    "lodash": "^4.17.21",
    "merklehashts": "^1.0.5",
    "secp256k1": "^4.0.4",
    "stream-browserify": "^3.0.0",
    "uuid": "^11.1.0",
    "zod": "^3.22.4"
  },
  "devDependencies": {
    "@babel/core": "^7.28.5",
    "@babel/preset-env": "^7.28.5",
    "@rollup/plugin-alias": "^4.0.3",
    "@rollup/plugin-commonjs": "^24.0.1",
    "@rollup/plugin-inject": "^5.0.3",
    "@rollup/plugin-json": "^6.0.0",
    "@rollup/plugin-node-resolve": "^15.0.1",
    "@types/body-parser": "^1.19.3",
    "@types/express": "^4.17.14",
    "@types/jest": "^29.5.14",
    "@types/lodash": "^4.14.186",
    "@types/node": "^18.8.5",
    "@types/node-fetch": "^2.6.2",
    "@types/request": "^2.48.8",
    "@types/secp256k1": "^4.0.3",
    "@typescript-eslint/eslint-plugin": "^5.46.0",
    "@typescript-eslint/parser": "^5.46.0",
    "babel-jest": "^30.2.0",
    "body-parser": "^1.17.1",
    "dotenv": "^16.4.7",
    "eslint": "^8.29.0",
    "eslint-config-prettier": "^8.5.0",
    "express": "^4.15.2",
    "husky": "^8.0.2",
    "jest": "^29.7.0",
    "lint-staged": "^15.2.0",
    "msw": "^2.2.13",
    "prettier": "2.8.1",
    "rimraf": "^3.0.2",
    "rollup": "^3.10.1",
    "rollup-plugin-visualizer": "^5.12.0",
    "source-map-support": "^0.5.21",
    "ts-jest": "^29.2.6",
    "ts-node": "^10.9.1"
  },
  "peerDependencies": {
    "buffer": "^5.x || ^6.x",
    "events": "^3.3.0"
  },
  "packageManager": "pnpm@10.22.0+sha512.bf049efe995b28f527fd2b41ae0474ce29186f7edcb3bf545087bd61fbbebb2bf75362d1307fda09c2d288e1e499787ac12d4fcb617a974718a6051f2eee741c"
}
