-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
104 lines (104 loc) · 6.07 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "CMTAT",
"version": "2.4.1",
"description": "CMTA smart contracts",
"files": [
"contracts",
"test"
],
"scripts": {
"test": "npx truffle test",
"lint:js": "npx eslint test",
"lint:js:fix": "npx eslint test --fix",
"lint:sol": "npx solium -d contracts",
"lint:sol:fix": "npx solium -d contracts --fix",
"lint:all": "npx run lint && npx run lint:sol",
"lint:all:fix": "npm run-script lint:js:fix && npm run-script lint:sol:fix",
"lint:sol:prettier": "npx prettier --write 'contracts/**/*.sol'",
"lint:js:prettier": "npx prettier --write test",
"lint:all:prettier": "npm run-script lint:js:prettier && npm run-script lint:js:fix && npm run-script lint:sol:prettier && npm run-script lint:sol:fix",
"console": "truffle console",
"coverage": "npx hardhat coverage",
"docgen": "npx hardhat docgen",
"uml-all": "npm run-script uml-partial && npm run-script uml-i-draft-erc1404 && npm run-script uml-modules-core && npm run-script uml-modules-extensions && npm run-script uml-modules-security && npm run-script uml-mocks",
"uml": "npx sol2uml class contracts -c",
"uml-i-draft-erc1404": "npx sol2uml class contracts -c -b IERC1404Wrapper",
"uml-partial": "npx sol2uml class contracts -c --depth=1 -b CMTAT_STANDALONE && npx sol2uml class contracts -c --depth=1 -b CMTAT_PROXY && npx sol2uml class contracts -c -b CMTAT_BASE",
"uml-modules-core": "npx sol2uml class contracts -c -b BaseModule && npx sol2uml class contracts -c -b ERC20BurnModule && npx sol2uml class contracts -c -b EnforcementModule && npx sol2uml class contracts -c -b ERC20BaseModule && npx sol2uml class contracts -c -b ERC20MintModule",
"uml-modules-extensions": "npx sol2uml class contracts -c -b DebtBaseModule && npx sol2uml class contracts -c -b CreditEventsModule && npx sol2uml class contracts -c -b MetaTxModule && npx sol2uml class contracts -c -b ERC20SnapshotModule && npx sol2uml class contracts -c -b ValidationModule",
"uml-modules-security": "npx sol2uml class contracts -c -b AuthorizationModule && npx sol2uml class contracts -c -b PauseModule",
"uml-mocks": "npx sol2uml class -c contracts/mocks/RuleEngine",
"size": "npx hardhat size-contracts",
"test:erc20Burn": "npx hardhat test test/standard/modules/ERC20BurnModule.test.js test/proxy/modules/ERC20BurnModule.test.js",
"test:erc20Mint": "npx hardhat test test/standard/modules/ERC20MintModule.test.js test/proxy/modules/ERC20MintModule.test.js",
"test:erc20Base": "npx hardhat test test/standard/modules/ERC20BaseModule.test.js test/proxy/modules/ERC20BaseModule.test.js",
"test:base": "npx hardhat test test/standard/modules/BaseModule.test.js test/proxy/modules/BaseModule.test.js",
"test:pause": "npx hardhat test test/standard/modules/PauseModule.test.js test/proxy/modules/PauseModule.test.js",
"test:creditEvents": "npx hardhat test test/standard/modules/CreditEventsModule.test.js test/proxy/modules/CreditEventsModule.test.js",
"test:validation": "npx hardhat test test/standard/modules/ValidationModule/ValidationModule.test.js test/proxy/modules/ValidationModule/ValidationModule.test.js test/standard/modules/ValidationModule/ValidationModuleConstructor.test.js test/proxy/modules/ValidationModule/ValidationModuleConstructor.test.js test/standard/modules/ValidationModule/ValidationModuleSetRuleEngine.test.js test/proxy/modules/ValidationModule/ValidationModuleSetRuleEngine.test.js",
"test:authorization": "npx hardhat test test/standard/modules/AuthorizationModule/AuthorizationModule.test.js test/proxy/modules/AuthorizationModule/AuthorizationModule.test.js",
"test:snapshot": "npx hardhat test test/standard/modules/ERC20SnapshotModule.test.js test/proxy/modules/ERC20SnapshotModule.test.js",
"test:enforcement": "npx hardhat test test/standard/modules/EnforcementModule.test.js test/proxy/modules/EnforcementModule.test.js",
"test:metaTx": "npx hardhat test test/standard/modules/MetaTxModule.test.js test/proxy/modules/MetaTxModule.test.js",
"test:proxy": "npx hardhat test test/proxy/general/factory/Beacon.test.js test/proxy/general/factory/Transparent.test.js test/proxy/general/factory/TransparentSalt.test.js test/proxy/general/Proxy.test.js test/proxy/general/UpgradeProxy.test.js test/proxy/general/UpgradeProxyUUPS.test.js",
"test:deployment": "npx hardhat test test/deployment/deployment.test.js",
"test:document": "npx hardhat test test/standard/modules/DocumentModule.test.js",
"test:debt": "npx hardhat test test/standard/modules/DebtModule.test.js"
},
"repository": {
"type": "git",
"url": "https://github.com/CMTA/CMTAT.git"
},
"keywords": [
"solidity",
"ethereum",
"smart",
"contracts",
"security"
],
"author": "CMTA",
"license": "MPL",
"bugs": {
"url": "https://github.com/CMTA/CMTAT/issues"
},
"homepage": "https://github.com/CMTA/CMTAT",
"devDependencies": {
"@nomicfoundation/hardhat-chai-matchers": "^2.0.7",
"@nomicfoundation/hardhat-network-helpers": "^1.0.11",
"@openzeppelin/hardhat-upgrades": "^3.2.0",
"@openzeppelin/test-helpers": "^0.5.16",
"chai": "^4.3.7",
"coveralls": "^3.1.1",
"dotenv": "^16.0.3",
"eslint": "^8.38.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-mocha-no-only": "^1.1.1",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.1",
"eth-gas-reporter": "^0.2.27",
"eth-sig-util": "^3.0.1",
"ethereumjs-util": "^7.1.5",
"ethjs-abi": "^0.2.1",
"ethlint": "^1.2.5",
"hardhat": "^2.22.7",
"hardhat-contract-sizer": "^2.10.0",
"hardhat-gas-reporter": "^1.0.9",
"keccak256": "^1.0.6",
"npm": "^10.2.5",
"prettier": "^2.8.7",
"prettier-plugin-solidity": "^1.1.3",
"sol2uml": "^2.5.20",
"solc": "^0.8.19",
"solgraph": "^1.0.2",
"solidity-code-metrics": "^0.0.25",
"solidity-coverage": "^0.8.5",
"solidity-docgen": "^0.6.0-beta.35",
"surya": "^0.4.11"
},
"dependencies": {
"@openzeppelin/contracts": "5.0.2",
"@openzeppelin/contracts-upgradeable": "5.0.2"
}
}