-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
26 lines (25 loc) · 1.47 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
{
"scripts": {
"lint:sol": "npx solium -d src",
"lint:sol:fix": "npx solium -d src --fix",
"lint:sol:test": "npx solium -d test",
"lint:sol:test:fix": "npx solium -d test --fix",
"lint:sol:script": "npx solium -d script",
"lint:sol:script:fix": "npx solium -d script --fix",
"lint:sol:prettier": "npx prettier --write 'src/**/*.sol' 'test/**/*.sol' 'script/**/*.sol'",
"uml": "npx sol2uml class src",
"uml:ruleEngine": "npx sol2uml src contracts -b RuleEngine",
"uml:test": "npx sol2uml class test",
"surya:report": "npx surya mdreport surya_report_ruleEngine.md src/RuleEngine.sol && npx surya mdreport surya_report_ruleWhitelist.md src/RuleWhitelist.sol",
"surya:graph": "npx surya graph src/rules/operation/RuleConditionalTransfer.sol | dot -Tpng > surya_graph_conditionalTransfer.png && npx surya graph src/rules/validation/RuleBlacklist.sol| dot -Tpng > surya_graph_blacklist.png && npx surya graph src/rules/validation/RuleWhitelist.sol | dot -Tpng > surya_graph_Whitelist.png && npx surya graph src/RuleEngine.sol | dot -Tpng > surya_graph_RuleEngine.png && npx surya graph src/rules/validation/RuleSanctionList.sol | dot -Tpng > surya_graph_SanctionList.png",
"docgen": "npx hardhat docgen"
},
"devDependencies": {
"@nomicfoundation/hardhat-foundry": "^1.0.1",
"ethlint": "^1.2.5",
"prettier-plugin-solidity": "^1.0.0-rc.1",
"sol2uml": "^2.2.6",
"solidity-docgen": "^0.6.0-beta.35",
"surya": "^0.4.6"
}
}