-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
64 lines (64 loc) · 2.37 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
{
"name": "tokenbridge-contracts",
"version": "5.5.0",
"description": "Bridge",
"main": "index.js",
"scripts": {
"test": "./node_modules/.bin/hardhat test",
"test-fast": "scripts/test-fast.sh",
"test:gasreport": "GASREPORT=true yarn run test",
"compile": "./node_modules/.bin/hardhat compile",
"flatten": "bash flatten.sh",
"lint": "yarn run lint:js && yarn run lint:sol",
"lint:js": "./node_modules/.bin/eslint .",
"lint:js:fix": "./node_modules/.bin/eslint . --fix",
"lint:sol": "./node_modules/.bin/solhint --max-warnings 0 \"contracts/**/*.sol\"",
"lint:sol:prettier:fix": "prettier --write \"contracts/**/*.sol\"",
"coverage": "./node_modules/.bin/hardhat coverage",
"contract-size": "{ ./node_modules/.bin/hardhat size-contracts | tee /dev/fd/3 | grep -q 'exceed the size limit for mainnet deployment' && exit 1; } 3>&1 || echo 'All contracts within size limit'",
"deploy:smoketest": "yarn run compile && env HARDHAT_NETWORK=localhost node ./deploy/setupMocks.js && env DOTENV_CONFIG_PATH=./.env.test DOTENV_CONFIG_DEBUG=true yarn run deploy",
"deploy": "node -r dotenv/config deploy/deploy.js"
},
"author": "POA network",
"license": "GPL-3.0-only",
"dependencies": {
"@nomiclabs/hardhat-truffle5": "^2.0.5",
"@truffle/hdwallet-provider": "^2.0.4",
"hardhat-contract-sizer": "^2.5.0",
"hardhat-gas-reporter": "^1.0.8",
"openzeppelin-solidity": "1.12.0",
"solidity-coverage": "^0.7.20",
"trezor-cli-wallet-provider": "^1.0.7",
"web3": "^1.7.1"
},
"devDependencies": {
"@nomiclabs/hardhat-web3": "^2.0.0",
"axios": "^0.26.1",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chai-bn": "^0.1.1",
"dotenv": "^16.0.0",
"envalid": "^4.1.4",
"eslint": "^8.11.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.2.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-prettier": "^3.0.1",
"eth-gas-reporter": "^0.2.24",
"ethereumjs-abi": "0.6.8",
"ethereumjs-util": "5.2.0",
"ganache": "^7.0.3",
"hardhat": "^2.9.1",
"istanbul": "^0.4.5",
"nodemon": "^2.0.15",
"prettier": "^1.18.2",
"prettier-plugin-solidity": "1.0.0-alpha.32",
"promise-retry": "^2.0.1",
"solhint": "^3.3.7",
"solhint-plugin-prettier": "0.0.5"
},
"volta": {
"node": "16.13.1"
}
}