forked from beefyfinance/beefy-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
108 lines (108 loc) · 5.81 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
{
"name": "beefy-api",
"version": "1.0.0",
"repository": "beefyfinance/beefy-api",
"license": "MIT",
"scripts": {
"install-all": "yarn && cd packages/address-book && yarn",
"start": "ts-node --transpile-only src/app.ts",
"starttvl": "ts-node --heap-prof --transpile-only src/api/stats/getTvl.js",
"heaptvl": "node -r ts-node/register --heap-prof src/api/stats/getTvl.js",
"dev": "nodemon -e js,ts,json src/app.ts",
"test": "nyc ava",
"test:ts": "tsc --noEmit",
"prettier:check": "prettier --check src/**/*",
"prettier:fix": "prettier --write src/**/*",
"prepare": "husky install",
"addFarm": "ts-node scripts/add-farm.ts",
"addSushi": "ts-node scripts/add-sushi.ts",
"addSolidly": "ts-node scripts/add-solidly.ts",
"check-oracles": "ts-node scripts/check-oracles.ts",
"mainnet:sushi:add": "ts-node scripts/add-farm.ts --network ethereum --project sushi --newFee true --pool",
"mainnet:verse:add": "ts-node scripts/add-quick.ts --network ethereum --project verse --pool",
"arbitrum:solidlizard:add": "ts-node scripts/add-solidly.ts --network arbitrum --project solidlizard --newFee true --lp",
"bsc:pancake:add": "ts-node scripts/add-sushi.ts --network bsc --project pancake --newFee true",
"bsc:ape:add": "ts-node scripts/add-farm.ts --network bsc --project ape",
"bsc:biswap:add": "ts-node scripts/add-farm.ts --network bsc --project biswap",
"bsc:swapfish:add": "ts-node scripts/add-farm.ts --network bsc --project swapfishBsc --newFee true",
"bsc:thena:add": "ts-node scripts/add-solidly.ts --network bsc --project thena --newFee true --lp",
"canto:velocimeter:add": "ts-node scripts/add-solidly.ts --network canto --project velocimeter --newFee true --lp",
"fantom:spooky:add": "ts-node scripts/add-farm.ts --network fantom --project spooky",
"fantom:spiritv:add": "ts-node scripts/add-solidly.ts --network fantom --project spiritVolatile --newFee true",
"fantom:spirits:add": "ts-node scripts/add-solidly.ts --network fantom --project spiritStable --newFee true",
"fantom:equalizer:add": "ts-node scripts/add-solidly.ts --network fantom --project equalizer --newFee true --lp",
"fantom:sushi:add": "ts-node scripts/add-sushi.ts --network fantom --project sushiFtm",
"polygon:quick:add": "ts-node scripts/add-quick.ts --network polygon --project quick",
"polygon:sushi:add": "ts-node scripts/add-sushi.ts --network polygon --project sushiPoly",
"one:sushi:add": "ts-node scripts/add-sushi.ts --network one --project sushiOne",
"arb:sushi:add": "ts-node scripts/add-sushi.ts --network arbitrum --project sushiArb --newFee true",
"arb:swapfish:add": "ts-node scripts/add-farm.ts --network arbitrum --project swapfishArb --newFee true",
"celo:sushi:add": "ts-node scripts/add-sushi.ts --network celo --project sushiCelo",
"avax:pangolin:add": "ts-node scripts/add-sushi.ts --network avax --project pangolin",
"avax:boostedjoe:add": "ts-node scripts/add-farm.ts --network avax --project boostedjoe",
"avax:joe:add": "ts-node scripts/add-farm.ts --network avax --project joe",
"aurora:tri:add": "ts-node scripts/add-sushi.ts --network aurora --project tri",
"moonriver:solarbeam:add": "ts-node scripts/add-farm.ts --network moonriver --project solarbeam",
"moonbeam:stella:add": "ts-node scripts/add-farm.ts --network moonbeam --project stellaswap --newFee true",
"fuse:fusefi:add": "ts-node scripts/add-quick.ts --network fuse --project fusefi",
"fuse:sushi:add": "ts-node scripts/add-sushi.ts --network fuse --project sushiFuse",
"metis:netswap:add": "ts-node scripts/add-farm.ts --network metis --project netswap",
"metis:tethys:add": "ts-node scripts/add-farm.ts --network metis --project tethys",
"fantom:solidly:add": "ts-node scripts/add-solidly.ts --network fantom --project solidly --newFee true",
"polygon:dystopia:add": "ts-node scripts/add-solidly.ts --network polygon --project dystopia --newFee true",
"polygon:uniswap:add": "ts-node scripts/add-univ3.ts --network polygon --project uniswap_polygon --strategy",
"op:velodrome:add": "ts-node scripts/add-solidly.ts --network optimism --project velodrome --newFee true --lp",
"kava:equilibre:add": "ts-node scripts/add-solidly.ts --network kava --project equilibre --newFee true --lp",
"arb:arbidex:add": "ts-node scripts/add-farm.ts --network arbitrum --project arbidex --newFee true",
"gen-abi-types": "abi-types-generator ./src/abis/matic/Telxchange/StakingRewards/StakingRewards.json --output='./src/abis/matic/Telxchange/StakingRewards/types'"
},
"dependencies": {
"@apollo/client": "^3.5.6",
"@koa/cors": "^3.1.0",
"@koa/router": "^9.4.0",
"@types/node": "^15.12.2",
"apollo-link-http": "^1.5.17",
"apollo-link-timeout": "^4.0.0",
"bignumber.js": "^9.0.1",
"date-fns": "^2.21.3",
"eth-multicall": "^1.4",
"ethereum-abi-types-generator": "^1.1.7",
"ethereum-multicall": "^2.14.1",
"ethers": "^5.0.26",
"graphql": "^15.5.0",
"graphql-tag": "^2.12.4",
"husky": "^6.0.0",
"koa": "^2.13.0",
"koa-bodyparser": "^4.3.0",
"koa-conditional-get": "^3.0.0",
"koa-etag": "^4.0.0",
"koa-helmet": "^5.2.0",
"koa-router": "^9.4.0",
"node-fetch": "^2.6.1",
"p-queue": "^6.6.2",
"redis": "^4.0.6",
"ts-node": "^10.0.0",
"typescript": "^4.3.2",
"web3": "^1.3.0",
"web3-eth-contract": "^1.7.3"
},
"devDependencies": {
"@types/koa": "^2.13.5",
"@types/lodash": "^4.14.191",
"ava": "^3.12.1",
"command-line-args": "^5.2.1",
"dotenv": "^8.2.0",
"fast-glob": "^3.2.12",
"lint-staged": "^12.1.7",
"lodash": "^4.17.21",
"nodemon": "^2.0.6",
"nyc": "^15.1.0",
"prettier": "^2.3.2",
"yargs": "^17.0.1"
},
"lint-staged": {
"*.ts": "prettier --write",
"*.js": "prettier --write",
"*.json": "prettier --write"
}
}