-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathpackage.json
136 lines (136 loc) · 5.18 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
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "@across-protocol/contracts",
"version": "3.0.25",
"author": "UMA Team",
"license": "AGPL-3.0-only",
"repository": {
"type": "git",
"url": "git+https://github.com/across-protocol/across-smart-contracts-v2.git"
},
"engines": {
"node": ">=16.18.0"
},
"files": [
"/contracts/**/*.sol",
"/artifacts/**/*",
"/dist/**/*"
],
"types": "dist/index.d.ts",
"main": "dist/index.js",
"scripts": {
"compile-zksync": "COMPILE_ZK=true yarn hardhat compile",
"lint": "yarn lint-solidity && yarn lint-js && yarn lint-rust",
"lint-solidity": "yarn solhint ./contracts/**/*.sol",
"lint-js": "yarn prettier --list-different **/*.js **/*.ts",
"lint-rust": "cargo +nightly fmt --all -- --check && cargo clippy",
"lint-fix": "yarn prettier --write **/*.js **/*.ts ./programs/**/*.rs ./contracts**/*.sol && cargo +nightly fmt --all && cargo clippy",
"clean-fast": "for dir in node_modules cache cache-zk artifacts artifacts-zk dist typechain; do mv \"${dir}\" \"_${dir}\"; rm -rf \"_${dir}\" &; done",
"clean": "rm -rf node_modules cache cache-zk artifacts artifacts-zk dist typechain",
"generate-svm-assets": "sh ./scripts/generate-svm-assets.sh",
"build-evm": "hardhat compile",
"build-svm": "echo 'Generating IDLs...' && anchor build > /dev/null 2>&1 || true && anchor run generateExternalTypes && anchor build",
"build-ts": "tsc && rsync -a --include '*/' --include '*.d.ts' --exclude '*' ./typechain ./dist/",
"copy-idl": "mkdir -p dist/src/svm/assets/idl && cp src/svm/assets/idl/*.json dist/src/svm/assets/idl/",
"build": "yarn build-evm && yarn build-svm && yarn generate-svm-assets && yarn build-ts && yarn copy-idl",
"test-evm": "IS_TEST=true hardhat test",
"test-svm": "anchor test -- --features test",
"test": "yarn test-evm && yarn test-svm",
"test:report-gas": "IS_TEST=true REPORT_GAS=true hardhat test",
"generate-evm-assets": "rm -rf typechain && TYPECHAIN=ethers yarn hardhat typechain",
"prepublish": "yarn build && hardhat export --export-all ./cache/massExport.json && ts-node ./scripts/processHardhatExport.ts && prettier --write ./deployments/deployments.json && yarn generate-evm-assets",
"pre-commit-hook": "sh scripts/preCommitHook.sh"
},
"dependencies": {
"@across-protocol/constants": "^3.1.30",
"@coral-xyz/anchor": "^0.30.1",
"@defi-wonderland/smock": "^2.3.4",
"@eth-optimism/contracts": "^0.5.40",
"@ethersproject/abstract-provider": "5.7.0",
"@ethersproject/abstract-signer": "5.7.0",
"@ethersproject/bignumber": "5.7.0",
"@openzeppelin/contracts": "4.9.6",
"@openzeppelin/contracts-upgradeable": "4.9.6",
"@scroll-tech/contracts": "^0.1.0",
"@solana-developers/helpers": "^2.4.0",
"@solana/spl-token": "^0.4.6",
"@solana/web3.js": "^1.31.0",
"@types/yargs": "^17.0.33",
"@uma/common": "^2.37.3",
"@uma/contracts-node": "^0.4.17",
"@uma/core": "^2.61.0",
"axios": "^1.7.4",
"bs58": "^6.0.0",
"prettier-plugin-rust": "^0.1.9",
"yargs": "^17.7.2",
"zksync-web3": "^0.14.3"
},
"devDependencies": {
"@consensys/linea-sdk": "^0.1.6",
"@matterlabs/hardhat-zksync-deploy": "^0.6.3",
"@matterlabs/hardhat-zksync-solc": "^1.1.4",
"@matterlabs/hardhat-zksync-upgradable": "^0.1.0",
"@matterlabs/hardhat-zksync-verify": "^0.2.0",
"@matterlabs/zksync-contracts": "^0.2.4",
"@nomicfoundation/hardhat-verify": "^1.0.3",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@nomiclabs/hardhat-waffle": "2.0.3",
"@openzeppelin/hardhat-upgrades": "^1.22.0",
"@pinata/sdk": "^2.1.0",
"@typechain/ethers-v5": "^11.0.0",
"@typechain/hardhat": "^8.0.0",
"@types/bn.js": "^5.1.0",
"@types/chai": "^4.3.5",
"@types/mocha": "^9.0.0",
"@types/node": "^12.0.0",
"@typescript-eslint/eslint-plugin": "^4.29.1",
"@typescript-eslint/parser": "^4.29.1",
"chai": "^4.3.7",
"dotenv": "^10.0.0",
"eslint": "^7.29.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-promise": "^5.1.0",
"ethereum-waffle": "3.4.0",
"ethereumjs-util": "^7.1.4",
"ethers": "5.7.2",
"hardhat": "^2.14.0",
"hardhat-deploy": "^0.11.12",
"hardhat-gas-reporter": "^1.0.8",
"husky": "^4.2.3",
"mocha": "^9.0.3",
"multiformats": "9.9.0",
"prettier": "^2.3.2",
"prettier-plugin-solidity": "^1.0.0-beta.13",
"pretty-quick": "^2.0.1",
"solhint": "^3.3.6",
"solidity-coverage": "^0.7.16",
"ts-mocha": "^10.0.0",
"ts-node": "^10.1.0",
"typechain": "^8.1.1",
"typescript": "^5.6.2"
},
"peerDependencies": {
"buffer-layout": "^1.2.2"
},
"husky": {
"hooks": {
"pre-commit": "echo '🏃♂️ Running pre-commit hook on staged files' && yarn pre-commit-hook"
}
},
"publishConfig": {
"registry": "https://registry.npmjs.com/",
"access": "public"
},
"overrides": {
"secp256k1@3.7.1": "3.8.1",
"secp256k1@4.0.3": "4.0.4",
"secp256k1@5.0.0": "5.0.1"
},
"resolutions": {
"**/eccrypto/secp256k1": "3.8.1",
"**/eth-crypto/secp256k1": "5.0.1"
}
}