-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
91 lines (91 loc) · 3.7 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
{
"name": "ondo-cash-flux",
"version": "0.1.0",
"license": "BSD-3-Clause",
"private": true,
"husky": {
"hooks": {
"pre-commit": "yarn lint:fix && yarn clean"
}
},
"scripts": {
"init-repo": "git submodule init && git submodule update && cd lib/forge-std && forge build && cd ../../",
"compile": "hardhat compile",
"local-node": "hardhat node --tags Local --hostname 127.0.0.1",
"staging-node": "hardhat node --hostname 0.0.0.0",
"clean": "rm -rf build types .openzeppelin cache artifacts artifactsforge typechain",
"coverage": "forge coverage --fork-url $(grep -w ETHEREUM_RPC_URL .env | cut -d '=' -f2) --fork-block-number $(grep -w FORK_FROM_BLOCK_NUMBER .env | cut -d '=' -f2)",
"typecheck": "tsc --noEmit",
"lint": "pretty-quick --pattern '**/*.*(sol|json|js|ts)' --verbose",
"lint:check": "prettier --check '**/*.(sol|json|js|ts)' '!lib/forge-std/**/*.(sol)' '!contracts/external/**/*.(sol)' --ignore-path=.gitignore",
"lint:fix-all": "prettier --write '**/*.(sol|json|js|ts)' '!lib/forge-std/**/*.(sol)' '!contracts/external/**/*.(sol)' --ignore-path=.gitignore",
"lint:fix": "pretty-quick --pattern '**/*.(sol|json|js|ts)' --staged --ignore-path=.gitignore --verbose",
"test-forge": "forge test --fork-url $(grep -w ETHEREUM_RPC_URL .env | cut -d '=' -f2) --fork-block-number $(grep -w FORK_FROM_BLOCK_NUMBER_MAINNET .env | cut -d '=' -f2) --nmc ASSERT_FORK",
"test-forge-ci": "forge test --fork-url $ETHEREUM_RPC_URL --fork-block-number 19505904 --nmc ASSERT_FORK",
"test-ci": "rm -rf build types .openzeppelin & export CHAIN_ID=1 && hardhat test",
"test-forge-mantle": "forge test --fork-url https://rpc.mantle.xyz/ --nmc '(ASSERT_FORK|_ETH)' --nmt _eth",
"test-forge-mantle-ci": "forge test --fork-url https://rpc.mantle.xyz/ --nmc '(ASSERT_FORK|_ETH)' --nmt _eth"
},
"dependencies": {
"@aragon/os": "https://github.com/aragon/aragonOS.git",
"@nomicfoundation/hardhat-network-helpers": "^1.0.9",
"@nomiclabs/hardhat-waffle": "2.0.1",
"@openzeppelin/contracts": "^4.8.3",
"@openzeppelin/hardhat-upgrades": "1.22.1",
"@types/inquirer": "9.0.2",
"@uniswap/v2-periphery": "^1.1.0-beta.0",
"axios": "0.21.1",
"bignumber.js": "9.0.1",
"bip39": "3.0.3",
"chalk": "4.1.2",
"commander": "9.4.1",
"decimal.js": "10.2.1",
"defender-admin-client": "1.34.0",
"ethereum-cryptography": "0.1.3",
"ethereum-waffle": "3.3.0",
"ethereumjs-util": "7.1.4",
"ethers": "5.4.6",
"fs": "0.0.1-security",
"hardhat": "2.11.2",
"hardhat-gas-reporter": "1.0.4",
"husky": "4.3.8",
"inquirer": "8.0.0",
"lodash": "4.17.21",
"node-fetch": "2.6.1",
"path": "0.12.7",
"solidity-bytes-utils": "0.0.6",
"solidity-coverage": "0.8.0"
},
"devDependencies": {
"@nomiclabs/hardhat-ethers": "npm:[email protected]",
"@nomiclabs/hardhat-etherscan": "3.1.7",
"@truffle/debug-utils": "5.0.11",
"@typechain/ethers-v5": "7.1.2",
"@typechain/hardhat": "2.3.0",
"@typechain/truffle-v5": "5.1.0",
"@types/bn.js": "4.11.6",
"@types/chai": "4.2.19",
"@types/lodash": "4.14.168",
"@types/mocha": "8.2.2",
"@types/node": "15.12.5",
"@types/web3": "1.2.2",
"chai": "4.3.4",
"chai-ethers": "0.0.1",
"csv-parse": "5.0.4",
"dotenv": "10.0.0",
"ganache-cli": "6.12.2",
"hardhat-contract-sizer": "2.0.3",
"hardhat-deploy": "0.8.9",
"mocha": "9.0.1",
"prettier": "2.7.1",
"prettier-plugin-solidity": "1.0.0-rc.1",
"pretty-quick": "3.1.0",
"truffle": "5.2.3",
"ts-essentials": "7.0.1",
"ts-node": "10.0.0",
"typechain": "5.1.2",
"typescript": "4.3.5",
"winston": "2.4.2",
"yarn": "1.22.10"
}
}