forked from AztecProtocol/aztec-connect-bridges
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 3 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
{
"name": "@aztec/bridge-clients",
"version": "0.1.67",
"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": "Apache-2.0",
"scripts": {
"install:foundry": "curl -L https://foundry.paradigm.xyz | bash",
"setup:foundry": "foundryup & git submodule update --init --recursive",
"setup": "yarn && yarn install:foundry && yarn setup:foundry",
"clean": "rm -rf ./cache ./dest ./out ./typechain-types ./client-dest",
"compile:typechain": "forge build && typechain --target ethers-v5 --out-dir ./typechain-types './out/!(test*|Test*|*.t.sol|*.s.sol)/*.json'",
"compile:client-dest": "yarn compile:typechain && tsc --project tsconfig.client-dest.json",
"build": "forge build && yarn compile:client-dest",
"test:pinned:14000000": "forge test --fork-block-number 14000000 --match-contract 'Element|OracleHelper' --fork-url https://mainnet.infura.io/v3/9928b52099854248b3a096be07a6b23c",
"test:pinned:14970000": "forge test --fork-block-number 14970000 -m 'testRedistributionSuccessfulSwap|testRedistributionExitWhenICREqualsMCR' --fork-url https://mainnet.infura.io/v3/9928b52099854248b3a096be07a6b23c",
"test:pinned:14972000": "forge test --fork-block-number 14972000 -m 'testRedistributionFailingSwap' --fork-url https://mainnet.infura.io/v3/9928b52099854248b3a096be07a6b23c",
"test:pinned": "yarn test:pinned:14000000 && yarn test:pinned:14970000 && yarn test:pinned:14972000",
"test:contracts": "forge test --no-match-contract 'Element' --no-match-test 'testRedistribution' && yarn test:pinned",
"test:clients": "yarn compile:typechain && jest test",
"test": "yarn test:contracts && yarn test:clients",
"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.45",
"@ethersproject/providers": "^5.7.1",
"@openzeppelin/contracts": "^4.7.3",
"@typechain/ethers-v5": "^10.1.0",
"ethers": "^5.7.1",
"isomorphic-fetch": "^3.0.0",
"ts-node": "^10.9.1",
"typechain": "^8.1.0",
"typescript": "^4.8.4"
},
"devDependencies": {
"@types/jest": "^29.2.0",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"eslint": "^8.25.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.2.1",
"prettier": "^2.7.1",
"prettier-plugin-solidity": "^1.0.0-beta.24",
"solhint": "https://github.com/LHerskind/solhint",
"solhint-plugin-prettier": "^0.0.5",
"ts-jest": "^29.0.3"
},
"jest": {
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testRegex": ".*\\.test\\.ts$",
"rootDir": "./src"
},
"files": [
"./client-dest"
]
}