UNPKG

eth-json-rpc-middleware

Version:
89 lines (88 loc) 2.79 kB
{ "name": "eth-json-rpc-middleware", "version": "9.0.1", "description": "Ethereum-related json-rpc-engine middleware.", "repository": { "type": "git", "url": "https://github.com/MetaMask/eth-json-rpc-middleware.git" }, "license": "ISC", "main": "./dist/index.js", "browser": { "btoa": false, "node-fetch": false }, "types": "./dist/index.d.ts", "files": [ "dist/" ], "scripts": { "build": "tsc --project tsconfig.build.json", "build:clean": "rimraf dist && yarn build", "lint": "yarn lint:eslint && yarn lint:misc --check", "lint:eslint": "eslint . --cache --ext js,ts", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", "lint:misc": "prettier '**/*.json' '**/*.md' '!CHANGELOG.md' '**/*.yml' '!.yarnrc.yml' --ignore-path .gitignore --no-error-on-unmatched-pattern", "prepack": "yarn build", "test": "jest", "test:watch": "jest --watch" }, "dependencies": { "@metamask/eth-sig-util": "^5.0.0", "@metamask/safe-event-emitter": "^2.0.0", "@metamask/utils": "^3.0.3", "btoa": "^1.2.1", "clone": "^2.1.1", "eth-block-tracker": "^5.0.1", "eth-rpc-errors": "^4.0.3", "json-rpc-engine": "^6.1.0", "json-stable-stringify": "^1.0.1", "node-fetch": "^2.6.7", "pify": "^3.0.0" }, "devDependencies": { "@jest/globals": "^27.5.1", "@lavamoat/allow-scripts": "^2.0.3", "@metamask/auto-changelog": "^2.5.0", "@metamask/eslint-config": "^8.0.0", "@metamask/eslint-config-jest": "^8.0.0", "@metamask/eslint-config-nodejs": "^8.0.0", "@metamask/eslint-config-typescript": "^8.0.0", "@types/btoa": "^1.2.3", "@types/clone": "^2.1.0", "@types/jest": "^27.4.1", "@types/json-stable-stringify": "^1.0.32", "@types/node": "^17.0.23", "@types/pify": "^3.0.2", "@typescript-eslint/eslint-plugin": "^4.21.0", "@typescript-eslint/parser": "^4.21.0", "eslint": "^7.14.0", "eslint-config-prettier": "^8.1.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jest": "^24.1.3", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^3.3.1", "jest": "^27.5.1", "prettier": "^2.2.1", "prettier-plugin-packagejson": "^2.2.11", "rimraf": "^3.0.2", "ts-jest": "^27.1.4", "ts-node": "^10.7.0", "typescript": "~4.2.4" }, "packageManager": "yarn@3.2.1", "engines": { "node": ">=14.0.0" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "lavamoat": { "allowScripts": { "@lavamoat/preinstall-always-fail": false, "@metamask/eth-sig-util>ethereumjs-util>ethereum-cryptography>keccak": false, "@metamask/eth-sig-util>ethereumjs-util>ethereum-cryptography>secp256k1": false } } }