{
  "name": "@concordium/web-sdk",
  "version": "12.0.2",
  "license": "Apache-2.0",
  "engines": {
    "node": ">=16"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/Concordium/concordium-node-sdk-js",
    "directory": "packages/sdk"
  },
  "sideEffects": [
    "lib/min/*",
    "lib/esm/types/cbor/encode.js",
    "src/types/cbor/encode.ts"
  ],
  "type": "module",
  "main": "lib/min/concordium.node.min.js",
  "browser": "lib/min/concordium.web.min.js",
  "react-native": "lib/min/concordium.react-native.min.js",
  "cdn": "lib/min/concordium.web.min.js",
  "types": "lib/esm/index.d.ts",
  "exports": {
    ".": {
      "types": "./lib/esm/index.d.ts",
      "bun": "./src/index.ts",
      "default": "./lib/esm/index.js"
    },
    "./nodejs": {
      "types": "./lib/esm/pub/nodejs.d.ts",
      "bun": "./src/pub/nodejs.ts",
      "react-native": null,
      "browser": null,
      "default": "./lib/esm/pub/nodejs.js"
    },
    "./extensions/*": {
      "types": "./lib/esm/extensions/*.d.ts",
      "bun": "./src/extensions/*.ts",
      "default": "./lib/esm/extensions/*.js"
    },
    "./*": {
      "types": "./lib/esm/pub/*.d.ts",
      "bun": "./src/pub/*.ts",
      "default": "./lib/esm/pub/*.js"
    },
    "./shims/ed25519": {
      "types": "./lib/esm/shims/ed25519/default.d.ts",
      "react-native": "./lib/esm/shims/ed25519/react-native.js",
      "node": "./lib/esm/shims/ed25519/node.js",
      "default": "./lib/esm/shims/ed25519/default.js"
    }
  },
  "files": [
    "/src/**/*",
    "/lib/esm/**/*",
    "/lib/min/**/*"
  ],
  "devDependencies": {
    "@babel/plugin-transform-private-methods": "^7.25.9",
    "@protobuf-ts/plugin": "^2.9.1",
    "@size-limit/preset-big-lib": "^11.2.0",
    "@testing-library/react-native": "^12.3.1",
    "@types/bs58check": "^2.1.0",
    "@types/jest": "^26.0.23",
    "@types/json-bigint": "^1.0.1",
    "@types/node": "^20.12.13",
    "@types/uuid": "^8.3.4",
    "eslint": "8",
    "glob": "^10.3.10",
    "grpc-tools": "^1.11.2",
    "grpc_tools_node_protoc_ts": "5.3.0",
    "isomorphic-fetch": "^3.0.0",
    "jest": "^29.6.2",
    "jest-environment-jsdom": "^29.7.0",
    "mkdirp": "^3.0.1",
    "prettier": "^3.2.5",
    "react-native": "^0.74.1",
    "rimraf": "^5.0.1",
    "size-limit": "^11.1.4",
    "ts-jest": "^29.1.1",
    "tsx": "^4.19.3",
    "typescript": "^5.2.2",
    "webpack": "^5.88.2",
    "webpack-cli": "^5.1.4"
  },
  "scripts": {
    "generate-ts-v2": "node scripts/run-protoc.js",
    "generate": "node scripts/generate.js",
    "lint": "eslint . --cache --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
    "lint-fix": "yarn lint --fix",
    "prettier": "prettier . --ignore-path ../../.gitignore --ignore-path ../../.prettierignore --ignore-path .gitignore",
    "fmt": "yarn prettier --write",
    "fmt-check": "yarn prettier --check",
    "test": "jest",
    "test-rn": "yarn test -c jest.config.react-native.ts",
    "test-web": "yarn test -c jest.config.web.ts",
    "test-ci": "yarn test ./test/ci && yarn test-rn ./test/ci && yarn test-web ./test/ci",
    "build": "yarn clean && yarn mkdirp src/grpc-api && yarn generate && yarn build-dev && yarn webpack",
    "build-dev": "tsc -p tsconfig.build.json",
    "webpack": "tsx ../../node_modules/webpack-cli/bin/cli.js --config webpack.config.ts",
    "typecheck": "tsc -p tsconfig.json",
    "clean": "rimraf -- lib src/grpc-api",
    "size": "tsc -p tsconfig.build.json && size-limit",
    "size:no-build": "size-limit"
  },
  "dependencies": {
    "@concordium/rust-bindings": "^4.0.1",
    "@grpc/grpc-js": "^1.14.0",
    "@noble/ed25519": "^2.0.0",
    "@noble/hashes": "^1.3.2",
    "@protobuf-ts/grpc-transport": "^2.9.1",
    "@protobuf-ts/grpcweb-transport": "^2.9.1",
    "@protobuf-ts/runtime-rpc": "^2.8.2",
    "@scure/bip39": "^1.2.1",
    "@types/big.js": "^6.2.0",
    "big.js": "^6.2.0",
    "bs58check": "^3.0.1",
    "buffer": "^6.0.3",
    "cbor2": "^1.12.0",
    "hash.js": "^1.1.7",
    "iso-3166-1": "^2.1.1",
    "json-bigint": "^1.0.0",
    "uuid": "^8.3.2"
  },
  "peerDependencies": {
    "@protobuf-ts/runtime-rpc": "^2.8.2",
    "cbor2": "^1.12.0"
  }
}