-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
122 lines (122 loc) · 5.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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "@reserve-protocol/token-zapper",
"publishConfig": {
"access": "public",
"tag": "latest"
},
"version": "4.0.0-rc60",
"description": "A library to help convert tokens into RTokens and back",
"keywords": [],
"sideEffects": false,
"files": [
".eslintrc.js",
".gitignore",
".prettierrc",
"jest.config.js",
"LICENCE",
"package.json",
"publish.sh",
"README.md",
"tsconfig.commonjs.json",
"tsconfig.eslint.json",
"tsconfig.json",
"tsconfig.test.json",
"tsconfig.types.json",
"./src.ts/**/*",
"./test/**/*",
"./lib.commonjs/**/*",
"./types/**/*"
],
"types": "./types/index.d.ts",
"author": "jan.demidov@reserve.org",
"main": "./lib.commonjs/index.js",
"exports": {
".": {
"types": "./types/index.d.ts",
"require": "./lib.commonjs/index.js"
}
},
"repository": {
"type": "git",
"url": "git@github.com:reserve-protocol/reserve-zap.git"
},
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"browserslist": "> 0.5%, last 2 versions, not dead",
"prettier": {
"semi": false,
"singleQuote": true
},
"scripts": {
"clean": "rm -rf dist/ lib.commonjs/ types/",
"build:types": "tsc --project tsconfig.types.json",
"build": "npm run clean && npm run build:contracts && npm run build:typechain && npm run build:commonjs && npm run build:types",
"build:contracts": "cd contracts/ && npm run compile:contracts && npm run copy:artifacts",
"build:typechain": "rm -rf contracts/artifacts/ && rm -rf contracts/cache/ && rm -rf src/contracts && cd contracts/ && npx hardhat compile",
"build:commonjs": "tsc --project tsconfig.commonjs.json && cp -r src.ts/configuration/data/ lib.commonjs/configuration/data",
"test:unit": "node --allow-natives-syntax node_modules/.bin/jest --passWithNoTests --testPathPattern 'test/unit'",
"integration:eth": "node --allow-natives-syntax node_modules/.bin/jest --passWithNoTests --detectOpenHandles --testPathPattern 'test/integration/ethereum.test.ts'",
"integration:eth:dags": "node --allow-natives-syntax node_modules/.bin/jest --passWithNoTests --detectOpenHandles --testPathPattern 'test/integration/dags.eth.test.ts'",
"integration:base": "node --allow-natives-syntax node_modules/.bin/jest --passWithNoTests --detectOpenHandles --testPathPattern 'test/integration/base.test.ts'",
"integration:base:dags": "node --allow-natives-syntax node_modules/.bin/jest --passWithNoTests --detectOpenHandles --testPathPattern 'test/integration/dags.base.test.ts'",
"integration:arbitrum": "node --allow-natives-syntax node_modules/.bin/jest --passWithNoTests --detectOpenHandles --testPathPattern 'test/integration/arbitrum.test.ts'",
"format": "npm run prettier:fix",
"curve:all": "npm run curve:mainnet && npm run curve:base && npm run curve:arbitrum",
"curve:mainnet": "curl https://api.curve.fi/v1/getPools/big/ethereum | jq > src.ts/configuration/data/ethereum/curvePoolList.json",
"curve:base": "curl https://api.curve.fi/v1/getPools/big/base | jq > src.ts/configuration/data/base/curvePoolList.json",
"curve:arbitrum": "curl https://api.curve.fi/v1/getPools/big/arbitrum | jq > src.ts/configuration/data/arbitrum/curvePoolList.json",
"prettier": "prettier '**/*.{ts,json,md}'",
"prettier:check": "npm run prettier -- --check",
"prettier:fix": "npm run prettier -- --write",
"compile:contracts": "cd contracts/ && npx hardhat compile",
"copy:artifacts": "cp contracts/deployments.json src.ts/contracts/deployments.json && cp contracts/artifacts/contracts/Zapper.sol/Zapper.json src.ts/contracts/Zapper.json && cp contracts/artifacts/contracts/ZapperExecutor.sol/ZapperExecutor.json src.ts/contracts/ZapperExecutor.json"
},
"devDependencies": {
"@nomicfoundation/hardhat-verify": "1.1.1",
"@nomiclabs/hardhat-ethers": "2.2.3",
"@openzeppelin/contracts": "4.8.2",
"@typechain/ethers-v5": "10.2.0",
"@typechain/hardhat": "6.1.5",
"@types/jest": "29.5.0",
"@types/memoizee": "0.4.8",
"@types/node": "18.15.3",
"@typescript-eslint/eslint-plugin": "5.56.0",
"@typescript-eslint/parser": "5.56.0",
"buffer": "5.7.1",
"dotenv": "16.0.3",
"esbuild": "0.23.1",
"eslint": "8.36.0",
"eslint-config-prettier": "8.8.0",
"eslint-config-standard-with-typescript": "34.0.1",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-promise": "6.1.1",
"hardhat": "2.13.0",
"hardhat-deploy": "0.11.37",
"jest": "29.7.0",
"jest-config": "29.7.0",
"lodash.camelcase": "4.3.0",
"prettier": "2.8.0",
"prompt": "1.0.0",
"ts-jest": "29.2.5",
"ts-node": "10.9.1",
"tsconfig-paths": "4.1.1",
"typechain": "8.3.2",
"typescript": "5.7.2",
"winston": "^3.15.0"
},
"dependencies": {
"@ethersproject/abi": "5.7.0",
"@ethersproject/providers": "5.7.2",
"@paraswap/sdk": "6.8.1",
"bignumber.js": "9.1.1",
"ethers": "5.7.2",
"hardhat-deploy-ethers": "0.3.0-beta.13",
"memoizee": "0.4.15",
"node-cache": "5.1.2",
"paraswap": "5.2.0",
"paraswap-core": "1.0.2",
"ts-toolbelt": "9.6.0"
}
}