forked from Uniswap/interface
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
196 lines (196 loc) · 11.4 KB
/
package.json
File metadata and controls
196 lines (196 loc) · 11.4 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
193
194
195
196
{
"name": "universe",
"version": "0.0.0",
"dependencies": {
"@actions/core": "1.10.1",
"@commitlint/cli": "17.5.0",
"@commitlint/config-conventional": "17.4.4",
"@crowdin/cli": "3.14.0",
"@ethersproject/keccak256": "5.7.0",
"@manypkg/cli": "0.19.2",
"@types/inquirer": "9.0.8",
"@typescript-eslint/eslint-plugin": "6.20.0",
"@typescript-eslint/parser": "6.20.0",
"clipboardy": "4.0.0",
"danger": "11.2.6",
"depcheck": "1.4.7",
"dotenv-cli": "7.1.0",
"husky": "8.0.3",
"i18next": "23.10.0",
"i18next-parser": "8.6.0",
"inquirer": "12.6.0",
"js-yaml": "4.1.0",
"knip": "5.50.5",
"moti": "0.29.0",
"prettier": "3.3.2",
"prettier-plugin-organize-imports": "3.2.4",
"syncpack": "8.5.14",
"turbo": "1.13.4",
"turbo-ignore": "1.11.3",
"wrangler": "4.20.0"
},
"engines": {
"node": "=22.13.1",
"yarn": ">=3.2.3",
"npm": "please-use-yarn"
},
"manypkg": {
"ignoredRules": [
"INTERNAL_MISMATCH"
]
},
"packageManager": "yarn@3.2.3",
"private": true,
"resolutionsComments": {
"immer": "this fixes yarn typecheck in mobile app, see https://github.com/reduxjs/redux-toolkit/issues/1806",
"react-native-wagmi-charts@2.5.1": "this fixes really bad performance issue when the pulse dot is enabled",
"@tanstack/react-query@5.77.2": "Fixes an issue with importing this package from packages/uniswap via apps/web. We can remove this once we move away from craco.",
"@typescript-eslint/eslint-plugin": "Fixes a conflict between our eslint configs and the configs of external packages, like '@react-native-community/eslint-config'.",
"@typescript-eslint/parser": "Fixes a conflict between our eslint configs and the configs of external packages.",
"eslint-plugin-react": "Fixes a conflict between our eslint configs and the configs of external packages.",
"eslint-plugin-react-hooks": "Fixes a conflict between our eslint configs and the configs of external packages.",
"eslint-plugin-jest": "Fixes a conflict between our eslint configs and the configs of external packages.",
"@gorhom/bottom-sheet@4.5.1": "Fixes bottom sheet dynamic snap point backdrop flickering.",
"react-native-tab-view@3.5.2": "Fixes warning on profile screens with spreading key from props. Fixed in react-native-tab-view <4.0.0-alpha.7",
"react-native-reanimated@3.16.7": "Fixes circular component rendering during tests while matching snapshots. See https://github.com/software-mansion/react-native-reanimated/issues/6645#issuecomment-2610994809",
"react-scripts@5.0.1": "Fixes incompatibility with jest 28+",
"webpack@5.90.0": "Fixes issues with incompatible webpack typings in storybook",
"@tamagui/web@1.125.17": "Fixes broken layout dimension calculation on Google API <= 34",
"@react-native-community/cli-server-api": "Pinning previous version because of excessive logging thats not fixed until RN 0.79 https://github.com/facebook/hermes/commit/c615b115dfa471c108256982ce07f10adee63667",
"@react-native/dev-middleware": "Pinning previous version because of excessive logging thats not fixed until RN 0.79 https://github.com/facebook/hermes/commit/c615b115dfa471c108256982ce07f10adee63667",
"metro": "Pinning previous version because of excessive logging thats not fixed until RN 0.79 https://github.com/facebook/hermes/commit/c615b115dfa471c108256982ce07f10adee63667",
"metro-config": "Pinning previous version because of excessive logging thats not fixed until RN 0.79 https://github.com/facebook/hermes/commit/c615b115dfa471c108256982ce07f10adee63667",
"metro-core": "Pinning previous version because of excessive logging thats not fixed until RN 0.79 https://github.com/facebook/hermes/commit/c615b115dfa471c108256982ce07f10adee63667",
"metro-resolver": "Pinning previous version because of excessive logging thats not fixed until RN 0.79 https://github.com/facebook/hermes/commit/c615b115dfa471c108256982ce07f10adee63667"
},
"resolutions": {
"@apollo/client": "3.10.4",
"@babel/preset-env": "7.26.0",
"@coinbase/wallet-sdk": "4.3.2",
"@ethersproject/hash": "5.7.0",
"@gorhom/bottom-sheet@4.6.4": "patch:@gorhom/bottom-sheet@npm%3A4.6.4#./.yarn/patches/@gorhom-bottom-sheet-npm-4.6.4-5b2c27bb1f.patch",
"@react-native/gradle-plugin@0.77.2": "patch:@react-native/gradle-plugin@npm%3A0.77.2#./.yarn/patches/@react-native-gradle-plugin-npm-0.77.2-3aa73582db.patch",
"@react-native-community/cli-server-api": "15.0.1",
"@react-native/dev-middleware": "0.77.2",
"@shopify/react-native-performance@4.1.2": "patch:@shopify/react-native-performance@npm%3A4.1.2#./.yarn/patches/@shopify-react-native-performance-npm-4.1.2-ec1fcc7507.patch",
"@sideway/formula": "3.0.1",
"@tanstack/react-query@5.77.2": "patch:@tanstack/react-query@npm%3A5.77.2#./.yarn/patches/@tanstack-react-query-npm-5.77.2-75ca2b7765.patch",
"@tamagui/popover@1.125.17": "patch:@tamagui/popover@npm%3A1.125.17#./.yarn/patches/@tamagui-popover-npm-1.125.17-3094f5f045.patch",
"@tamagui/web@1.125.17": "patch:@tamagui/web@npm%3A1.125.17#./.yarn/patches/@tamagui-web-npm-1.125.17-51d5261cab.patch",
"@tamagui/z-index-stack@1.125.17": "patch:@tamagui/z-index-stack@npm%3A1.125.17#./.yarn/patches/@tamagui-z-index-stack-npm-1.125.17-c56e31b993.patch",
"@types/react": "18.3.18",
"@typescript-eslint/eslint-plugin": "6.20.0",
"@typescript-eslint/parser": "6.20.0",
"@uniswap/router-sdk": "2.0.2",
"@uniswap/sdk-core": "7.7.2",
"@uniswap/v2-sdk": "4.15.2",
"@vercel/og@0.5.8": "patch:@vercel/og@npm%3A0.5.8#./.yarn/patches/@vercel-og-npm-0.5.8-83a79f2744.patch",
"@xmldom/xmldom": "0.7.7",
"cheerio": "1.0.0-rc.12",
"detox@20.23.0": "patch:detox@npm%3A20.23.0#./.yarn/patches/detox-npm-20.23.0-6d61110e63.patch",
"elliptic": "6.5.7",
"eslint-plugin-ft-flow": "2.0.3",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jest": "27.9.0",
"eslint-plugin-react": "7.34.1",
"eslint-plugin-react-hooks": "4.6.2",
"expo/uuid": "3.4.0",
"immer": "9.0.21",
"is-core-module": "2.13.0",
"jest": "29.7.0",
"json5": "2.2.2",
"lightweight-charts@4.1.1": "patch:lightweight-charts@npm%3A4.1.1#./.yarn/patches/lightweight-charts-npm-4.1.1-01f161d9b6.patch",
"metro": "0.81.1",
"metro-config": "0.81.1",
"metro-core": "0.81.1",
"metro-resolver": "0.81.1",
"moti": "0.27.2",
"multicodec": "3.0.1",
"multiformats@^9.4.2": "patch:multiformats@npm%3A9.4.2#./.yarn/patches/multiformats-npm-9.4.2-44b8a13c1d.patch",
"multihashes": "4.0.2",
"node-gyp": "10.0.1",
"qs": "6.11.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-native-context-menu-view@1.15.0": "patch:react-native-context-menu-view@npm%3A1.15.0#./.yarn/patches/react-native-context-menu-view-npm-1.15.0-c8a9d10d8c.patch",
"react-native-fast-image@8.6.3": "patch:react-native-fast-image@npm%3A8.6.3#./.yarn/patches/react-native-fast-image-npm-8.6.3-03ee2d23c0.patch",
"react-native-reanimated@3.16.7": "patch:react-native-reanimated@npm%3A3.16.7#./.yarn/patches/react-native-reanimated-npm-3.16.7-1e7cd6d376.patch",
"react-native-tab-view@3.5.2": "patch:react-native-tab-view@npm%3A3.5.2#./.yarn/patches/react-native-tab-view-npm-3.5.2-fb6cb6fe6f.patch",
"react-native-svg": "15.11.2",
"react-native-web": "0.19.13",
"react-refresh": "0.14.0",
"react-scripts@5.0.1": "patch:react-scripts@npm%3A5.0.1#./.yarn/patches/react-scripts-npm-5.0.1-d06bd2d5ad.patch",
"resolve": "1.22.4",
"semver": "7.5.2",
"typescript": "5.3.3",
"viem": "2.30.5",
"vite": "npm:rolldown-vite@6.3.18",
"webpack": "5.90.0",
"xml2js": "0.5.0",
"yaml": "2.2.2"
},
"scripts": {
"extension": "yarn workspace @uniswap/extension",
"g:build": "turbo run build --concurrency=100%",
"g:build:storybook": "turbo run storybook:build --force --concurrency=100%",
"g:check:deps:usage": " depcheck && turbo run check:deps:usage",
"g:check:deps:mismatch": "manypkg check",
"g:check:circular": "turbo run check:circular",
"g:format:deps": "syncpack format",
"g:format": "turbo run format --parallel",
"g:format:fix": "yarn g:format -- --write",
"g:format:changed": "./scripts/turbo-changed.sh format",
"g:fix": "yarn g:lint:fix && yarn g:format:fix",
"g:lint:changed": "./scripts/turbo-changed.sh lint",
"g:lint": "turbo run lint",
"g:lint:fix": "turbo run lint:fix",
"g:prepare": "turbo run prepare",
"g:rm:local-packages": "rm -rf ./node_modules/utilities ./node_modules/wallet ./node_modules/ui ./node_modules/uniswap",
"g:rm:nodemodules": "rm -rf node_modules",
"g:run-fast-checks": "turbo run typecheck lint build format --filter=\"[HEAD]\"",
"g:run-all-checks": "turbo run typecheck lint test build format check:circular",
"g:test:storybook:standalone": "turbo run storybook:test:standalone --force --concurrency=100%",
"g:test": "turbo run test",
"g:test:coverage": "turbo run test -- --collectCoverage=true",
"g:test:coverage:rest": "turbo run test --filter=ui --filter=uniswap --filter=utilities --filter=@uniswap/eslint-config -- --collectCoverage=true",
"g:test:coverage:web": "turbo test --filter=@uniswap/interface -- --coverage",
"g:test:coverage:web:set1": "turbo test:set1 --filter=@uniswap/interface -- --coverage",
"g:test:coverage:web:set2": "turbo test:set2 --filter=@uniswap/interface -- --coverage",
"g:test:coverage:web:set3": "turbo test:set3 --filter=@uniswap/interface -- --coverage",
"g:test:coverage:web:set4": "turbo test:set4 --filter=@uniswap/interface -- --coverage",
"g:test:coverage:extension": "turbo test --filter=@uniswap/extension -- --collectCoverage=true",
"g:test:coverage:mobile": "turbo test --filter=@uniswap/mobile -- --collectCoverage=true",
"g:test:coverage:wallet": "turbo test --filter=wallet -- --collectCoverage=true",
"g:snapshots": "turbo run snapshots",
"g:typecheck": "turbo run typecheck",
"g:typecheck:changed": "./scripts/turbo-changed.sh typecheck",
"graphql:schema": "turbo run graphql:schema",
"graphql:generate": "turbo run graphql:generate",
"i18n:extract": "i18next",
"i18n:_upload": "crowdin upload",
"i18n:upload": "dotenv -e .env.defaults -c -- yarn run i18n:_upload",
"i18n:_download": "crowdin download",
"i18n:download": "dotenv -e .env.defaults -c -- yarn run i18n:_download",
"lfg": "yarn g:prepare && yarn mobile env:local:download && yarn extension env:local:download && yarn g:build && yarn mobile pod && yarn mobile ios",
"mobile": "yarn workspace @uniswap/mobile",
"local:check": "./scripts/local-version-check.sh",
"postinstall": "husky install && yarn g:prepare",
"tradingapi:schema": "yarn workspace uniswap tradingapi:schema",
"tradingapi:generate": "yarn workspace uniswap tradingapi:generate",
"ui": "yarn workspace ui",
"upgrade:tamagui": "yarn up '*tamagui*' '@tamagui/*'",
"upgrade:tamagui:canary": "yarn up '*tamagui*'@canary '@tamagui/*'@canary",
"wallet": "yarn workspace wallet",
"web": "yarn workspace @uniswap/interface",
"uniswap": "yarn workspace uniswap",
"utilities": "yarn workspace utilities",
"knip": "knip",
"wallet:release:setup-cherry-pick-branches": "npx tsx ./scripts/wallet-releases/generate-cherry-pick-branches-for-release.ts",
"wallet:release:generate-cherry-pick-commit-command": "npx tsx ./scripts/wallet-releases/generate-cherry-pick-commit-command.ts"
},
"workspaces": [
"apps/*",
"packages/*",
"config/*"
]
}