forked from DMDcoin/diamond-contracts-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 2.42 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
{
"name": "diamond-contracts-core",
"version": "0.8.9",
"description": "Smart contracts for DPoS",
"main": "index.js",
"scripts": {
"compile": "npx hardhat compile",
"coverage": "export SOLIDITY_COVERAGE=true && npx hardhat coverage",
"docs-publish": "npx hardhat docgen && cd docs/website && npm i && npm run publish-gh-pages",
"docs-start": "npx hardhat docgen && cd docs/website && npm i && npm start",
"flat": "bash scripts/make_flat.sh",
"solidity-docgen": "rm -rf docs/docs/api* && npm i && npx hardhat docgen --exclude interfaces,libs,ERC677BridgeTokenRewardable.sol . contracts docs && node docs/website/sidebars-fix.js",
"generate-uml": "sol2uml ./contracts -o docs/classDiagram.svg",
"test": "npx hardhat test",
"testOnTestnet": "export CONTRACTS_NO_UPGRADE_PROXY=true && ./node_modules/.bin/truffle test --network testNet test/KeyGenHistory.js test/mockContracts/BlockRewardHbbftMock.sol test/mockContracts/RandomHbbftMock.sol test/mockContracts/ValidatorSetHbbftMock.sol test/mockContracts/StakingHbbftMock.sol",
"getFunctionSignatures": "node scripts/getFunctionSignatures.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/poanetwork/posdao-contracts.git"
},
"author": "[email protected]",
"bugs": {
"url": "https://github.com/poanetwork/posdao-contracts/issues"
},
"homepage": "https://github.com/poanetwork/posdao-contracts#readme",
"devDependencies": {
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
"@nomicfoundation/hardhat-ethers": "^3.0.5",
"@openzeppelin/contracts": "^4.9.6",
"@openzeppelin/contracts-upgradeable": "^4.9.6",
"@openzeppelin/hardhat-upgrades": "^3.0.5",
"@typechain/hardhat": "^9.1.0",
"@types/chai": "^4.3.3",
"@types/fs-extra": "^11.0.4",
"@types/lodash": "^4.14.186",
"@types/mocha": "^10.0.6",
"@types/node": "^20.12.2",
"@typechain/ethers-v6": "^0.5.1",
"dotenv": "^16.0.2",
"ethers": "^6.11.1",
"hardhat": "^2.22.0",
"hardhat-contract-sizer": "^2.6.1",
"lodash": "^4.17.21",
"solc": "0.8.17",
"solidity-coverage": "^0.8.5",
"solidity-docgen": "^0.6.0-beta.29",
"ts-node": "^10.9.1",
"typechain": "^8.1.0",
"typescript": "^5.4.3"
},
"prettier": "./.prettierrc.json"
}