{
  "name": "randomness-js",
  "version": "0.0.1-rc14",
  "description": "A library for consuming, verifying and using randomness from the dcipher network",
  "source": "src/index.ts",
  "main": "./dist/cjs/index.cjs",
  "module": "./dist/esm/index.mjs",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "require": {
        "types": "./dist/index.d.ts",
        "default": "./dist/cjs/index.cjs"
      },
      "import": {
        "types": "./dist/index.d.ts",
        "default": "./dist/esm/index.mjs"
      }
    }
  },
  "files": [
    "dist",
    "src",
    "LICENSE",
    "README.md"
  ],
  "scripts": {
    "build": "npm run clean && npm run build:solidity && npm run build:generate && npm run build:cjs && npm run build:esm && npm run build:types",
    "build:solidity": "(cd ./randomness-solidity && forge build && cd ..)",
    "build:generate": "mkdir -p src/generated && npx typechain --target ethers-v6 --out-dir src/generated './randomness-solidity/out/*.sol/*.json'",
    "build:esm": "esbuild src/index.ts --bundle --platform=browser --format=esm --outdir=dist/esm --sourcemap --target=es2020 --out-extension:.js=.mjs",
    "build:cjs": "esbuild src/index.ts --bundle --platform=node --format=cjs --outdir=dist/cjs --sourcemap --target=es2020 --out-extension:.js=.cjs",
    "build:types": "tsc",
    "clean": "rm -rf dist",
    "lint": "eslint src",
    "lint:fix": "eslint --fix",
    "test": "jest ./test/*.test.ts"
  },
  "keywords": [
    "dcrypt",
    "randamu",
    "randomness",
    "vrf",
    "evm",
    "ethereum"
  ],
  "author": "Randamu",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/randa-mu/randomness-js/issues"
  },
  "homepage": "https://github.com/randa-mu/randomness-js#readme",
  "dependencies": {
    "@kevincharm/noble-bn254-drand": "^0.0.1",
    "@noble/curves": "^1.8.1",
    "buffer": "^6.0.3",
    "ethers": "^6.13.4"
  },
  "devDependencies": {
    "@jest/globals": "^29.7.0",
    "@typechain/ethers-v6": "^0.5.1",
    "@types/dotenv": "^6.1.1",
    "@types/jest": "^29.5.14",
    "@types/node": "^22.7.5",
    "dotenv": "^16.4.7",
    "esbuild": "^0.24.0",
    "jest": "^29.7.0",
    "ts-jest": "^29.2.5",
    "ts-node": "^10.9.2",
    "typechain": "^8.3.2",
    "typescript": "^5.6.3",
    "typescript-eslint": "^8.11.0"
  },
  "engines": {
    "node": ">= 22.0.0"
  }
}
