forked from Good-Ghosting/goodghosting-protocol-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 4.66 KB
/
package.json
File metadata and controls
118 lines (118 loc) · 4.66 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "goodghosting-protocol-v2",
"description": "Good Ghosting V2 Contracts",
"version": "2.0.0",
"devDependencies": {
"@codechecks/client": "^0.1.12",
"@commitlint/cli": "^14.1.0",
"@commitlint/config-conventional": "^14.1.0",
"@ethersproject/abi": "^5.5.0",
"@ethersproject/abstract-signer": "^5.5.0",
"@ethersproject/bignumber": "^5.5.0",
"@ethersproject/bytes": "^5.5.0",
"@ethersproject/providers": "^5.5.0",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-truffle5": "^2.0.2",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@openzeppelin/contracts": "^4.4.0",
"@typechain/ethers-v5": "^8.0.1",
"@typechain/hardhat": "^3.0.0",
"@typechain/truffle-v5": "^6.0.0",
"@types/chai": "^4.2.22",
"@types/fs-extra": "^9.0.13",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.10",
"@typescript-eslint/eslint-plugin": "^5.3.0",
"@typescript-eslint/parser": "^5.3.0",
"chai": "^4.3.4",
"commitizen": "^4.2.4",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"dotenv": "^10.0.0",
"eslint": "^8.2.0",
"eslint-config-prettier": "^8.3.0",
"ethereum-waffle": "^3.4.0",
"ethers": "^5.6.1",
"fs-extra": "^10.0.0",
"hardhat-contract-sizer": "^2.5.1",
"hardhat-gas-reporter": "^1.0.4",
"husky": "^7.0.4",
"lint-staged": "^11.2.6",
"lodash": "^4.17.21",
"mocha": "^9.1.3",
"pinst": "^2.1.6",
"prettier": "^2.4.1",
"prettier-plugin-solidity": "^1.0.0-beta.18",
"shelljs": "^0.8.4",
"shx": "^0.3.3",
"solhint": "^3.3.6",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.7.17",
"truffle-plugin-verify": "^0.5.26",
"truffle-typings": "^1.0.8",
"ts-generator": "^0.1.1",
"ts-node": "^10.4.0",
"typechain": "^6.0.2",
"typescript": "^4.4.4"
},
"files": [
"/contracts"
],
"keywords": [
"blockchain",
"ethereum",
"hardhat",
"smart-contracts",
"solidity"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"clean": "shx rm -rf ./artifacts ./cache ./coverage ./types ./coverage.json",
"commit": "git-cz",
"compile": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile",
"coverage": "NODE_OPTIONS=\"--max-old-space-size=4096\" && yarn typechain && hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"./test/**/*.ts\"",
"deploy:celo": "truffle deploy -f 2 --network celo --reset",
"deploy:polygon": "truffle deploy -f 2 --network polygon --reset",
"deploy:test:celo": "truffle deploy -f 2 --network test-celo --reset",
"deploy:test:polygon": "truffle deploy -f 2 --network test-polygon --reset",
"deploy:baseGoerli": "truffle deploy -f 2 --network test-base --reset",
"deploy:base": "truffle deploy -f 2 --network base --reset",
"verify:polygon:curve": "truffle run verify Pool CurveStrategy --network polygon --debug",
"verify:polygon:aaveV2": "truffle run verify Pool AaveStrategy --network polygon --debug",
"verify:polygon:aaveV3": "truffle run verify Pool AaveStrategyV3 --network polygon --debug",
"verify:polygon:open": "truffle run verify Pool NoExternalStrategy --network polygon --debug",
"lint": "yarn lint:sol && yarn lint:ts && yarn prettier:check",
"lint:sol": "solhint --config ./.solhint.json --max-warnings 0 \"contracts/**/*.sol\"",
"lint:ts": "eslint --config ./.eslintrc.yaml --ignore-path ./.eslintignore --ext .js,.ts .",
"postinstall": "husky install",
"postpublish": "pinst --enable",
"prepublishOnly": "pinst --disable",
"prettier": "prettier --config ./.prettierrc.yaml --write \"**/*.{js,json,md,sol,ts}\"",
"prettier:check": "prettier --check --config ./.prettierrc.yaml \"**/*.{js,json,md,sol,ts}\"",
"test": "npx hardhat test",
"test:fork:celo": "npx truffle test --network local-celo",
"test:fork:polygon": "npx truffle test --network local-polygon",
"test:fork:variable:polygon": "npx truffle test --network local-variable-polygon",
"test:fork:variable:celo": "npx truffle test --network local-variable-celo",
"typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain",
"generate": "truffle compile && typechain --target truffle './build/**/*.json'",
"prepare": "yarn generate"
},
"dependencies": {
"@celo/contractkit": "^1.5.0",
"@truffle/hdwallet-provider": "^2.0.19",
"axios": "^0.27.2",
"bignumber.js": "^9.1.1",
"bn.js": "^5.2.1",
"ethereumjs-abi": "^0.6.8",
"fs": "^0.0.1-security",
"ganache-time-traveler": "^1.0.16",
"hardhat": "^2.9.1",
"truffle": "5.6.9",
"truffle-assertions": "^0.9.2",
"web3": "^1.6.1"
}
}