forked from gmx-io/gmx-interface
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
174 lines (174 loc) · 5.63 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
{
"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",
"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-home": "VITE_APP_VERSION=$(git rev-parse HEAD) env-cmd -e production-home vite build",
"build-app": "VITE_APP_VERSION=$(git rev-parse HEAD) env-cmd -e production-app vite build",
"test": "vitest",
"test:ci": "vitest run",
"lint": "node node_modules/.bin/eslint src",
"check:ci": "yarn lint && yarn test:ci && yarn tscheck",
"pre-commit": "vitest run && yarn run lint",
"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",
"prettier": "prettier --write src/**/*.{js,ts,jsx,tsx,css,scss}",
"typechain": "typechain --target ethers-v6 --out-dir ./src/typechain-types './src/abis/*.json'",
"postinstall": "yarn typechain",
"prebuild": "yarn tsx scripts/prebuild"
},
"dependencies": {
"@apollo/client": "3.5.6",
"@binance/w3w-utils": "1.1.4",
"@davatar/react": "1.8.1",
"@ensdomains/ens-avatar": "1.0.0-alpha.0.ethers.6",
"@floating-ui/dom": "1.6.7",
"@floating-ui/react": "0.26.19",
"@headlessui/react": "1.7.19",
"@lingui/core": "4.10.0",
"@lingui/macro": "4.11.3",
"@lingui/react": "4.10.0",
"@rainbow-me/rainbowkit": "2.0.2",
"@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": "4.1.14",
"@wagmi/core": "2.6.5",
"bigdecimal": "0.6.1",
"bowser": "2.11.0",
"classnames": "2.3.1",
"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",
"fuse.js": "7.0.0",
"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-date-range": "2.0.0-alpha.4",
"react-dom": "18.2.0",
"react-helmet": "6.1.0",
"react-hot-toast": "2.2.0",
"react-icons": "4.3.1",
"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.2.1",
"typescript": "5.4.2",
"use-context-selector": "1.4.1",
"viem": "2.7.20",
"wagmi": "2.5.7",
"web-vitals": "1.1.2",
"worker-loader": "3.0.8"
},
"resolutions": {
"react-error-overlay": "6.0.9",
"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"
},
"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-proposal-private-property-in-object": "7.21.11",
"@lingui/cli": "4.10.0",
"@lingui/loader": "4.10.0",
"@lingui/vite-plugin": "4.11.3",
"@typechain/ethers-v6": "0.5.1",
"@types/react-date-range": "1.4.9",
"@typescript-eslint/eslint-plugin": "6.5.0",
"@typescript-eslint/parser": "6.5.0",
"@vitejs/plugin-react": "4.3.1",
"@vitest/web-worker": "2.0.5",
"autoprefixer": "10.4.20",
"babel-plugin-macros": "3.1.0",
"buffer": "6.0.3",
"eslint": "^8.41.0",
"eslint-config-react-app": "^7.0.1",
"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": "14.12.3",
"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",
"tsx": "4.19.0",
"typechain": "8.3.2",
"vite": "5.4.0",
"vite-plugin-svgr": "4.2.0",
"vite-tsconfig-paths": "5.0.1",
"vitest": "2.0.5"
},
"lint-staged": {
"src/**/*.{js,ts,jsx,tsx}": [
"eslint --fix --max-warnings=0 ./src",
"prettier --write"
],
"src/**/*.{css,scss}": [
"prettier --write"
]
},
"packageManager": "yarn@3.1.0"
}