forked from lifinance/contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
124 lines (124 loc) · 4.45 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
{
"name": "lifi-contracts",
"version": "0.1.0",
"description": "LI.FI is a cross-chain bridge aggregation protocol",
"engines": {
"node": ">= 12.18.0"
},
"repository": "github:lifinance/contracts",
"author": "LI.FI",
"license": "MIT",
"keywords": [
"ethereum",
"smart-contracts",
"template",
"cross-chain",
"hardhat",
"solidity"
],
"devDependencies": {
"@matterlabs/hardhat-zksync-deploy": "0.6.3",
"@matterlabs/hardhat-zksync-solc": "0.3.17",
"@matterlabs/hardhat-zksync-verify": "0.1.7",
"@mayanfinance/swap-sdk": "^8.5.0",
"@nomicfoundation/hardhat-foundry": "^1.0.2",
"@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers@^0.3.0-beta.13",
"@nomiclabs/hardhat-etherscan": "3.1.6",
"@nomiclabs/hardhat-waffle": "2.0.5",
"@typechain/ethers-v5": "^10.2.0",
"@typechain/hardhat": "^6.1.5",
"@types/node": "^17.0.23",
"@types/pino": "^7.0.5",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^7.10.0",
"cross-env": "^7.0.2",
"dotenv": "^16.0.0",
"eslint": "^8.11.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.27.5",
"ethers": "^5.7.0",
"ethers6": "npm:ethers@^6.12.1",
"fs-extra": "^10.0.1",
"hardhat": "^2.19.1",
"hardhat-deploy": "^0.11.34",
"hardhat-preprocessor": "^0.1.5",
"husky": "^8.0.1",
"lint-staged": "^13.2.3",
"patch-package": "^6.4.7",
"plop": "^3.1.2",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.6.0",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"solhint": "^3.3.7",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.7.20",
"ts-generator": "^0.1.1",
"ts-node": "^10.7.0",
"typechain": "^8.0.0",
"typescript": "^5.4.5",
"zksync-web3": "^0.14.3"
},
"resolutions": {
"hardhat/**/@ethereumjs/tx": "3.5.0"
},
"scripts": {
"postinstall": "patch-package",
"prepare": "yarn prepare:husky",
"prepare:husky": "husky install",
"lint": "eslint \"**/*.{js,ts}\" && solhint src/**/*.sol",
"lint:fix": "eslint --fix \"**/*.{js,ts}\" && solhint --fix src/**/*.sol",
"format": "prettier --check \"**/*.{ts,js,sol}\"",
"format:fix": "prettier --write \"**/*.{ts,js,sol}\"",
"compile": "forge build",
"test": "forge test --evm-version 'shanghai'",
"test:fix": "npm run lint:fix; npm run format:fix; npm run test",
"gas": "forge snapshot --match-path 'test/solidity/Gas/**/*' -vvv",
"coverage": "rm -rf coverage && rm -f lcov-filtered.info && rm -f lcov.info && forge coverage --report lcov --evm-version 'shanghai' --ir-minimum && ts-node script/utils/filter_lcov.ts lcov.info lcov-filtered.info 'test/' 'script/' && genhtml lcov-filtered.info --branch-coverage --output-dir coverage && open coverage/index.html",
"execute": "node ./_scripts.js run",
"abi:generate": "forge clean && rm -fr typechain/* && forge build --skip script --skip test --skip Base --skip Test && hardhat diamondABI",
"typechain": "forge clean && rm -rf typechain/* && forge build src && typechain --target ethers-v5 'out/*.sol/*.json' --out-dir typechain",
"codegen": "plop",
"healthcheck": "tsx ./script/deploy/healthCheck.ts",
"propose-safe-tx": "ts-node ./script/deploy/safe/propose-to-safe.ts",
"confirm-safe-tx": "ts-node ./script/deploy/safe/confirm-safe-tx.ts",
"add-safe-owners": "ts-node ./script/deploy/safe/add-owners-to-safe.ts",
"flatten": "forge flatten --output",
"deploy-to-zksync": "hardhat deploy --network zksync --tags"
},
"dependencies": {
"@arbitrum/sdk": "^3.0.0",
"@hop-protocol/sdk": "0.0.1-beta.310",
"@layerzerolabs/lz-v2-utilities": "^2.3.21",
"@octokit/rest": "^21.0.1",
"@safe-global/api-kit": "^2.3.1",
"@safe-global/protocol-kit": "^3.1.0",
"@safe-global/safe-apps-sdk": "^9.0.0",
"@safe-global/safe-core-sdk-types": "^4.1.0",
"@uma/sdk": "^0.22.1",
"@uniswap/permit2-sdk": "^1.3.0",
"@uniswap/sdk": "^3.0.3",
"chalk": "4.1.2",
"citty": "^0.1.6",
"consola": "^3.2.3",
"defender-relay-client": "^1.26.0",
"enquirer": "^2.4.1",
"hardhat-ethers": "^1.0.1",
"light-spinner": "^1.0.4",
"merkletreejs": "^0.3.11",
"notify-send": "^0.1.2",
"pino": "^7.9.2",
"tsx": "^4.19.2",
"viem": "^2.21.48",
"zx": "^8.2.2"
},
"lint-staged": {
"*.{ts,js}": [
"prettier --write",
"eslint --fix"
],
"*.sol": [
"prettier --write",
"solhint --fix"
]
}
}