-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
118 lines (118 loc) · 6.18 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
{
"name": "@optyfi/defi-adapter-kit",
"description": "Starting point for building adapter",
"version": "1.0.0",
"author": "opty.fi",
"homepage": "https://opty.fi",
"repository": {
"type": "git",
"url": "https://github.com/opty-fi/defi-adapter-kit"
},
"private": true,
"bugs": {
"url": "https://github.com/opty-fi/defi-adapter-kit/issues",
"email": "[email protected]"
},
"devDependencies": {
"@codechecks/client": "^0.1.12",
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.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.1",
"@nomiclabs/hardhat-ethers": "^2.0.3",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@typechain/ethers-v5": "^8.0.5",
"@typechain/hardhat": "^3.1.0",
"@types/chai": "^4.3.0",
"@types/fs-extra": "^9.0.13",
"@types/mocha": "^9.0.0",
"@types/node": "^17.0.2",
"@typescript-eslint/eslint-plugin": "^5.8.0",
"@typescript-eslint/parser": "^5.8.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.5.0",
"eslint-config-prettier": "^8.3.0",
"ethereum-waffle": "^3.4.0",
"ethers": "^5.5.2",
"fs-extra": "^10.0.0",
"hardhat": "2.8.0",
"husky": "^7.0.4",
"lint-staged": "^12.1.3",
"mocha": "^9.1.3",
"prettier": "^2.5.1",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"shelljs": "^0.8.4",
"solhint": "^3.3.6",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.7.17",
"ts-generator": "^0.1.1",
"ts-node": "^10.4.0",
"typechain": "^6.1.0",
"typescript": "^4.5.4"
},
"files": [
"/contracts"
],
"keywords": [
"solidity",
"blockchain",
"smart-contracts",
"defi",
"money-legos",
"opty.fi",
"DefiAdapter"
],
"resolutions": {
"@solidity-parser/parser": "^0.13.2"
},
"scripts": {
"clean": "hardhat --max-memory 4096 clean",
"commit": "git-cz",
"compile": "env SKIP_LOAD=true TS_NODE_TRANSPILE_ONLY=1 hardhat --max-memory 4096 compile",
"coverage:ethereum": "cross-env CODE_COVERAGE=true FORK=main NETWORK=main TS_NODE_TRANSPILE_ONLY=1 hardhat --max-memory 4096 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 --max-memory 4096 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 --max-memory 4096 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 --max-memory 4096 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 --max-memory 4096 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 --max-memory 4096 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 --max-memory 4096 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 --max-memory 4096 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 --max-memory 4096 test ./test/1_ethereum/**/*.ts",
"test:matic:fork": "cross-env FORK=matic NETWORK=matic TS_NODE_TRANSPILE_ONLY=1 hardhat --max-memory 4096 test ./test/2_matic/**/*.ts",
"test:avalanche:fork": "cross-env FORK=avalanche NETWORK=avalanche TS_NODE_TRANSPILE_ONLY=1 hardhat --max-memory 4096 test ./test/3_avalanche/**/*.ts",
"test:arbitrum:fork": "cross-env FORK=arbitrum NETWORK=arbitrum TS_NODE_TRANSPILE_ONLY=1 hardhat --max-memory 4096 test ./test/4_arbitrum/**/*.ts",
"test:xdai:fork": "cross-env FORK=xdai NETWORK=xdai TS_NODE_TRANSPILE_ONLY=1 hardhat --max-memory 4096 test ./test/5_xdai/**/*.ts",
"test:fantom:fork": "cross-env FORK=fantom NETWORK=fantom TS_NODE_TRANSPILE_ONLY=1 hardhat --max-memory 4096 test ./test/6_fantom/**/*.ts",
"test:bsc:fork": "cross-env FORK=bsc NETWORK=bsc TS_NODE_TRANSPILE_ONLY=1 hardhat --max-memory 4096 test ./test/7_bsc/**/*.ts",
"test:oethereum:fork": "cross-env FORK=optimistic_ethereum NETWORK=optimistic_ethereum TS_NODE_TRANSPILE_ONLY=1 hardhat --max-memory 4096 test ./test/8_oethereum/**/*.ts",
"typechain": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat --max-memory 4096 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": ">=12.0.0"
},
"dependencies": {
"@openzeppelin/contracts-0.8.x": "npm:@openzeppelin/[email protected]",
"@optyfi/defi-legos": "0.1.0-rc.15",
"@uniswap/v2-periphery": "^1.1.0-beta.0"
}
}