forked from 0xPolygonHermez/zkevm-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 3.1 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
{
"name": "@0xpolygonhermez/zkevm-contracts",
"description": "Core contracts for the Polygon Hermez zkEVM",
"version": "0.6.0.0",
"repository": {
"type": "git",
"url": "git+https://github.com/0xPolygonHermez/contracts-zkEVM.git"
},
"main": "index.js",
"keywords": [
"zkevm",
"snark",
"polygon",
"hermez",
"stark",
"EVM",
"ethereum",
"blockchain"
],
"author": "0xPolygonHermez",
"files": [
"contracts",
"index.js",
"compiled-contracts",
"src"
],
"bugs": {
"url": "https://github.com/0xPolygonHermez/contracts-zkEVM/issues"
},
"homepage": "https://github.com/0xPolygonHermez/contracts-zkEVM#readme",
"license": "pending",
"dependencies": {
"chai": "^4.3.4",
"ethers": "^5.5.1"
},
"devDependencies": {
"@0xpolygonhermez/zkevm-commonjs": "github:0xPolygonHermez/zkevm-commonjs#v0.6.0.0-rc.1",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-etherscan": "^3.1.0",
"@nomiclabs/hardhat-waffle": "^2.0.3",
"@openzeppelin/contracts": "^4.7.3",
"@openzeppelin/contracts-upgradeable": "^4.7.3",
"@openzeppelin/hardhat-upgrades": "^1.20.0",
"@openzeppelin/test-helpers": "^0.5.15",
"circomlibjs": "0.1.1",
"dotenv": "^8.2.0",
"eslint": "^8.3.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-mocha": "^9.0.0",
"ethereum-waffle": "^3.4.4",
"ffjavascript": "^0.2.39",
"hardhat": "^2.11.1",
"hardhat-gas-reporter": "^1.0.4",
"prettier": "^2.4.1",
"prettier-plugin-solidity": "^1.0.0-beta.18",
"solc-0.8": "npm:solc@0.8.15",
"solidity-coverage": "^0.7.17",
"solidity-docgen": "^0.5.16"
},
"scripts": {
"saveDeployment:goerli": "mkdir -p deployments/goerli_$(date +%s) && cp -r deployment/deploy_*.json deployments/goerli_$(date +%s) && cp .openzeppelin/goerli.json deployments/goerli_$(date +%s)",
"test": "npx hardhat test test/contracts/**.test.js",
"docgen": "npx solidity-docgen --solc-module solc-0.8 -t ./docs/templates -e ./contracts/verifiers,./contracts/mocks",
"deploy:ZkEVM:hardhat": "npx hardhat run deployment/deployContracts.js --network hardhat",
"deploy:ZkEVM:goerli": "npx hardhat run deployment/deployContracts.js --network goerli && npm run saveDeployment:goerli",
"upgrade:timelock:goerli": "npx hardhat run deployment/timeLockUpgrade.js --network goerli",
"verify:ZkEVM:goerli": "npx hardhat run deployment/verifyContracts.js --network goerli",
"lint": "npx eslint ./test && npx eslint ./docker/scripts && npx eslint ./deployment && npx eslint ./src",
"lint:fix": "npx eslint ./test --fix && npx eslint ./docker/scripts --fix && npx eslint ./deployment --fix && npx eslint ./src --fix",
"compile": "npx hardhat compile",
"docker:contracts": "./docker/scripts/deploy-docker.sh",
"push:docker:contracts": "docker push hermeznetwork/geth-zkevm-contracts",
"update:genesis": "node src/create-genesis.js --gen ../deployment/genesis-gen.json --out ../deployment/genesis.json && node src/create-genesis.js --gen ../docker/scripts/genesis_gen_docker.json --out ../docker/scripts/genesis_docker.json"
}
}