Skip to content

Commit

Permalink
added markup generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvolear committed May 25, 2023
1 parent d4ede82 commit fa4cce3
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ cache
artifacts
coverage.json
coverage
generated-markups

# IDE files
.idea
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The library consists of modules and utilities that are built with a help of [Ope
- Versatile **RBAC** smart contract
- Enhanced and simplified [**Diamond**](https://eips.ethereum.org/EIPS/eip-2535) pattern
- Heap based priority queue library
- Memory data structures
- Memory data structures (Vector)
- Utilities to ease work with ERC20 decimals, arrays, and sets

## Overview
Expand Down
4 changes: 4 additions & 0 deletions hardhat.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require("@nomiclabs/hardhat-web3");
require("@nomiclabs/hardhat-truffle5");
require("@dlsl/hardhat-markup");
require("hardhat-contract-sizer");
require("hardhat-gas-reporter");
require("solidity-coverage");
Expand Down Expand Up @@ -33,6 +34,9 @@ module.exports = {
bsc: `${process.env.BSCSCAN_KEY}`,
},
},
markup: {
onlyFiles: ["./contracts/"],
},
mocha: {
timeout: 1000000,
},
Expand Down
68 changes: 68 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"lint-json-fix": "prettier --write \"./[a-zA-Z0-9.]+(?!-lock).json\"",
"lint-js-fix": "prettier --write \"./**/*.js\"",
"lint-sol-fix": "prettier --write \"contracts/**/*.sol\"",
"generate-docs": "npx hardhat markup",
"publish-to-npm": "npm run lint-fix && bash ./scripts/publish.sh"
},
"dependencies": {
Expand All @@ -32,6 +33,7 @@
"hardhat": "^2.13.0"
},
"devDependencies": {
"@dlsl/hardhat-markup": "^1.0.0-rc.10",
"@metamask/eth-sig-util": "^4.0.0",
"@nomiclabs/hardhat-truffle5": "^2.0.1",
"@nomiclabs/hardhat-web3": "^2.0.0",
Expand All @@ -41,14 +43,14 @@
"hardhat-contract-sizer": "^2.1.1",
"hardhat-gas-reporter": "^1.0.4",
"husky": "^7.0.2",
"merkletreejs": "^0.3.9",
"mocha": "^9.1.1",
"prettier": "^2.7.1",
"prettier-plugin-solidity": "^1.0.0",
"solhint": "^3.3.6",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.8.2",
"truffle-assertions": "^0.9.2",
"web3": "^1.7.5",
"merkletreejs": "^0.3.9"
"web3": "^1.7.5"
}
}

0 comments on commit fa4cce3

Please sign in to comment.