{
  "authors": [
    "Nick Dodson <nick.dodson@consensys.net>"
  ],
  "babel": {
    "plugins": [
      [
        "@babel/plugin-transform-template-literals",
        {
          "loose": true
        }
      ],
      "@babel/plugin-transform-literals",
      "@babel/plugin-transform-function-name",
      "@babel/plugin-transform-arrow-functions",
      "@babel/plugin-transform-block-scoped-functions",
      [
        "@babel/plugin-transform-classes",
        {
          "loose": true
        }
      ],
      "@babel/plugin-transform-object-super",
      "@babel/plugin-transform-shorthand-properties",
      [
        "@babel/plugin-transform-computed-properties",
        {
          "loose": true
        }
      ],
      [
        "@babel/plugin-transform-for-of",
        {
          "loose": true
        }
      ],
      "@babel/plugin-transform-sticky-regex",
      "@babel/plugin-transform-unicode-regex",
      [
        "@babel/plugin-transform-spread",
        {
          "loose": true
        }
      ],
      "@babel/plugin-transform-parameters",
      [
        "@babel/plugin-transform-destructuring",
        {
          "loose": true
        }
      ],
      "@babel/plugin-transform-block-scoping",
      "@babel/plugin-transform-object-rest-spread",
      "@babel/plugin-transform-member-expression-literals",
      "@babel/plugin-transform-property-literals"
    ],
    "env": {
      "commonjs": {
        "plugins": [
          [
            "@babel/plugin-transform-modules-commonjs",
            {
              "loose": true
            }
          ]
        ]
      }
    }
  },
  "bugs": {
    "url": "https://github.com/MetaMask/ethjs-util/issues"
  },
  "bundleDependencies": false,
  "contributors": [
    {
      "name": "Richard Moore",
      "email": "me@ricmoo.com",
      "url": "https://ethers.io"
    }
  ],
  "dependencies": {
    "is-hex-prefixed": "1.0.0",
    "strip-hex-prefix": "1.0.0"
  },
  "deprecated": false,
  "description": "A simple set of Ethereum JS utilities.",
  "peerDependencies": {
    "@babel/runtime": "^7.0.0"
  },
  "devDependencies": {
    "@babel/cli": "^7.0.0",
    "@babel/core": "^7.0.0",
    "@babel/eslint-parser": "^7.11.0",
    "@babel/plugin-transform-arrow-functions": "^7.0.0",
    "@babel/plugin-transform-block-scoped-functions": "^7.0.0",
    "@babel/plugin-transform-block-scoping": "^7.0.0",
    "@babel/plugin-transform-classes": "^7.0.0",
    "@babel/plugin-transform-computed-properties": "^7.0.0",
    "@babel/plugin-transform-destructuring": "^7.0.0",
    "@babel/plugin-transform-for-of": "^7.0.0",
    "@babel/plugin-transform-function-name": "^7.0.0",
    "@babel/plugin-transform-literals": "^7.0.0",
    "@babel/plugin-transform-member-expression-literals": "^7.0.0",
    "@babel/plugin-transform-modules-commonjs": "^7.0.0",
    "@babel/plugin-transform-object-rest-spread": "^7.0.0",
    "@babel/plugin-transform-object-super": "^7.0.0",
    "@babel/plugin-transform-parameters": "^7.0.0",
    "@babel/plugin-transform-property-literals": "^7.0.0",
    "@babel/plugin-transform-shorthand-properties": "^7.0.0",
    "@babel/plugin-transform-spread": "^7.0.0",
    "@babel/plugin-transform-sticky-regex": "^7.0.0",
    "@babel/plugin-transform-template-literals": "^7.0.0",
    "@babel/plugin-transform-unicode-regex": "^7.0.0",
    "@babel/register": "^7.0.0",
    "babel-loader": "^8.0.0",
    "bignumber.js": "^9.1.2",
    "bn.js": "^5.2.1",
    "chai": "^4.4.1",
    "cross-env": "^7.0.3",
    "eslint": "^7.32.0",
    "eslint-config-airbnb": "^18.2.1",
    "eslint-import-resolver-webpack": "^0.13.8",
    "eslint-plugin-import": "^2.29.1",
    "eslint-plugin-jsx-a11y": "^6.8.0",
    "eslint-plugin-react": "^7.21.5",
    "eslint-plugin-react-hooks": "^4.6.0",
    "istanbul": "^0.4.5",
    "json-loader": "^0.5.7",
    "mocha": "^8.4.0",
    "pre-commit": "^1.2.2",
    "rimraf": "^3.0.2",
    "webpack": "^3.12.0"
  },
  "engines": {
    "node": "^10.19 || ^12.22 || ^16.20 || ^18.18 || >=20",
    "npm": ">=6"
  },
  "eslintConfig": {
    "parser": "@babel/eslint-parser",
    "extends": "airbnb",
    "env": {
      "node": true,
      "mocha": true,
      "es6": true
    },
    "overrides": [
      {
        "files": [
          "dist/**.js"
        ],
        "rules": {
          "indent": 0
        }
      }
    ],
    "parserOptions": {
      "ecmaVersion": 6,
      "sourceType": "module"
    },
    "rules": {
      "no-mixed-operators": 0,
      "arrow-parens": 0,
      "import/extensions": 0,
      "prefer-destructuring": 0,
      "object-curly-newline": 0,
      "import/no-unresolved": 2,
      "comma-dangle": [
        2,
        "always-multiline"
      ],
      "indent": [
        2,
        2,
        {
          "SwitchCase": 1
        }
      ],
      "no-console": 1,
      "max-len": 0,
      "prefer-template": 2,
      "no-use-before-define": 0,
      "newline-per-chained-call": 0,
      "arrow-body-style": [
        2,
        "as-needed"
      ]
    }
  },
  "files": [
    "dist",
    "internals",
    "lib",
    "src"
  ],
  "homepage": "https://github.com/MetaMask/ethjs-util#readme",
  "keywords": [
    "ethereum",
    "rpc",
    "formatter",
    "format",
    "ethereum",
    "encoding",
    "decoding"
  ],
  "license": "MIT",
  "main": "lib/index.js",
  "name": "@metamask/ethjs-util",
  "pre-commit": "build",
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org/"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/MetaMask/ethjs-util.git"
  },
  "scripts": {
    "build": "npm run build:commonjs && npm run test:lib && npm run build:umd && npm run build:umd:min",
    "build:clean": "npm run test:clean && rimraf ./dist",
    "build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib --copy-files",
    "build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=development webpack --config ./internals/webpack/webpack.config.js ./lib/index.js --progress",
    "build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack --config ./internals/webpack/webpack.config.js ./lib/index.js --progress",
    "lint": "npm run lint:js",
    "lint:eslint": "eslint --ignore-path .gitignore --ignore-pattern **/**.min.js",
    "lint:js": "npm run lint:eslint -- . ",
    "prebuild": "npm run build:clean && npm run test",
    "prepare": "npm run build",
    "pretest": "npm run lint",
    "release": "npmpub",
    "start": "npm test",
    "test": "mocha ./src/tests/**/*.js -R spec --timeout 2000000",
    "test:coverage": "node ./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha -- src/tests/**/*.js -R spec --timeout 2000000",
    "test:clean": "rimraf ./coverage",
    "test:lib": "mocha ./lib/tests/**/*.js -R spec --timeout 2000000"
  },
  "version": "0.4.0"
}
