forked from web3/web3.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
133 lines (133 loc) · 6.44 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "web3.js",
"private": true,
"description": "Ethereum API wrappers and utilities",
"author": "ChainSafe Systems",
"license": "LGPL-3.0",
"keywords": [
"ethereum",
"eth",
"web3",
"web3js",
"web3.js",
"blockchain"
],
"homepage": "https://github.com/ChainSafe/web3.js#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/ChainSafe/web3.js.git"
},
"bugs": {
"url": "https://github.com/ChainSafe/web3.js/issues"
},
"engines": {
"node": ">=14",
"npm": ">=6.12.0"
},
"workspaces": {
"packages": [
"packages/*",
"tools/*"
]
},
"scripts": {
"version": "yarn run bootstrap && yarn build",
"bootstrap": "lerna bootstrap",
"prebuild": "yarn clean && ts-node scripts/init.ts",
"build": "lerna run build --stream",
"build:web": "lerna run build:web --stream",
"build:web:analyze": "lerna run build:web:analyze --stream",
"build:docs": "cd docs && yarn install && yarn build",
"changelog": "ts-node -P scripts/changelog/tsconfig.json scripts/changelog/src/index.ts",
"clean": "lerna run clean --stream --parallel",
"ganache:start": "WEB3_SYSTEM_TEST_BACKEND=ganache && ./scripts/ganache.sh start",
"ganache:start:background": "WEB3_SYSTEM_TEST_BACKEND=ganache && ./scripts/ganache.sh start 1",
"ganache:stop": "./scripts/ganache.sh stop",
"geth:start": "WEB3_SYSTEM_TEST_BACKEND=geth && ./scripts/geth.sh start",
"geth:start:background": "WEB3_SYSTEM_TEST_BACKEND=geth && ./scripts/geth.sh start 1",
"geth:stop": "./scripts/geth.sh stop",
"geth-binary:sync:start": "WEB3_SYSTEM_TEST_BACKEND=geth && ./scripts/geth_binary.sh syncStart",
"geth-binary:sync:stop": "WEB3_SYSTEM_TEST_BACKEND=geth && ./scripts/geth_binary.sh syncStop",
"geth-binary:start": "WEB3_SYSTEM_TEST_BACKEND=geth && ./scripts/geth_binary.sh start",
"geth-binary:start:background": "WEB3_SYSTEM_TEST_BACKEND=geth && ./scripts/geth_binary.sh start 1",
"geth-binary:stop": "WEB3_SYSTEM_TEST_BACKEND=geth && ./scripts/geth_binary.sh stop",
"lint": "lerna run lint --stream --parallel",
"lint:fix": "lerna run lint:fix --stream --parallel",
"format": "lerna run format --stream --parallel && prettier --write ./scripts/**/*.ts",
"test": "lerna run test --stream --parallel",
"test:coverage:unit": "lerna run test:coverage:unit --stream --parallel",
"test:coverage:integration": "lerna run test:coverage:integration --stream --parallel",
"test:unit": "lerna run test:unit --stream --parallel && jest --config=./scripts/jest.config.js",
"test:integration": "lerna run test:integration --stream",
"test:sync:integration": "lerna run test:sync:integration --stream",
"test:e2e:ganache:http": "./scripts/test-runner.sh ganache http",
"test:e2e:ganache:ws": "./scripts/test-runner.sh ganache ws",
"test:e2e:geth:http": "./scripts/test-runner.sh geth http",
"test:e2e:geth:ws": "./scripts/test-runner.sh geth ws",
"test:e2e:geth:ipc": "./scripts/test-runner.sh geth ipc",
"test:sync:e2e:geth:ws": "./scripts/test-runner.sh geth ws node sync",
"test:sync:e2e:geth:ipc": "./scripts/test-runner.sh geth ipc node sync",
"test:e2e:ganache:ws:electron": "./scripts/test-runner.sh ganache ws electron",
"test:e2e:ganache:ws:chrome": "./scripts/test-runner.sh ganache ws chrome",
"test:e2e:ganache:ws:firefox": "./scripts/test-runner.sh ganache ws firefox",
"test:e2e:coverage": "./scripts/test-runner.sh coverage",
"test:e2e:mainnet:http": "./scripts/test-runner.sh mainnet http",
"test:e2e:mainnet:ws": "./scripts/test-runner.sh mainnet ws",
"test:e2e:sepolia:http": "./scripts/test-runner.sh sepolia http",
"test:e2e:sepolia:ws": "./scripts/test-runner.sh sepolia ws",
"generate:accounts": "node ./scripts/gen_accounts.js",
"pre-blackbox": "yarn config set registry http://localhost:4873 && git init && git config --global user.email \"[email protected]\" && git config --global user.name \"CI\"",
"post-blackbox": "./scripts/verdaccio.sh stop",
"post-blackbox:ganache": "yarn ganache:stop && yarn post-blackbox",
"post-blackbox:geth": "yarn geth:stop && yarn post-blackbox",
"test:blackbox:ganache:http": "yarn pre-blackbox && yarn ganache:start:background && ./scripts/verdaccio.sh startBackgroundAndPublish && lerna run test:blackbox:ganache:http --stream && yarn post-blackbox:ganache",
"test:blackbox:ganache:ws": "yarn pre-blackbox && yarn ganache:start:background && ./scripts/verdaccio.sh startBackgroundAndPublish && lerna run test:blackbox:ganache:ws --stream && yarn post-blackbox:ganache",
"test:blackbox:geth:http": "yarn pre-blackbox && yarn geth:start:background && ./scripts/verdaccio.sh startBackgroundAndPublish && lerna run test:blackbox:geth:http --stream && yarn post-blackbox:geth",
"test:blackbox:geth:ws": "yarn pre-blackbox && yarn geth:start:background && ./scripts/verdaccio.sh startBackgroundAndPublish && lerna run test:blackbox:geth:ws --stream && yarn post-blackbox:geth",
"test:blackbox:infura:http": "yarn pre-blackbox && ./scripts/verdaccio.sh startBackgroundAndPublish && lerna run test:blackbox:infura:http --stream && yarn post-blackbox",
"test:blackbox:infura:ws": "yarn pre-blackbox && ./scripts/verdaccio.sh startBackgroundAndPublish && lerna run test:blackbox:infura:ws --stream && yarn post-blackbox",
"prepare": "husky install",
"postinstall": "yarn build",
"compile:contracts": "node ./scripts/compile_contracts.js && yarn format && yarn lint:fix"
},
"devDependencies": {
"@cypress/webpack-preprocessor": "^5.12.0",
"@droppedcode/typedoc-plugin-relative-includes": "^1.0.2",
"@openzeppelin/contracts": "^4.7.1",
"@types/node": "^17.0.40",
"@types/webpack": "^5.28.0",
"assert": "^2.0.0",
"buffer": "^6.0.3",
"bufferutil": "^4.0.6",
"clean-webpack-plugin": "^4.0.0",
"cypress-jest-adapter": "^0.1.1",
"declaration-bundler-webpack-plugin": "^1.0.3",
"eslint": "^8.20.0",
"http-browserify": "^1.7.0",
"https-browserify": "^1.0.0",
"husky": "^8.0.1",
"jest": "^28.1.3",
"lerna": "^5.1.8",
"lint-staged": "^13.0.3",
"npm-auth-to-token": "^1.0.0",
"prettier": "^2.7.1",
"prettier-plugin-solidity": "^1.0.0-beta.20",
"process": "^0.11.10",
"solc": "^0.8.15",
"ts-jest": "^28.0.7",
"ts-loader": "^9.3.1",
"ts-node": "^10.9.1",
"typedoc": "^0.23.9",
"typedoc-monorepo-link-types": "^0.0.4",
"typedoc-plugin-extras": "^2.2.5",
"typedoc-plugin-mdn-links": "^2.0.0",
"typescript": "^4.7.4",
"utf-8-validate": "^5.0.9",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0"
},
"packageManager": "[email protected]",
"dependencies": {
"webpack-bundle-analyzer": "^4.7.0"
}
}