{
  "name": "@vocdoni/sdk",
  "author": "Vocdoni",
  "version": "0.9.3",
  "description": "⚒️An SDK for building applications on top of Vocdoni API",
  "repository": "https://github.com/vocdoni/vocdoni-sdk.git",
  "license": "AGPL-3.0-or-later",
  "main": "dist/index.js",
  "output": "dist/index",
  "files": [
    "dist",
    "src",
    "package.json"
  ],
  "engines": {
    "node": ">=14"
  },
  "keywords": [
    "voting",
    "blockchain",
    "vocdoni"
  ],
  "scripts": {
    "clean": "rimraf node_modules dist",
    "start": "yarn watch",
    "build": "rollup -c",
    "ts-types": "tsc --emitDeclarationOnly --outDir dist",
    "test": "yarn test:unit && yarn test:api && yarn test:census3 && yarn test:service && yarn test:integration",
    "test:unit": "jest test/unit --verbose",
    "test:integration": "yarn test:integration:account && yarn test:integration:csp && yarn test:integration:election && yarn test:integration:other",
    "test:integration:account": "jest test/integration/account.test.ts",
    "test:integration:csp": "jest test/integration/csp.test.ts",
    "test:integration:election": "jest test/integration/election.test.ts",
    "test:integration:other": "jest test/integration/other.test.ts",
    "test:integration:zk": "jest test/integration/zk.test.ts --forceExit --runInBand",
    "test:service": "yarn test:service:census && yarn test:service:anonymous && yarn test:service:csp",
    "test:service:census": "jest test/services/census.test.ts",
    "test:service:anonymous": "jest test/services/anonymous.test.ts",
    "test:service:csp": "jest test/services/csp.test.ts",
    "test:api": "jest test/api",
    "test:census3": "yarn test:census3:api && yarn test:census3:integration",
    "test:census3:api": "jest test/census3/api",
    "test:census3:integration": "jest test/census3/integration",
    "lint": "eslint src test --ext .js,.jsx,.ts,.tsx",
    "lintfix": "yarn lint --fix",
    "prepack": "clean-package",
    "postpack": "mv -fv package.json.backup package.json",
    "size": "size-limit",
    "watch": "yarn build --watch"
  },
  "husky": {
    "hooks": {
      "pre-commit": "yarn lint"
    }
  },
  "prettier": {
    "printWidth": 120,
    "semi": true,
    "singleQuote": true,
    "trailingComma": "es5"
  },
  "jest": {
    "preset": "ts-jest",
    "testEnvironment": "node"
  },
  "size-limit": [
    {
      "path": "dist/index.js",
      "limit": "2 MB"
    },
    {
      "path": "dist/index.mjs",
      "limit": "2 MB"
    },
    {
      "path": "dist/index.umd.js",
      "limit": "2 MB"
    }
  ],
  "devDependencies": {
    "@rollup/plugin-commonjs": "^25.0.7",
    "@rollup/plugin-json": "^6.0.0",
    "@rollup/plugin-node-resolve": "^15.0.1",
    "@types/jest": "^29.2.2",
    "@typescript-eslint/eslint-plugin": "^5.42.1",
    "@typescript-eslint/parser": "^5.42.1",
    "clean-package": "^2.2.0",
    "esbuild": "^0.20.2",
    "eslint": "^8.27.0",
    "eslint-config-prettier": "^8.5.0",
    "eslint-plugin-prettier": "^4.2.1",
    "husky": "^8.0.2",
    "jest": "^29.3.0",
    "prettier": "^2.7.1",
    "rimraf": "^3.0.2",
    "rollup": "^4.13.2",
    "rollup-plugin-dts": "^6.1.0",
    "rollup-plugin-esbuild": "^6.1.1",
    "rollup-plugin-polyfill-node": "^0.13.0",
    "size-limit": "^8.1.0",
    "ts-jest": "^29.0.3",
    "tslib": "^2.4.0",
    "typescript": "^4.8.4"
  },
  "dependencies": {
    "@ethersproject/abstract-signer": "^5.7.0",
    "@ethersproject/address": "^5.7.0",
    "@ethersproject/bignumber": "^5.7.0",
    "@ethersproject/bytes": "^5.7.0",
    "@ethersproject/keccak256": "^5.7.0",
    "@ethersproject/providers": "^5.7.1",
    "@ethersproject/signing-key": "^5.7.0",
    "@ethersproject/strings": "^5.7.0",
    "@ethersproject/units": "^5.7.0",
    "@ethersproject/wallet": "^5.7.0",
    "@size-limit/file": "^8.2.4",
    "@vocdoni/proto": "1.15.12",
    "axios": "0.28.1",
    "blakejs": "^1.2.1",
    "blindsecp256k1": "^0.0.9",
    "blake2b": "^2.1.4",
    "buffer": "^6.0.3",
    "circomlibjs": "vocdoni/circomlibjs#f/browser",
    "iso-language-codes": "^1.1.0",
    "js-sha256": "^0.10.1",
    "readable-stream": "^4.4.2",
    "snarkjs": "vocdoni/snarkjs#f/browser",
    "tiny-invariant": "^1.3.1",
    "tweetnacl": "^1.0.3",
    "wasmbuilder": "^0.0.16",
    "wasmcurves": "0.2.1",
    "web-worker": "^1.2.0",
    "yup": "^0.32.11"
  },
  "module": "dist/index.mjs",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "require": "./dist/index.js",
      "import": "./dist/index.mjs"
    },
    "./umd": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.umd.js"
    },
    "./package.json": "./package.json"
  }
}
