-
Notifications
You must be signed in to change notification settings - Fork 83
/
package.json
66 lines (66 loc) · 2.76 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
{
"name": "@hop-exchange/contracts",
"version": "0.0.2",
"description": "The smart contracts that power the Hop Exchange.",
"author": "",
"homepage": "",
"license": "ISC",
"files": [
"contracts",
"artifacts"
],
"scripts": {
"test": "hardhat test",
"build": "hardhat compile",
"build:ts": "tsc",
"lint": "prettier-standard --fix",
"publish-module": "npm publish --tag beta --access public",
"release": "npm run clean && npm run publish-module",
"clean": "rimraf cache artifacts",
"patch-oz": "patch-package --patch-dir node_modules/@thesatoshicompany/optimism-openzeppelin-compat/patches",
"generate-abis": "mkdir -p ./data/abi && npm run clean && npm run build",
"deploy": "ts-node ./scripts/deployAndSetupHop/deploy.ts",
"deploy:l1-optimism-canonical-bridge": "hardhat run scripts/deployAndSetupHop/optimism-canonical-bridge/deployL1.ts --network kovan",
"deploy:l2-optimism-canonical-bridge": "hardhat run scripts/deployAndSetupHop/optimism-canonical-bridge/deployL2.ts --network optimism",
"setup:l2-optimism-canonical-bridge": "hardhat run scripts/deployAndSetupHop/optimism-canonical-bridge/setupL2.ts --network optimism",
"check-l2-bridge-bytecode-size": "cat artifacts/contracts/bridges/L2_OptimismBridge.sol/L2_OptimismBridge.ovm.json | jq -r '.deployedBytecode' | wc -c",
"deploy:l1-kovan:erc20": "hardhat run scripts/erc20/deploy.ts --network kovan",
"deploy:l1-goerli:erc20": "hardhat run scripts/erc20/deploy.ts --network goerli",
"deploy:l2-optimism:erc20": "hardhat run scripts/erc20/deploy.ts --network optimism",
"deploy:l2-arbitrum:erc20": "hardhat run scripts/erc20/deploy.ts --network arbitrum",
"update-contract-state": "hardhat run scripts/contractState/getUpdateContractStateMessage.ts"
},
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-etherscan": "^2.1.5",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@types/chai": "^4.2.14",
"@types/mocha": "^8.0.3",
"@types/node": "^14.11.10",
"chai": "^4.2.0",
"ethereum-waffle": "^3.1.1",
"ethers": "^5.0.17",
"hardhat": "^2.8.3",
"merkletreejs": "^0.2.16",
"prettier-standard": "^16.4.1",
"ts-node": "^9.0.0",
"typescript": "^4.0.3"
},
"dependencies": {
"@eth-optimism/contracts": "^0.1.11",
"@eth-optimism/hardhat-ovm": "0.2.2",
"@maticnetwork/pos-portal": "^1.5.0",
"@openzeppelin/contracts": "=3.4.1",
"@openzeppelin/contracts-upgradeable": "^3.4.1",
"@thesatoshicompany/optimism-openzeppelin-compat": "^1.0.3",
"@types/prompt": "1.1.0",
"dotenv": "8.2.0",
"hardhat-abi-exporter": "2.0.8",
"merkle-patricia-tree": "^4.0.0",
"prompt": "1.1.0",
"rimraf": "3.0.2"
},
"engines": {
"node": ">=11.0.0 <12.0.0"
}
}