{
  "name": "casper-js-sdk",
  "version": "5.0.12",
  "license": "Apache 2.0",
  "description": "SDK to interact with the Casper blockchain",
  "homepage": "https://github.com/casper-ecosystem/casper-js-sdk#README.md",
  "repository": {
    "type": "git",
    "url": "https://github.com/casper-ecosystem/casper-js-sdk.git"
  },
  "main": "dist/lib.node.js",
  "browser": "dist/lib.web.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "react-native": "./dist/lib.web.js",
      "browser": "./dist/lib.web.js",
      "require": "./dist/lib.node.js",
      "default": "./dist/lib.node.js"
    }
  },
  "scripts": {
    "prepare": "husky-run install",
    "lint": "eslint src/ --fix",
    "lint:ci": "eslint src/ --max-warnings=0",
    "prebuild": "npm run clean && npm run lint",
    "build": "webpack --config webpack.config.js",
    "clean": "rm -rf ./dist",
    "~build": "tsc --watch",
    "test:node:unit": "cross-env NODE_ENV=test TS_NODE_FILES=true mocha --require ts-node/register/transpile-only --extension ts \"src/**/*.test.ts\"",
    "test:node:unit:node22": "cross-env NODE_ENV=test TS_NODE_FILES=true NODE_OPTIONS=\"--no-experimental-strip-types\" mocha --require ts-node/register/transpile-only --extension ts \"src/**/*.test.ts\"",
    "test:node:unit:coverage": "nyc npm run test:node:unit",
    "test:browser:unit": "cross-env NODE_ENV=test karma start karma.conf.js --single-run",
    "test:unit": "cross-env NODE_ENV=test npm run test:node:unit && npm run test:browser:unit",
    "test:node:e2e": "cross-env NODE_ENV=test TS_NODE_FILES=true mocha -r ts-node/register \"e2e/**/*.test.ts\" --timeout 5000000 --exit",
    "test:e2e": "cross-env NODE_ENV=test npm run test:node:e2e",
    "test": "npm run test:unit && npm run test:e2e",
    "docs:build": "cd site && vocs build -o ../docs && cd .. && typedoc --out docs/api",
    "docs:dev": "cd site && NODE_OPTIONS=--unhandled-rejections=none vocs dev",
    "docs:preview": "cd site && vocs preview",
    "prepublishOnly": "npm run build && npm run test:node:unit:node22"
  },
  "engines": {
    "node": ">=18"
  },
  "keywords": [
    "Casper",
    "BlockChain",
    "sdk"
  ],
  "author": "Jan Hoffmann <jan@casperlabs.io>",
  "lint-staged": {
    "src/**/*.{ts,tsx}": [
      "eslint --fix",
      "git add"
    ],
    "*.{js,css,md}": "prettier --write"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "devDependencies": {
    "@jsdevtools/coverage-istanbul-loader": "^3.0.5",
    "@types/bn.js": "^5.1.6",
    "@types/chai": "^4.1.7",
    "@types/chai-as-promised": "^7.1.5",
    "@types/eventsource": "^1.1.15",
    "@types/humanize-duration": "^3.18.1",
    "@types/mocha": "^5.2.7",
    "@types/node": "^14.14.31",
    "@types/node-fetch": "^2.6.4",
    "@types/sinon": "^10.0.13",
    "@types/ws": "^8.2.2",
    "@typescript-eslint/eslint-plugin": "^5.52.0",
    "@typescript-eslint/parser": "^5.52.0",
    "assert": "^2.0.0",
    "browserify-zlib": "^0.2.0",
    "buffer": "^6.0.3",
    "casper-node-launcher-js": "^0.0.3",
    "chai": "^4.2.0",
    "chai-as-promised": "^7.1.1",
    "copy-webpack-plugin": "^9.0.1",
    "cross-env": "^7.0.3",
    "crypto-browserify": "^3.12.1",
    "dotenv": "^16.0.3",
    "eslint": "^7.32.0",
    "eslint-config-prettier": "^8.1.0",
    "eslint-plugin-jsdoc": "^32.2.0",
    "eslint-plugin-lodash": "^7.4.0",
    "eslint-plugin-prefer-arrow": "^1.2.3",
    "https-browserify": "^1.0.0",
    "husky": "^4.3.8",
    "karma": "^6.4.1",
    "karma-chai": "^0.1.0",
    "karma-chrome-launcher": "^3.1.1",
    "karma-coverage-istanbul-reporter": "^3.0.3",
    "karma-mocha": "^2.0.1",
    "karma-sourcemap-loader": "^0.4.0",
    "karma-spec-reporter": "^0.0.36",
    "karma-webpack": "^5.0.0",
    "lint-staged": "^10.5.4",
    "mocha": "^10.1.0",
    "nyc": "^15.1.0",
    "prettier": "^1.18.2",
    "process": "^0.11.10",
    "serve": "^14.2.0",
    "sinon": "^15.0.3",
    "stream-browserify": "^3.0.0",
    "stream-http": "^3.2.0",
    "ts-loader": "^9.4.2",
    "ts-node": "^10.9.2",
    "typedoc": "^0.23.25",
    "typescript": "^4.9.5",
    "url": "^0.11.0",
    "util": "^0.12.5",
    "vocs": "^1.4.1",
    "webpack": "^5.76.3",
    "webpack-bundle-analyzer": "^4.8.0",
    "webpack-cli": "^4.5.0",
    "webpack-node-externals": "^2.5.2"
  },
  "overrides": {
    "elliptic": "^6.6.1",
    "minimatch": "^10.2.3",
    "bn.js": "^5.2.1",
    "@types/d3-dispatch": "3.0.6",
    "brace-expansion": "^5.0.5",
    "follow-redirects": "^1.16.0",
    "@rollup/pluginutils": {
      "picomatch": "^4.0.4"
    },
    "@vanilla-extract/compiler": {
      "picomatch": "^4.0.4",
      "yaml": "^2.8.3"
    },
    "tinyglobby": {
      "picomatch": "^4.0.4"
    },
    "vite-node": {
      "picomatch": "^4.0.4",
      "yaml": "^2.8.3"
    },
    "vocs": {
      "picomatch": "^4.0.4",
      "yaml": "^2.8.3"
    },
    "remark-mdx-frontmatter": {
      "yaml": "^2.8.3"
    },
    "vfile-matter": {
      "yaml": "^2.8.3"
    }
  },
  "dependencies": {
    "@ethersproject/bignumber": "^5.0.8",
    "@ethersproject/bytes": "^5.0.5",
    "@ethersproject/constants": "^5.0.5",
    "@noble/curves": "^1.1.0",
    "@noble/ed25519": "^1.7.3",
    "@noble/hashes": "^1.2.0",
    "@noble/secp256k1": "^1.7.1",
    "@scure/bip32": "^1.1.5",
    "@scure/bip39": "^1.2.0",
    "asn1.js": "^5.4.1",
    "axios": "^1.15.0",
    "bn.js": "^5.2.1",
    "eventsource": "^2.0.2",
    "glob": "^7.1.6",
    "humanize-duration": "^3.24.0",
    "node-fetch": "2.6.13",
    "reflect-metadata": "^0.1.13",
    "ts-results": "npm:@casperlabs/ts-results@^3.3.4",
    "typedjson": "^1.6.0-rc2"
  }
}
