-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 3.38 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
{
"name": "template-ethereum-contracts",
"version": "0.1.0",
"description": "Template to develop ethereum smart contracts",
"private": true,
"engines": {
"node": ">= 14.0.0"
},
"repository": "github:wighawag/template-ethereum-contracts",
"author": "wighawag",
"license": "MIT",
"keywords": [
"ethereum",
"smart-contracts",
"template",
"boilerplate",
"hardhat",
"solidity"
],
"devDependencies": {
"@nomiclabs/hardhat-ethers": "npm:[email protected]",
"@openzeppelin/contracts": "^4.3.2",
"@typechain/ethers-v5": "^7.1.2",
"@typechain/hardhat": "^2.3.0",
"@types/chai": "^4.2.22",
"@types/mocha": "^9.0.0",
"@types/node": "^16.10.2",
"@typescript-eslint/eslint-plugin": "^4.32.0",
"@typescript-eslint/parser": "^4.32.0",
"chai": "^4.2.0",
"chai-ethers": "^0.0.1",
"cross-env": "^7.0.2",
"dotenv": "^10.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"ethers": "^5.4.7",
"fs-extra": "^10.0.0",
"hardhat": "^2.6.4",
"hardhat-deploy": "^0.9.3",
"hardhat-gas-reporter": "^1.0.4",
"mocha": "^9.1.2",
"prettier": "^2.4.1",
"prettier-plugin-solidity": "^1.0.0-beta.18",
"solhint": "^3.3.6",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.7.17",
"ts-generator": "^0.1.1",
"ts-node": "^10.2.1",
"typechain": "^5.0.0",
"typescript": "^4.4.3"
},
"scripts": {
"prepare": "node ./.setup.js && hardhat typechain",
"lint": "eslint \"**/*.{js,ts}\" && solhint src/**/*.sol",
"lint:fix": "eslint --fix \"**/*.{js,ts}\" && solhint --fix src/**/*.sol",
"format": "prettier --check \"**/*.{ts,js,sol}\"",
"format:fix": "prettier --write \"**/*.{ts,js,sol}\"",
"compile": "hardhat compile",
"void:deploy": "hardhat deploy",
"test": "cross-env HARDHAT_DEPLOY_FIXTURE=true HARDHAT_COMPILE=true mocha --bail --recursive test",
"gas": "cross-env REPORT_GAS=true hardhat test",
"coverage": "cross-env HARDHAT_DEPLOY_FIXTURE=true hardhat coverage",
"dev:zero": "cross-env MINING_INTERVAL=\"3000,5000\" hardhat node --hostname 0.0.0.0 --no-deploy",
"dev": "cross-env MINING_INTERVAL=\"3000,5000\" hardhat node --hostname 0.0.0.0 --watch",
"local:dev": "hardhat --network localhost deploy --watch",
"execute": "node ./_scripts.js run",
"deploy": "node ./_scripts.js deploy",
"export": "node ./_scripts.js export",
"fork:execute": "node ./_scripts.js fork:run",
"fork:deploy": "node ./_scripts.js fork:deploy",
"fork:dev": "node ./_scripts.js fork:dev",
"fork:node": "node ./_scripts.js fork:node",
"fork:test": "node ./_scripts.js fork:test",
"clean": "rimraf **/artifacts **/cache **/typechain",
"fork:kovan": "hardhat node --fork https://eth-kovan.alchemyapi.io/v2/-BPEIJTGZJkx7WbtkL89BYsF-_t3Scwg",
"fork:mainnet": "hardhat node --fork https://eth-mainnet.alchemyapi.io/v2/-BPEIJTGZJkx7WbtkL89BYsF-_t3Scwg --fork-block-number 12540501",
"deploy:kovan": "hardhat deploy --network kovan",
"export:kovan": "hardhat export --network kovan --export deployments/kovan.json",
"verify:kovan": "hardhat etherscan-verify --network kovan",
"deploy:mainnet": "hardhat deploy --network mainnet",
"export:mainnet": "hardhat export --network mainnet --export deployments/mainnet.json",
"verify:mainnet": "hardhat etherscan-verify --network mainnet"
}
}