-
Notifications
You must be signed in to change notification settings - Fork 67
/
package.json
216 lines (216 loc) · 8.17 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
{
"name": "oasis-borrow",
"version": "13.13.2",
"license": "Apache-2.0",
"engines": {
"node": ">=18.19"
},
"packageManager": "[email protected]",
"scripts": {
"start": "yarn get-config-types && NODE_OPTIONS=--max-old-space-size=8192 next dev",
"get-config-types": "node scripts/get-config-types.js",
"start:debug": "NODE_OPTIONS='--inspect' next dev",
"start:prod": "yarn migrate && next start",
"start:preview": "yarn build:8gb && next start -p 3000",
"migrate": "node server/database/migrate.js",
"prisma:introspect": "prisma introspect --schema=./server/database/schema.prisma",
"prisma:generate": "prisma generate --schema=./server/database/schema.prisma",
"build": "next build && node sitemapGenerator.js",
"build:8gb": "NODE_OPTIONS=--max-old-space-size=8192 next build",
"build:server": "tsc --project ./tsconfig.prod.json",
"format": "prettier --log-level silent --cache --cache-location ./node_modules/.cache/prettier.cache --check \"./**/*.{ts,tsx,js,jsx}\"",
"format:fix": "prettier --loglevel silent --cache --cache-location ./node_modules/.cache/prettier.cache --write \"./**/*.{ts,tsx,js,jsx}\"",
"lint": "eslint --quiet --cache --cache-location ./node_modules/.cache/eslint.cache --rule 'deprecation/deprecation: \"off\"' --ext .ts --ext .tsx .",
"lint:fix": "yarn lint --fix",
"typecheck-test": "tsc -p ./tsconfig.test.json --noEmit --incremental --tsBuildInfoFile './node_modules/.cache/.test-tsbuildinfo'",
"typecheck-app": "tsc -p ./tsconfig.json --noEmit --incremental --tsBuildInfoFile './node_modules/.cache/.app-tsbuildinfo'",
"typecheck": "yarn typecheck-app && yarn typecheck-test",
"typecheck:watch": "tsc -p ./tsconfig.json --noEmit --watch",
"test": "jest",
"test:fix": "yarn lint:fix && yarn tsc && yarn format:fix && yarn test && yarn typecheck",
"typechain:generate": "yarn typechain:generate:web3 && yarn typechain:generate:ethers",
"typechain:generate:web3": "typechain --target=web3-v1 'blockchain/abi/*.json'",
"typechain:generate:ethers": "typechain --target=ethers-v5 'blockchain/abi/*.json'",
"postinstall": "rm -f node_modules/web3/index.d.ts && yarn prisma:generate && yarn typechain:generate && yarn xstate:typegen && yarn get-config-types",
"xstate:typegen": "xstate typegen \"@(features|pages|components|utils)/**/*.ts?(x)\" ",
"xstate:typegen:watch": "xstate typegen \"@(features|pages|components|utils)/**/*.ts?(x)\" --watch",
"update-product-hub": "npx [email protected] scripts/update-product-hub.ts"
},
"dependencies": {
"@babel/runtime": "^7.21.0",
"@contentful/rich-text-react-renderer": "15.19.4",
"@emotion/react": "^11.11.1",
"@lifi/wallet-management": "^2.6.1",
"@lifi/widget": "^2.10.2",
"@metamask/eth-sig-util": "^5.0.2",
"@oasisdex/addresses": "0.1.89",
"@oasisdex/automation": "1.6.5-morpho.6",
"@oasisdex/dma-library": "0.6.79",
"@oasisdex/multiply": "^0.2.11",
"@oasisdex/transactions": "0.1.4-alpha.0",
"@oasisdex/utils": "^0.0.8",
"@prisma/client": "4.8.0",
"@safe-global/safe-apps-provider": "^0.18.2",
"@safe-global/safe-apps-sdk": "^9.0.0",
"@sentry/nextjs": "^7.81.1",
"@spindl-xyz/attribution": "^1.6.2",
"@summer_fi/summerfi-sdk-client": "0.2.10",
"@summer_fi/summerfi-sdk-common": "^0.2.7",
"@typeform/embed-react": "^1.13.0",
"@types/cookie": "^0.6.0",
"@web3-onboard/coinbase": "^2.2.5",
"@web3-onboard/core": "^2.21.1",
"@web3-onboard/gnosis": "^2.2.2",
"@web3-onboard/injected-wallets": "^2.10.6",
"@web3-onboard/ledger": "^2.5.2",
"@web3-onboard/react": "^2.8.12",
"@web3-onboard/trezor": "^2.4.6",
"@web3-onboard/walletconnect": "2.4.6",
"@web3-onboard/web3auth": "^2.2.3",
"@web3-react/abstract-connector": "^6.0.7",
"@web3-react/core": "^6.1.1",
"@web3-react/network-connector": "^6.1.5",
"@xstate/react": "^3.2.2",
"axios": "^0.22.0",
"bignumber.js": "9.0.1",
"boring-avatars": "1.10.1",
"browser-detect": "^0.2.28",
"cancelable-promise": "^4.3.1",
"cookie": "^0.6.0",
"core-js": "2",
"dayjs": "^1.11.9",
"decimal.js": "^10.2.1",
"dotenv": "8.6.0",
"dotenv-flow": "^3.1.0",
"embla-carousel-react": "8.0.0-rc14",
"emotion": "^10.0.27",
"emotion-server": "^10.0.27",
"eslint-plugin-no-relative-import-paths": "^1.5.2",
"graphql": "^15.5.0",
"graphql-request": "^3.4.0",
"i18next": "^22.4.2",
"jsonwebtoken": "^9.0.0",
"lodash": "^4.17.21",
"mixpanel": "^0.13.0",
"mixpanel-browser": "^2.29.1",
"next": "13.5.7",
"next-i18next": "^13.0.3",
"nextjs-sitemap-generator": "^1.3.1",
"node-cache": "^5.1.2",
"node-polyfill-webpack-plugin": "^1.1.4",
"pg": "^8.2.1",
"postgres-migrations": "^4.0.3",
"promise": "8.0.1",
"raf": "3.4.0",
"ramda": "^0.27.1",
"rc-slider": "^10.5.0",
"react": "^18.2.0",
"react-countdown-circle-timer": "^2.5.1",
"react-dom": "^18.2.0",
"react-i18next": "^12.1.4",
"react-lottie-light": "^1.2.5",
"react-redux": "8.0.5",
"react-select": "^3.1.0",
"react-text-mask": "^5.4.1",
"react-use": "^17.4.0",
"rxjs": "^6.2.0",
"rxjs-take-while-inclusive": "^2.1.0",
"sass": "^1.49.4",
"snowflake-sdk": "^1.6.10",
"terser-webpack-plugin": "^5.3.9",
"text-mask-addons": "^3.7.2",
"theme-ui": "^0.16.1",
"ts-node": "10.9.1",
"ts-pattern": "4",
"url-loader": "^4.1.1",
"usehooks-ts": "^2.9.1",
"web3": "1.5.3",
"web3-eth-abi": "1.5.3",
"xstate": "^4.37.2",
"zod": "^3.22.4"
},
"resolutions": {
"@emotion/react": "11.11.1",
"@ethersproject/abstract-provider": "5.7.0",
"@ethersproject/providers": "5.7.0",
"@ethersproject/signing-key": "5.7.0",
"@walletconnect/ethereum-provider": "2.9.1",
"acorn": "8.5.0",
"bn.js": "5.2.1",
"debug": "4.3.4",
"ethereumjs-util": "7.1.5",
"ethers": "5.7.0",
"glob": "8.0.3",
"mime-db": "1.51.0",
"mime-types": "2.1.34",
"query-string": "7.1.3",
"readable-stream": "3.6.0",
"resolve": "1.22.4",
"tslib": "2.2.0",
"type-fest": "0.20.2",
"viem": "1.21.4",
"webpack": "5",
"yargs-parser": "20.2.2"
},
"devDependencies": {
"@contentful/rich-text-types": "16.3.4",
"@ethersproject/providers": "5.7.0",
"@inrupt/jest-jsdom-polyfills": "^2.4.0",
"@next/bundle-analyzer": "^13.5.3",
"@swc/core": "^1.3.90",
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^14.0.0",
"@typechain/ethers-v5": "^10.2.0",
"@typechain/web3-v1": "^6.0.2",
"@types/express": "^4.17.6",
"@types/express-jwt": "^7.4.2",
"@types/jest": "^29.5.5",
"@types/jsonwebtoken": "^9.0.0",
"@types/lodash": "^4.14.109",
"@types/mixpanel-browser": "^2.23.1",
"@types/node": "18.17.18",
"@types/pg": "^7.14.3",
"@types/ramda": "^0.27.34",
"@types/react": "^17.0.1",
"@types/react-dom": "^17.0.1",
"@types/react-lottie": "^1.2.6",
"@types/react-select": "^3.0.16",
"@types/react-text-mask": "^5.4.0",
"@types/snowflake-sdk": "^1.6.7",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"@xstate/cli": "^0.5.1",
"@xstate/inspect": "^0.8.0",
"@xstate/test": "^0.5.1",
"circular-dependency-plugin": "^5.2.2",
"eslint": "^8.57.0",
"eslint-config-typestrict": "^1.0.0",
"eslint-plugin-deprecation": "^2.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-sonarjs": "^0.23.0",
"eslint-plugin-unused-imports": "^3.0.0",
"ethereum-types": "^3.3.3",
"ethers": "5.7.0",
"i18next-hmr": "^3.0.3",
"i18next-http-backend": "^1.4.0",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.0",
"jest-environment-jsdom": "^29.5.0",
"json-to-ts": "^1.7.0",
"prettier": "3.2.5",
"prisma": "4.8.0",
"typechain": "^8.1.1",
"typescript": "^5.4.3"
},
"nextBundleAnalysis": {
"budget": null,
"budgetPercentIncreaseRed": 20,
"minimumChangeThreshold": 500,
"showDetails": true
},
"sideEffects": false
}