UNPKG

1.97 kBJSONView Raw
1{
2 "name": "eth-json-rpc-middleware",
3 "description": "Ethereum-related json-rpc-engine middleware.",
4 "version": "7.0.1",
5 "main": "./dist/index.js",
6 "types": "./dist/index.d.ts",
7 "browser": {
8 "node-fetch": false,
9 "btoa": false
10 },
11 "engines": {
12 "node": ">=10.0.0"
13 },
14 "directories": {
15 "test": "test"
16 },
17 "scripts": {
18 "build": "rm -rf ./dist && tsc --project .",
19 "lint": "eslint . --ext ts,js,json",
20 "lint:fix": "yarn lint --fix",
21 "test:nobuild": "node test/index.js",
22 "test": "yarn build && yarn test:nobuild",
23 "prepublishOnly": "yarn build && yarn lint && yarn test:nobuild"
24 },
25 "license": "ISC",
26 "files": [
27 "dist/"
28 ],
29 "dependencies": {
30 "@metamask/safe-event-emitter": "^2.0.0",
31 "btoa": "^1.2.1",
32 "clone": "^2.1.1",
33 "eth-rpc-errors": "^4.0.3",
34 "eth-sig-util": "^1.4.2",
35 "json-rpc-engine": "^6.1.0",
36 "json-stable-stringify": "^1.0.1",
37 "node-fetch": "^2.6.1",
38 "pify": "^3.0.0"
39 },
40 "devDependencies": {
41 "@metamask/eslint-config": "^5.0.0",
42 "@types/btoa": "^1.2.3",
43 "@types/clone": "^2.1.0",
44 "@types/eth-sig-util": "^2.1.0",
45 "@types/json-stable-stringify": "^1.0.32",
46 "@types/node": "^14.14.36",
47 "@types/pify": "^3.0.2",
48 "@typescript-eslint/eslint-plugin": "^4.10.0",
49 "@typescript-eslint/parser": "^4.10.0",
50 "async": "^2.5.0",
51 "concat-stream": "^1.6.2",
52 "eslint": "^7.14.0",
53 "eslint-plugin-import": "^2.22.1",
54 "eslint-plugin-json": "^2.1.2",
55 "eslint-plugin-node": "^11.1.0",
56 "eth-block-tracker": "^5.0.1",
57 "ethjs-query": "^0.3.8",
58 "ganache-core": "^2.13.2",
59 "tape": "^4.6.3",
60 "typescript": "^4.1.3"
61 },
62 "repository": {
63 "type": "git",
64 "url": "git+https://github.com/MetaMask/eth-json-rpc-middleware.git"
65 },
66 "bugs": {
67 "url": "https://github.com/MetaMask/eth-json-rpc-middleware/issues"
68 },
69 "homepage": "https://github.com/MetaMask/eth-json-rpc-middleware#readme"
70}