{
  "name": "web3-errors-extract",
  "version": "0.2.4",
  "description": "Get EVM based web3 transaction revert messages or any other errors",
  "main": "./lib/commonjs/index.js",
  "module": "./lib/esm/index.js",
  "types": "./lib/types/index.d.ts",
  "exports": {
    ".": {
      "types": "./lib/types/index.d.ts",
      "import": "./lib/esm/index.js",
      "require": "./lib/commonjs/index.js"
    }
  },
  "files": [
    "lib/**/*",
    "dist/**/*"
  ],
  "scripts": {
    "test": "jest --runInBand",
    "test:watch": "jest --watch",
    "typescript": "tsc",
    "build:cjs": "tsc --build tsconfig.cjs.json && tsc-alias -p tsconfig.cjs.json && echo {\"type\": \"commonjs\"} > ./lib/commonjs/package.json",
    "build:esm": "tsc --build tsconfig.esm.json && tsc-alias -p tsconfig.esm.json && echo {\"type\": \"module\"} > ./lib/esm/package.json",
    "build:types": "tsc --build tsconfig.types.json",
    "esbuild:browser": "esbuild src/index.ts --bundle --minify --outfile=dist/web3-errors-extract.min.js",
    "build:browser": "browserify lib/commonjs/index.js > dist/web3-errors-extract.min.js",
    "build:all": "npm run build:cjs && npm run build:esm && npm run build:types && npm run esbuild:browser"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/moazzamgodil/web3-errors-extract.git"
  },
  "browser": "dist/web3-errors-extract.min.js",
  "keywords": [
    "web3",
    "errors",
    "evm",
    "ethereum",
    "blockchain",
    "extract"
  ],
  "author": "Moazzam Ahmed",
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/moazzamgodil/web3-errors-extract/issues"
  },
  "homepage": "https://github.com/moazzamgodil/web3-errors-extract#readme",
  "devDependencies": {
    "@types/jest": "^30.0.0",
    "@types/node": "^20.11.13",
    "@types/web3": "^1.2.2",
    "esbuild": "0.21.4",
    "jest": "^30.4.2",
    "ts-jest": "^29.4.11",
    "tsc-alias": "^1.8.10",
    "typescript": "^5.3.3"
  },
  "dependencies": {
    "events": "^3.3.0",
    "web3": "^4.9.0"
  }
}
