forked from gmx-io/gmx-interface
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
192 lines (192 loc) · 6.74 KB
/
package.json
File metadata and controls
192 lines (192 loc) · 6.74 KB
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
{
"name": "gmx-interface",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"start": "VITE_APP_VERSION=$(git rev-parse HEAD) vite --port 3010 --host",
"start-home": "yarn lingui:prepare && VITE_APP_VERSION=$(git rev-parse HEAD) env-cmd -e development-home vite --port 3010 --config vite.landing.config.ts",
"start-app": "yarn lingui:prepare && VITE_APP_VERSION=$(git rev-parse HEAD) env-cmd -e development-app vite --port 3011",
"build": "VITE_APP_VERSION=$(git rev-parse HEAD) vite build",
"build:analyze": "VITE_APP_VERSION=$(git rev-parse HEAD) vite build --mode analyze",
"build-home": "VITE_APP_VERSION=$(git rev-parse HEAD) env-cmd -e production-home vite build --config vite.landing.config.ts",
"build-home:analyze": "VITE_APP_VERSION=$(git rev-parse HEAD) env-cmd -e production-home vite build --config vite.landing.config.ts --mode analyze",
"build-app": "VITE_APP_VERSION=$(git rev-parse HEAD) env-cmd -e production-app vite build",
"build-sdk": "cd ./sdk && yarn build",
"test": "vitest",
"test:ci": "vitest run",
"lint": "node node_modules/.bin/eslint src --fix --cache --cache-location .eslintcache",
"lint:ci": "node node_modules/.bin/eslint src --max-warnings=0",
"lint:fix": "node node_modules/.bin/eslint src --fix",
"check:ci": "yarn lint:ci && yarn test:ci && yarn tscheck:ci",
"pre-commit": "yarn run lint",
"pre-push": "vitest run",
"prepare": "husky install && yarn lingui:prepare",
"extract": "NODE_ENV=development lingui extract --clean",
"compile": "lingui compile",
"lingui:prepare": "NODE_ENV=development yarn extract && yarn compile",
"lingui:generate": "NODE_ENV=development lingui extract --overwrite",
"tscheck": "tsc -p tsconfig.json --noEmit --incremental",
"tscheck:ci": "tsc -p tsconfig.json --noEmit",
"clean:cache": "rm -rf .eslintcache tsconfig.tsbuildinfo build/**/*.tsbuildinfo",
"clean:lint": "rm -rf .eslintcache",
"clean:ts": "rm -rf tsconfig.tsbuildinfo build/**/*.tsbuildinfo",
"prettier": "prettier --write src/**/*.{js,ts,jsx,tsx,css,scss}",
"postinstall": "cd ./sdk && echo \"Building SDK\" && yarn && yarn build",
"prebuild": "cd ./sdk && yarn tsx scripts/prebuild"
},
"dependencies": {
"@apollo/client": "3.5.6",
"@davatar/react": "1.8.1",
"@floating-ui/dom": "1.6.7",
"@floating-ui/react": "0.26.19",
"@gelatonetwork/relay-sdk": "5.6.0",
"@headlessui/react": "1.7.19",
"@layerzerolabs/lz-v2-utilities": "3.0.85",
"@lingui/core": "4.10.0",
"@lingui/macro": "4.11.3",
"@lingui/react": "4.10.0",
"@rainbow-me/rainbowkit": "2.2.9",
"@stargatefinance/stg-evm-sdk-v2": "1.1.12",
"@tanstack/react-query": "5.25.0",
"@taskworld.com/rereselect": "0.3.0",
"@testing-library/jest-dom": "5.16.1",
"@testing-library/react": "11.2.7",
"@testing-library/user-event": "12.8.3",
"@types/lodash": "4.14.198",
"@types/node": "18.7.13",
"@types/react": "18.2.64",
"@types/react-dom": "18.2.21",
"@types/react-router-dom": "5.3.3",
"@uniswap/sdk-core": "3.0.1",
"@uniswap/v3-sdk": "3.9.0",
"@wagmi/connectors": "6.1.4",
"@wagmi/core": "2.22.1",
"bigdecimal": "0.6.1",
"bowser": "2.11.0",
"classnames": "2.3.1",
"core-js": "3.39.0",
"crypto-js": "4.2.0",
"date-fns": "2.27.0",
"env-cmd": "^10.1.0",
"eslint-config-prettier": "9.0.0",
"eslint-config-recommended": "4.1.0",
"eth-testing": "1.9.1",
"ethers": "6.12.1",
"framer-motion": "11.1.9",
"graphql": "15.8.0",
"hex-to-rgba": "2.0.1",
"html-to-image": "^1.10.8",
"immer": "10.1.1",
"lodash": "4.17.21",
"qrcode.react": "^3.1.0",
"query-string": "7.1.1",
"rc-slider": "9.7.5",
"react": "18.2.0",
"react-calendar": "6.0.0",
"react-dom": "18.2.0",
"react-helmet": "6.1.0",
"react-hot-toast": "2.2.0",
"react-jazzicon": "1.0.4",
"react-loading-skeleton": "3.3.1",
"react-remove-scroll": "2.5.5",
"react-router-dom": "5.3.4",
"react-select": "5.2.1",
"react-tabs": "3.2.3",
"react-toastify": "10.0.5",
"react-use": "17.3.1",
"recharts": "2.12.7",
"reselect": "5.1.0",
"sass": "1.55.0",
"shallowequal": "1.1.0",
"swr": "2.3.3",
"typescript": "5.4.2",
"use-context-selector": "1.4.1",
"viem": "2.39.0",
"wagmi": "2.19.3",
"web-vitals": "1.1.2",
"worker-loader": "3.0.8"
},
"resolutions": {
"react-error-overlay": "6.0.9",
"@coinbase/wallet-sdk": "4.3.0",
"ethers@6.12.1": "patch:ethers@npm:6.12.1#.yarn/patches/ethers-npm-6.12.1-7d4a09a25c",
"jest-runner": "patch:jest-runner@npm:27.5.1#.yarn/patches/jest-runner-npm-27.5.1-2ed2c1cda8",
"viem@2.39.0": "patch:viem@npm:2.39.0#.yarn/patches/viem-npm-2.39.0-c113f391fd"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"rules": {
"no-console": "warn"
}
},
"browserslist": {
"production": [
">0.2%",
"not ie <= 99",
"not android <= 4.4.4",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/plugin-transform-private-property-in-object": "^7.25.9",
"@lingui/cli": "4.10.0",
"@lingui/loader": "4.10.0",
"@lingui/vite-plugin": "4.11.3",
"@types/react-date-range": "1.4.9",
"@typescript-eslint/eslint-plugin": "8.26.1",
"@typescript-eslint/parser": "8.26.1",
"@vitejs/plugin-react": "4.3.1",
"@vitest/web-worker": "^2.1.9",
"autoprefixer": "10.4.20",
"babel-plugin-macros": "3.1.0",
"buffer": "6.0.3",
"eslint": "^8.57.1",
"eslint-config-react-app": "^7.0.1",
"eslint-import-resolver-typescript": "4.2.2",
"eslint-plugin-es-x": "8.1.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-local-rules": "2.0.1",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-react-perf": "3.3.2",
"happy-dom": "^20.0.0",
"husky": "7.0.4",
"lint-staged": "12.3.4",
"postcss": "8.4.41",
"prettier": "3.2.5",
"prettier-plugin-tailwindcss": "0.6.5",
"rollup-plugin-visualizer": "5.12.0",
"tailwindcss": "3.4.4",
"terser": "5.43.1",
"tsx": "4.19.0",
"vite": "^5.4.18",
"vite-bundle-analyzer": "0.20.1",
"vite-plugin-svgr": "4.2.0",
"vite-tsconfig-paths": "5.0.1",
"vitest": "^2.1.9"
},
"lint-staged": {
"sdk/**/*.{js,ts,jsx,tsx}": [
"eslint --fix --max-warnings=0 ./sdk",
"prettier --write"
],
"src/**/*.{js,ts,jsx,tsx}": [
"eslint --fix --max-warnings=0 ./src",
"prettier --write"
],
"src/**/*.{css,scss}": [
"prettier --write"
]
},
"packageManager": "yarn@4.12.0"
}