This repository was archived by the owner on Apr 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +21
-6
lines changed Expand file tree Collapse file tree 3 files changed +21
-6
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,11 @@ import * as tdly from "@tenderly/hardhat-tenderly" // also import tdly for setup
7
7
import "@typechain/hardhat"
8
8
// import "@openzeppelin/hardhat-upgrades"
9
9
import "hardhat-gas-reporter"
10
- import "solidity-coverage"
11
10
import "hardhat-deploy"
12
11
import { HardhatConfig , HardhatUserConfig } from "hardhat/types"
13
12
import "hardhat-contract-sizer" // npx hardhat size-contracts
13
+ import "solidity-coverage"
14
+ import "solidity-docgen"
14
15
15
16
require ( "dotenv" ) . config ( )
16
17
@@ -118,6 +119,10 @@ const config: HardhatUserConfig = {
118
119
outDir : "typechain" ,
119
120
target : "ethers-v6" ,
120
121
} ,
122
+ docgen : {
123
+ outputDir : "./docs" ,
124
+ pages : "files"
125
+ }
121
126
}
122
127
123
128
export default config
Original file line number Diff line number Diff line change 16
16
"lint:sol:fix" : " prettier --log-level warn --ignore-path .gitignore '{contracts,test}/**/*.sol' --write" ,
17
17
"solhint" : " solhint '{contracts,test}/**/*.sol'" ,
18
18
"test" : " npx hardhat test" ,
19
- "prepare" : " husky install"
19
+ "prepare" : " husky install" ,
20
+ "docgen" : " hardhat docgen"
20
21
},
21
22
"author" : " StoryProtocol" ,
22
23
"license" : " MIT" ,
41
42
"hardhat-deploy" : " ^0.11.45" ,
42
43
"hardhat-deploy-ethers" : " ^0.4.1" ,
43
44
"hardhat-gas-reporter" : " ^1.0.10" ,
45
+ "husky" : " ^8.0.0" ,
44
46
"minimatch" : " ^9.0.3" ,
45
47
"mocha" : " ^10.2.0" ,
46
48
"prettier" : " ^3.0.0" ,
49
51
"solhint-community" : " ^3.7.0" ,
50
52
"solhint-plugin-prettier" : " ^0.1.0" ,
51
53
"solidity-coverage" : " ^0.8.6" ,
54
+ "solidity-docgen" : " ^0.6.0-beta.36" ,
52
55
"ts-node" : " ^10.9.2" ,
53
- "typechain" : " ^8.3.2" ,
54
- "husky" : " ^8.0.0"
56
+ "typechain" : " ^8.3.2"
55
57
},
56
58
"dependencies" : {
57
59
"@openzeppelin/contracts" : " 5.0.1" ,
Original file line number Diff line number Diff line change @@ -3133,7 +3133,7 @@ graphemer@^1.4.0:
3133
3133
resolved "https://registry.yarnpkg.com/graphemer/-/graphemer-1.4.0.tgz#fb2f1d55e0e3a1849aeffc90c4fa0dd53a0e66c6"
3134
3134
integrity sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==
3135
3135
3136
- handlebars@^4.0.1 :
3136
+ handlebars@^4.0.1, handlebars@^4.7.7 :
3137
3137
version "4.7.8"
3138
3138
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.8.tgz#41c42c18b1be2365439188c77c6afae71c0cd9e9"
3139
3139
integrity sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==
@@ -5005,7 +5005,7 @@ solhint@^4.1.1:
5005
5005
optionalDependencies :
5006
5006
prettier "^2.8.3"
5007
5007
5008
- solidity-ast@^0.4.51 :
5008
+ solidity-ast@^0.4.38, solidity-ast@^0.4. 51 :
5009
5009
version "0.4.55"
5010
5010
resolved "https://registry.yarnpkg.com/solidity-ast/-/solidity-ast-0.4.55.tgz#00b685e6eefb2e8dfb67df1fe0afbe3b3bfb4b28"
5011
5011
integrity sha512-qeEU/r/K+V5lrAw8iswf2/yfWAnSGs3WKPHI+zAFKFjX0dIBVXEU/swQ8eJQYHf6PJWUZFO2uWV4V1wEOkeQbA==
@@ -5043,6 +5043,14 @@ solidity-coverage@^0.8.6:
5043
5043
shelljs "^0.8.3"
5044
5044
web3-utils "^1.3.6"
5045
5045
5046
+ solidity-docgen@^0.6.0-beta.36 :
5047
+ version "0.6.0-beta.36"
5048
+ resolved "https://registry.yarnpkg.com/solidity-docgen/-/solidity-docgen-0.6.0-beta.36.tgz#9c76eda58580fb52e2db318c22fe3154e0c09dd1"
5049
+ integrity sha512-f/I5G2iJgU1h0XrrjRD0hHMr7C10u276vYvm//rw1TzFcYQ4xTOyAoi9oNAHRU0JU4mY9eTuxdVc2zahdMuhaQ==
5050
+ dependencies :
5051
+ handlebars "^4.7.7"
5052
+ solidity-ast "^0.4.38"
5053
+
5046
5054
source-map-support@^0.5.13 :
5047
5055
version "0.5.21"
5048
5056
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f"
You can’t perform that action at this time.
0 commit comments