forked from AztecProtocol/aztec-connect-bridges
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 3.28 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
{
"scripts": {
"setup": "yarn install:foundry && yarn setup:foundry",
"setup:foundry": "foundryup && git submodule update --init",
"install:foundry": "curl -L https://foundry.paradigm.xyz | bash",
"compile:contracts": "yarn clean && forge build",
"compile:typechain": "hardhat compile",
"compile:client-dest:watch": "yarn compile:typechain && tsc --project tsconfig.client-dest.json --watch",
"compile:client-dest": "yarn compile:typechain && tsc --project tsconfig.client-dest.json",
"clean": "rm -rf ./cache ./dest ./out ./artifacts ./typechain-types ./client-dest",
"test": "yarn test:contracts && yarn test:clients",
"test:clients": "yarn compile:typechain && jest test",
"test:pinned:14000000": "forge test --fork-block-number 14000000 --match-contract 'Element|Set|OracleHelper|StabilityPoolBridge' -vvv --fork-url https://mainnet.infura.io/v3/9928b52099854248b3a096be07a6b23c",
"test:pinned:14970000": "forge test --fork-block-number 14970000 -m 'testRedistributionSuccessfulSwap|testRedistributionExitWhenICREqualsMCR' -vvv --fork-url https://mainnet.infura.io/v3/9928b52099854248b3a096be07a6b23c",
"test:pinned:14972000": "forge test --fork-block-number 14972000 -m 'testRedistributionFailingSwap' -vvv --fork-url https://mainnet.infura.io/v3/9928b52099854248b3a096be07a6b23c",
"test:pinned": "yarn test:pinned:14000000 && yarn test:pinned:14970000 && yarn test:pinned:14972000",
"test:contracts:block": "forge test --fork-block-number",
"cast": "cast",
"test:contracts": "forge test --no-match-contract 'Element|Set|StabilityPoolBridge|AceOfZk' --no-match-test 'testRedistribution' -vvv && yarn test:pinned",
"build": "yarn clean && yarn compile:typechain && yarn compile:client-dest",
"formatting": "yarn prettier --write .",
"formatting:check": "prettier --check .",
"lint": "yarn lint:contracts && yarn lint:clients",
"lint:contracts": "solhint --config ./.solhint.json --fix \"src/**/*.sol\"",
"lint:clients": "eslint \"src/**/*.{ts,tsx}\""
},
"dependencies": {
"@aztec/barretenberg": "2.1.35",
"@ethersproject/providers": "^5.6.8"
},
"jest": {
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testRegex": ".*\\.test\\.ts$",
"rootDir": "./src"
},
"name": "@aztec/bridge-clients",
"version": "0.1.49",
"description": "This repo contains the solidity files and typescript helper class for all of the Aztec Connect Bridge Contracts",
"repository": "[email protected]:AztecProtocol/aztec-connect-bridges.git",
"license": "MIT",
"devDependencies": {
"@openzeppelin/contracts": "^4.6.0",
"@typechain/ethers-v5": "^9.0.0",
"@typechain/hardhat": "^4.0.0",
"@types/jest": "^28.1.3",
"@typescript-eslint/eslint-plugin": "^5.30.6",
"@typescript-eslint/parser": "^5.30.6",
"eslint": "^8.19.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"ethers": "^5.6.9",
"hardhat": "^2.9.9",
"husky": "^8.0.1",
"jest": "^28.1.3",
"prettier": "^2.7.1",
"prettier-plugin-solidity": "^1.0.0-dev.22",
"solhint": "https://github.com/LHerskind/solhint",
"solhint-plugin-prettier": "^0.0.5",
"ts-jest": "^28.0.6",
"ts-node": "^10.9.1",
"typechain": "^7.0.1",
"typescript": "^4.7.4"
},
"files": [
"./client-dest"
]
}