generated from PaulRBerg/hardhat-template
-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
119 lines (119 loc) · 5.94 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "@optyfi/defi-adapters",
"description": "Collection of defi adapters compatible with opty.fi's earn protocol",
"version": "1.0.0",
"author": "opty.fi",
"homepage": "https://opty.fi",
"repository": {
"type": "git",
"url": "https://github.com/opty-fi/defi-adapters"
},
"private": true,
"bugs": {
"url": "https://github.com/opty-fi/defi-adapters/issues",
"email": "[email protected]"
},
"devDependencies": {
"@codechecks/client": "^0.1.11",
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@ethersproject/abi": "^5.4.0",
"@ethersproject/abstract-signer": "^5.4.1",
"@ethersproject/bignumber": "^5.4.1",
"@ethersproject/bytes": "^5.4.0",
"@ethersproject/providers": "^5.4.4",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@typechain/ethers-v5": "^7.0.1",
"@typechain/hardhat": "^2.3.0",
"@types/chai": "^4.2.21",
"@types/fs-extra": "^9.0.12",
"@types/mocha": "^9.0.0",
"@types/node": "^16.7.1",
"@typescript-eslint/eslint-plugin": "^4.29.2",
"@typescript-eslint/parser": "^4.29.2",
"chai": "^4.3.4",
"commitizen": "^4.2.4",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"dotenv": "^10.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"ethereum-waffle": "^3.4.0",
"ethers": "^5.4.5",
"fs-extra": "^10.0.0",
"hardhat": "2.6.1",
"husky": "^7.0.1",
"lint-staged": "^11.1.2",
"mocha": "^9.1.0",
"prettier": "^2.3.2",
"prettier-plugin-solidity": "^1.0.0-beta.17",
"shelljs": "^0.8.4",
"solhint": "^3.3.6",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.7.16",
"ts-generator": "^0.1.1",
"ts-node": "^10.2.1",
"typechain": "^5.1.2",
"typescript": "^4.3.5"
},
"files": [
"/contracts"
],
"keywords": [
"solidity",
"blockchain",
"smart-contracts",
"defi",
"money-legos",
"opty.fi",
"DefiAdapter"
],
"resolutions": {
"@solidity-parser/parser": "^0.13.2"
},
"scripts": {
"clean": "cross-env TS_NODE_TRANSPILE_ONLY=1 hardhat clean",
"commit": "git-cz",
"compile": "env SKIP_LOAD=true TS_NODE_TRANSPILE_ONLY=1 hardhat compile",
"coverage:ethereum": "cross-env CODE_COVERAGE=true FORK=main NETWORK=main TS_NODE_TRANSPILE_ONLY=1 hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"./test/1_ethereum/**/*.ts\"",
"coverage:matic": "cross-env CODE_COVERAGE=true FORK=matic NETWORK=matic TS_NODE_TRANSPILE_ONLY=1 hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"./test/2_matic/**/*.ts\"",
"coverage:avalanche": "cross-env CODE_COVERAGE=true FORK=avalanche NETWORK=avalanche TS_NODE_TRANSPILE_ONLY=1 hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"./test/3_avalanche/**/*.ts\"",
"coverage:arbitrum": "cross-env CODE_COVERAGE=true FORK=arbitrum NETWORK=arbitrum TS_NODE_TRANSPILE_ONLY=1 hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"./test/4_arbitrum/**/*.ts\"",
"coverage:xdai": "cross-env CODE_COVERAGE=true FORK=xdai NETWORK=xdai TS_NODE_TRANSPILE_ONLY=1 hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"./test/5_xdai/**/*.ts\"",
"coverage:fantom": "cross-env CODE_COVERAGE=true FORK=fantom NETWORK=fantom TS_NODE_TRANSPILE_ONLY=1 hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"./test/6_fantom/**/*.ts\"",
"coverage:bsc": "cross-env CODE_COVERAGE=true FORK=bsc NETWORK=bsc TS_NODE_TRANSPILE_ONLY=1 hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"./test/7_bsc/**/*.ts\"",
"coverage:oethereum": "cross-env CODE_COVERAGE=true FORK=optimistic_ethereum NETWORK=optimistic_ethereum TS_NODE_TRANSPILE_ONLY=1 hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"./test/8_oethereum/**/*.ts\"",
"lint": "yarn run lint:sol && yarn run lint:ts && yarn run 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",
"prettier": "prettier --config ./.prettierrc.yaml --write \"**/*.{js,json,md,sol,ts}\"",
"prettier:check": "prettier --check --config ./.prettierrc.yaml \"**/*.{js,json,md,sol,ts}\"",
"test:ethereum:fork": "cross-env FORK=main NETWORK=main TS_NODE_TRANSPILE_ONLY=1 hardhat test ./test/1_ethereum/**/*.ts",
"test:matic:fork": "cross-env FORK=matic NETWORK=matic TS_NODE_TRANSPILE_ONLY=1 hardhat test ./test/2_matic/**/*.ts",
"test:avalanche:fork": "cross-env FORK=avalanche NETWORK=avalanche TS_NODE_TRANSPILE_ONLY=1 hardhat test ./test/3_avalanche/**/*.ts",
"test:arbitrum:fork": "cross-env FORK=arbitrum NETWORK=arbitrum TS_NODE_TRANSPILE_ONLY=1 hardhat test ./test/4_arbitrum/**/*.ts",
"test:xdai:fork": "cross-env FORK=xdai NETWORK=xdai TS_NODE_TRANSPILE_ONLY=1 hardhat test ./test/5_xdai/**/*.ts",
"test:fantom:fork": "cross-env FORK=fantom NETWORK=fantom TS_NODE_TRANSPILE_ONLY=1 hardhat test ./test/6_fantom/**/*.ts",
"test:bsc:fork": "cross-env FORK=bsc NETWORK=bsc TS_NODE_TRANSPILE_ONLY=1 hardhat test ./test/7_bsc/**/*.ts",
"test:oethereum:fork": "cross-env FORK=optimistic_ethereum NETWORK=optimistic_ethereum TS_NODE_TRANSPILE_ONLY=1 hardhat test ./test/8_oethereum/**/*.ts",
"typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain"
},
"contributors": [
"Dhruvin Parikh <[email protected]>",
"Deepanshu Gupta <[email protected]>",
"Mario Gutiérrez Valero <[email protected]>",
"Leo Tuan Dinh <[email protected]>"
],
"license": "AGPLv3",
"engines": {
"node": ">=16.0.0"
},
"dependencies": {
"@openzeppelin/contracts": "v3.4.0",
"@openzeppelin/contracts-0.8.x": "npm:@openzeppelin/[email protected]",
"@optyfi/defi-legos": "0.1.0-rc.31",
"@uniswap/v2-periphery": "^1.1.0-beta.0"
}
}