forked from OffchainLabs/token-bridge-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 3.19 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
{
"name": "@arbitrum/token-bridge-contracts",
"version": "1.0.0-beta.0",
"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:storage": "./scripts/storage_layout_test.bash",
"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"
],
"dependencies": {
"@arbitrum/nitro-contracts": "^1.0.0-beta.8",
"@openzeppelin/contracts": "3.4.2",
"@openzeppelin/contracts-upgradeable": "3.4.2"
},
"devDependencies": {
"@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/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",
"hardhat": "2.9.9",
"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",
"sol2uml": "^2.5.4",
"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.7.6"
}
}