-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (93 loc) · 3.37 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
{
"name": "hardhat-template",
"version": "0.0.1",
"description": "hardhat template for typescript",
"main": "./types/index.js",
"types": "./types/index.ts",
"engines": {
"node": ">= 16.5.1"
},
"author": "Alexandas",
"license": "MIT",
"keywords": [
"ethereum",
"smart-contracts",
"hardhat",
"solidity"
],
"devDependencies": {
"@gnosis.pm/safe-contracts": "^1.3.0",
"@nomiclabs/hardhat-ethers": "^2.0.5",
"@nomiclabs/hardhat-etherscan": "^3.0.3",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@openzeppelin/contracts": "^4.3.2",
"@typechain/ethers-v5": "^7.0.1",
"@typechain/hardhat": "^2.0.2",
"@types/chai": "^4.2.18",
"@types/dotenv": "^8.2.0",
"@types/mocha": "^8.2.3",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"chai": "^4.2.0",
"cross-env": "^7.0.3",
"dotenv": "^16.0.3",
"eslint": "^8.37.0",
"eslint-config-prettier": "^8.8.0",
"ethereum-waffle": "^4.0.10",
"ethers": "^5.6.5",
"hardhat": "^2.13.0",
"hardhat-deploy": "^0.11.25",
"hardhat-gas-reporter": "^1.0.9",
"hardhat-storage-layout": "^0.1.6",
"husky": "^8.0.3",
"mocha": "^9.0.2",
"prettier": "^2.3.1",
"prettier-plugin-solidity": "^1.0.0-beta.13",
"solhint": "^3.4.1y",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.7.22",
"typechain": "^5.0.0",
"typescript": "^4.9.5"
},
"scripts": {
"prepublish": "tsc ./types/**.ts --esModuleInterop true --target es5",
"clean": "hardhat clean",
"build": "cross-env NODE_ENV=build hardhat compile && cross-env NODE_ENV=build hardhat typechain",
"console": "hardhat console",
"coverage": "cross-env HARDHAT_DEPLOY_FIXTURE=true hardhat coverage",
"gas": "cross-env REPORT_GAS=true hardhat test",
"doc": "solidity-docgen --solc-module solc-0.8.9 -t hbs",
"dev": "hardhat node",
"test": "yarn lint:fix && hardhat test",
"mumbai:deploy": "hardhat --network mumbai deploy",
"dev:deploy": "hardhat --network localhost deploy",
"mainnet:deploy": "hardhat --network mainnet deploy",
"mainnet:verify": "hardhat --network mainnet etherscan-verify --solc-input",
"mainnet:export": "hardhat --network mainnet export --export exports/mainnet.json",
"ropsten:deploy": "hardhat --network ropsten deploy",
"ropsten:verify": "hardhat --network ropsten etherscan-verify --solc-input",
"ropsten:export": "hardhat --network ropsten export --export exports/ropsten.json",
"rinkeby:deploy": "hardhat --network rinkeby deploy",
"rinkeby:verify": "hardhat --network rinkeby etherscan-verify --solc-input",
"rinkeby:export": "hardhat --network rinkeby export --export exports/rinkeby.json",
"goerli:deploy": "hardhat --network goerli deploy",
"goerli:verify": "hardhat --network goerli etherscan-verify --solc-input",
"goerli:export": "hardhat --network goerli export --export exports/goerli.json",
"arbitrum:deploy": "hardhat --network arbitrum deploy",
"arbitrum:export": "hardhat --network arbitrum export --export exports/arbitrum.json",
"prepare": "yarn build && hardhat typechain",
"lint": "eslint \"**/*.{js,ts}\" && solhint contracts/**/*.sol",
"lint:fix": "eslint --fix \"**/*.{js,ts}\" && prettier --write contracts/**/*.sol && solhint contracts/**/*.sol"
},
"husky": {
"hooks": {
"pre-commit": "npm test",
"pre-push": "npm test"
}
},
"dependencies": {
"solc-0.8.9": "npm:[email protected]",
"solidity-docgen": "^0.5.16"
}
}