-
Notifications
You must be signed in to change notification settings - Fork 130
/
package.json
95 lines (95 loc) · 4.28 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
{
"name": "@arbitrum/token-bridge-contracts",
"version": "1.2.3",
"license": "Apache-2.0",
"scripts": {
"prepublishOnly": "hardhat clean && hardhat compile",
"build": "hardhat compile",
"build:0.6": "INTERFACE_TESTER_SOLC_VERSION=0.6.9 yarn run build",
"build:0.7": "INTERFACE_TESTER_SOLC_VERSION=0.7.0 yarn run build",
"build:0.8": "INTERFACE_TESTER_SOLC_VERSION=0.8.15 yarn run build",
"lint:js": "eslint .",
"lint:solidity": "solhint 'contracts/**/*.sol'",
"lint": "yarn lint:solidity && yarn lint:js",
"format": "prettier './**/*.{js,json,md,ts,yml,sol}' --write && yarn lint --fix",
"test:compatibility": "yarn run build:0.6 && yarn run build:0.7 && yarn run build:0.8",
"test": "hardhat test test/*.ts",
"test:e2e": "hardhat test test/*.e2e.ts",
"test:l1": "hardhat test test/*.l1.ts",
"test:l2": "hardhat test test/*.l2.ts",
"test:unit": "forge test",
"test:e2e:local-env": "yarn hardhat test test-e2e/*",
"test:storage": "./scripts/storage_layout_test.bash",
"test:signatures": "./scripts/signatures_test.bash",
"test:mutation": "ts-node test-mutation/gambitTester.ts",
"test:unused:errors": "./test/unused-errors/find_unused_errors.sh",
"deploy:local:token-bridge": "ts-node ./scripts/local-deployment/deployCreatorAndCreateTokenBridge.ts",
"deploy:token-bridge-creator": "ts-node ./scripts/deployment/deployTokenBridgeCreator.ts",
"create:token-bridge": "ts-node ./scripts/deployment/createTokenBridge.ts",
"test:tokenbridge:deployment": "hardhat test test-e2e/tokenBridgeDeploymentTest.ts",
"test:creation-code": "hardhat test test-e2e/creationCodeTest.ts",
"blockscout:verify": "hardhat run ./scripts/orbitVerifyOnBlockscout.ts",
"deploy:usdc-token-bridge": "hardhat run scripts/usdc-bridge-deployment/deployUsdcBridge.ts",
"typechain": "hardhat typechain",
"deploy:tokenbridge": "hardhat run scripts/deploy_token_bridge_l1.ts --network mainnet",
"gen:uml": "sol2uml ./contracts/tokenbridge/arbitrum,./contracts/tokenbridge/ethereum,./contracts/tokenbridge/libraries -o ./gatewayUML.svg",
"gen:uml:test": "sol2uml ./contracts/tokenbridge/arbitrum,./contracts/tokenbridge/test -o ./gatewayTestUML.svg",
"pre:slither": "yarn run post:slither && ln -s ../../node_modules/arb-bridge-eth && ln -s ../../node_modules/arbos-precompiles",
"slither": "yarn run pre:slither && slither --hardhat-artifacts-directory build/contracts . --filter-paths 'node_modules|arb-bridge-eth|arbos-precompiles' && yarn run post:slither",
"post:slither": "rm -f arb-bridge-eth && rm -f arbos-precompiles"
},
"files": [
"contracts",
"build/contracts/contracts"
],
"dependencies": {
"@arbitrum/nitro-contracts": "1.1.1",
"@offchainlabs/stablecoin-evm": "1.0.0-orbit-alpha.2",
"@offchainlabs/upgrade-executor": "1.1.0-beta.0",
"@openzeppelin/contracts": "4.8.3",
"@openzeppelin/contracts-upgradeable": "4.8.3"
},
"devDependencies": {
"@arbitrum/sdk": "^3.5.1",
"@nomiclabs/hardhat-ethers": "^2.0.1",
"@nomiclabs/hardhat-etherscan": "^3.1.0",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@typechain/ethers-v5": "^7.0.1",
"@typechain/hardhat": "^2.3.0",
"@types/chai": "^4.2.15",
"@types/fs-extra": "^11.0.4",
"@types/mocha": "^9.0.0",
"@types/node": "^14.14.28",
"@types/prompts": "^2.0.14",
"@typescript-eslint/eslint-plugin": "^4.29.0",
"@typescript-eslint/eslint-plugin-tslint": "^5.30.6",
"@typescript-eslint/parser": "^4.29.0",
"arb-upgrades": "0.0.1",
"chai": "^4.2.0",
"dotenv": "^10.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-prettier": "^4.0.0",
"ethereum-waffle": "^3.2.0",
"ethers": "^5.4.5",
"fs-extra": "^11.2.0",
"hardhat": "2.17.3",
"hardhat-contract-sizer": "^2.10.0",
"hardhat-deploy": "^0.9.1",
"hardhat-gas-reporter": "^1.0.4",
"prettier": "^2.3.2",
"prettier-plugin-solidity": "^1.0.0-beta.17",
"prompts": "^2.4.1",
"solhint": "^3.2.0",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "v0.7.17",
"ts-node": "^10.9.1",
"tslint": "^6.1.3",
"typechain": "^5.1.2",
"typescript": "^4.2.2"
},
"optionalDependencies": {
"@openzeppelin/upgrades-core": "^1.24.1"
}
}