-
Notifications
You must be signed in to change notification settings - Fork 594
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 4.06 KB
/
Copy pathpackage.json
File metadata and controls
104 lines (104 loc) · 4.06 KB
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
{
"name": "@hyperlane-xyz/core",
"description": "Core solidity contracts for Hyperlane",
"version": "10.1.3",
"dependencies": {
"@hyperlane-xyz/utils": "workspace:*"
},
"devDependencies": {
"@ethersproject/abi": "*",
"@ethersproject/providers": "*",
"@hyperlane-xyz/tsconfig": "workspace:^",
"@matterlabs/hardhat-zksync-solc": "1.2.5",
"@matterlabs/hardhat-zksync-verify": "1.7.1",
"@nomicfoundation/hardhat-foundry": "1.2.0",
"@nomiclabs/hardhat-ethers": "catalog:",
"@nomiclabs/hardhat-waffle": "catalog:",
"@typechain/ethers-v5": "catalog:",
"@typechain/ethers-v6": "catalog:",
"@typechain/hardhat": "catalog:",
"@types/node": "catalog:",
"chai": "catalog:",
"eslint": "catalog:",
"ethereum-waffle": "catalog:",
"ethers": "catalog:",
"hardhat": "catalog:",
"hardhat-gas-reporter": "catalog:",
"hardhat-ignore-warnings": "^0.2.11",
"prettier": "catalog:",
"prettier-plugin-solidity": "catalog:",
"solhint": "catalog:",
"solhint-plugin-hyperlane": "workspace:^",
"solhint-plugin-prettier": "catalog:",
"solidity-bytes-utils": "^0.8.0",
"solidity-coverage": "catalog:",
"ts-generator": "^0.1.1",
"ts-node": "catalog:",
"tsx": "catalog:",
"typechain": "catalog:",
"typescript": "catalog:",
"zksync-ethers": "catalog:"
},
"directories": {
"test": "test"
},
"type": "module",
"exports": {
".": "./dist/index.js",
"./mailbox": "./dist/typechain/contracts/Mailbox.js",
"./buildArtifact.js": "./dist/buildArtifact.js",
"./buildArtifact.json": "./dist/buildArtifact.json",
"./buildArtifact-zksync.js": "./dist/zksync/buildArtifact.js",
"./contracts": "./contracts"
},
"types": "./dist/index.d.ts",
"files": [
"/dist",
"/contracts",
"/dependencies"
],
"engines": {
"node": ">=16"
},
"homepage": "https://www.hyperlane.xyz",
"repository": "https://github.com/hyperlane-xyz/hyperlane-monorepo",
"keywords": [
"Hyperlane",
"Solidity"
],
"license": "Apache-2.0",
"scripts": {
"deps:soldeer": "forge soldeer install --quiet",
"build": "pnpm version:update && pnpm hardhat-esm compile && tsc && ./exportBuildArtifact.sh",
"build:zk": "pnpm hardhat-zk compile && tsc && node generate-artifact-exports.mjs && ZKSYNC=true ./exportBuildArtifact.sh",
"prepublishOnly": "pnpm build && pnpm build:zk",
"lint": "solhint contracts/**/*.sol && eslint -c ./eslint.config.mjs",
"clean": "pnpm hardhat-esm clean && pnpm hardhat-zk clean && rm -rf ./dist ./cache ./cache-zk ./types ./coverage ./out ./forge-cache ./fixtures",
"coverage": "pnpm fixtures && ./coverage.sh",
"docs": "forge doc",
"fixtures": "mkdir -p ./fixtures/aggregation ./fixtures/multisig",
"hardhat-esm": "NODE_OPTIONS='--import tsx/esm' hardhat --config hardhat.config.cts",
"hardhat-zk": "NODE_OPTIONS='--import tsx/esm' hardhat --config zk-hardhat.config.cts",
"prettier": "prettier --write ./contracts ./test",
"test": "pnpm version:exhaustive && pnpm hardhat-esm test && pnpm test:forge",
"test:hardhat": "pnpm hardhat-esm test",
"test:forge": "pnpm fixtures && forge test -vvv --decode-internal --no-match-contract Everclear",
"test:ci": "pnpm version:changed && pnpm test:hardhat && pnpm test:forge --no-match-test testFork",
"test:fork": "sh -c '. ./.env.default && forge test --match-test testFork && forge test --match-contract ForkTest'",
"gas": "forge snapshot",
"gas-ci": "pnpm gas --check --tolerance 2 || (echo 'Manually update gas snapshot' && exit 1)",
"slither": "slither .",
"storage": "./storage.sh",
"bytecode": "./bytecode.sh",
"interface": "./interface.sh",
"version:update": "sh ./bytecodeversion.sh",
"version:changed": "pnpm version:update && git diff --exit-code contracts/PackageVersioned.sol",
"version:exhaustive": "pnpm tsx ./test/exhaustiveversion.test.ts",
"test:interface": "pnpm tsx ./test/interface.test.ts"
},
"peerDependencies": {
"@ethersproject/abi": "*",
"@ethersproject/providers": "*",
"@types/sinon-chai": "*"
}
}