This repository has been archived by the owner on Apr 22, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 327
/
package.json
66 lines (66 loc) · 2.35 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "web3-provider-engine",
"version": "17.0.1",
"description": "A JavaScript library for composing Ethereum provider objects using middleware modules",
"repository": "https://github.com/MetaMask/web3-provider-engine",
"main": "index.js",
"engines": {
"node": "^16.20 || ^18.16 || >=20"
},
"scripts": {
"test": "node test/index.js && yarn lint",
"prepublishOnly": "yarn build && yarn bundle",
"build": "babel zero.js index.js -d dist/es5 && babel subproviders -d dist/es5/subproviders && babel util -d dist/es5/util",
"bundle": "mkdir -p ./dist && yarn bundle-engine && yarn bundle-zero",
"bundle-zero": "browserify -s ZeroClientProvider -e zero.js -t [ babelify --presets [ @babel/preset-env ] --global true --ignore [ 'node_modules/@babel' 'node_modules/core-js-pure' 'node_modules/core-js' ] ] > dist/ZeroClientProvider.js",
"bundle-engine": "browserify -s ProviderEngine -e index.js -t [ babelify --presets [ @babel/preset-env ] --global true --ignore [ 'node_modules/@babel' 'node_modules/core-js-pure' 'node_modules/core-js' ] ] > dist/ProviderEngine.js",
"lint": "eslint --quiet --ignore-path .gitignore ."
},
"files": [
"*.js",
"dist",
"subproviders",
"util"
],
"license": "MIT",
"dependencies": {
"@cypress/request": "^3.0.1",
"@ethereumjs/statemanager": "^1.1.0",
"@ethereumjs/block": "^4.3.0",
"@ethereumjs/tx": "^4.2.0",
"@ethereumjs/vm": "^6.5.0",
"@ethereumjs/util": "^8.1.0",
"@metamask/eth-json-rpc-filters": "^7.0.0",
"@metamask/eth-json-rpc-infura": "^9.1.0",
"@metamask/eth-json-rpc-middleware": "^12.1.0",
"@metamask/eth-sig-util": "^7.0.1",
"@metamask/rpc-errors": "^6.2.1",
"async": "^2.6.4",
"backoff": "^2.5.0",
"clone": "^2.1.2",
"eth-block-tracker": "^8.1.0",
"json-stable-stringify": "^1.1.1",
"promise-to-callback": "^1.0.0",
"readable-stream": "^3.6.2",
"semaphore": "^1.1.0",
"ws": "^7.5.9",
"xhr": "^2.6.0",
"xtend": "^4.0.2"
},
"devDependencies": {
"@babel/cli": "^7.23.0",
"@babel/core": "^7.23.0",
"@babel/preset-env": "^7.23.2",
"@metamask/ethjs": "^0.6.0",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"eslint": "^6.2.0",
"ethereum-cryptography": "^2.1.2",
"ganache": "^7.9.2",
"tape": "^5.7.1"
},
"browser": {
"request": false,
"ws": false
}
}