-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
62 lines (62 loc) · 3 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
{
"name": "diamond-contracts-core",
"version": "0.8.9",
"description": "Smart contracts for DPoS",
"main": "index.js",
"scripts": {
"compile": "npx hardhat compile",
"test": "npx hardhat test",
"coverage": "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/flatten.sh ./contracts",
"mythril": "npm run flat && bash scripts/run_mythril.sh ./flat",
"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",
"clean": "rm -rf artifacts/ cache/ coverage/ typechain/ typechain-types/ src/ coverage.json",
"solhint": "./node_modules/.bin/solhint -f table 'contracts/**/*.sol'",
"solhint:ci": "./node_modules/.bin/solhint --disc --max-warnings 0 -f compact 'contracts/**/*.sol' > /dev/null",
"solhint:sarif-report": "./node_modules/.bin/solhint --disc -f sarif 'contracts/**/*.sol' > solhint_report.sarif",
"getFunctionSignatures": "node scripts/getFunctionSignatures.js",
"oz-manifest": "npx hardhat run --network hardhat scripts/generateNetworkManifest.ts",
"spec": "npm run oz-manifest && npx hardhat make_spec_hbbft --init-contracts initial-contracts.json --use-upgrade-proxy init-data.json",
"typechain": "npx typechain --target ethers-v5 --out-dir src/types 'artifacts/contracts/**/!(*.dbg).json'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/DMDcoin/diamond-contracts-core.git"
},
"author": "[email protected]",
"bugs": {
"url": "https://github.com/DMDcoin/diamond-contracts-core/issues"
},
"homepage": "https://github.com/DMDcoin/diamond-contracts-core#readme",
"devDependencies": {
"@nomicfoundation/hardhat-ethers": "^3.0.6",
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
"@openzeppelin/contracts": "^5.0.2",
"@openzeppelin/contracts-upgradeable": "^5.0.2",
"@openzeppelin/hardhat-upgrades": "^3.1.1",
"@typechain/ethers-v6": "^0.5.1",
"@typechain/hardhat": "^9.1.0",
"@types/chai": "^4.3.16",
"@types/fs-extra": "^11.0.4",
"@types/lodash": "^4.17.4",
"@types/mocha": "^10.0.6",
"@types/node": "^20.12.13",
"dotenv": "^16.4.5",
"ethers": "^6.12.1",
"hardhat": "^2.22.10",
"hardhat-contract-sizer": "^2.10.0",
"hardhat-tracer": "^3.1.0",
"lodash": "^4.17.21",
"solc": "0.8.25",
"solhint": "^5.0.1",
"solidity-coverage": "^0.8.12",
"solidity-docgen": "^0.6.0-beta.29",
"ts-node": "^10.9.2",
"typechain": "^8.3.2",
"typescript": "^5.4.5"
},
"prettier": "./.prettierrc.json"
}