-
Notifications
You must be signed in to change notification settings - Fork 5k
/
package.json
153 lines (153 loc) · 7.91 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
{
"name": "universe",
"version": "0.0.0",
"dependencies": {
"@actions/core": "1.10.1",
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@crowdin/cli": "3.14.0",
"@ethersproject/keccak256": "5.7.0",
"@manypkg/cli": "^0.19.2",
"danger": "11.2.6",
"depcheck": "1.4.7",
"dotenv-cli": "^7.0.0",
"husky": "^8.0.3",
"i18next": "23.10.0",
"i18next-parser": "8.6.0",
"js-yaml": "4.1.0",
"moti": "0.29.0",
"prettier": "3.3.2",
"prettier-plugin-organize-imports": "3.2.4",
"syncpack": "^8.5.14",
"turbo": "1.10.16",
"turbo-ignore": "^1.11.3"
},
"engines": {
"node": "=18.12.1",
"yarn": ">=3.2.3",
"npm": "please-use-yarn"
},
"manypkg": {
"ignoredRules": [
"INTERNAL_MISMATCH"
]
},
"packageManager": "[email protected]",
"private": true,
"resolutionsComments": {
"immer": "this fixes yarn typecheck in mobile app, see https://github.com/reduxjs/redux-toolkit/issues/1806",
"[email protected]": "this fixes really bad performance issue when the pulse dot is enabled",
"@tanstack/[email protected]": "Fixes an issue with importing this package from packages/uniswap via apps/web. We can remove this once we move away from craco."
},
"resolutions": {
"elliptic": "6.5.7",
"cypress": "13.7.3",
"@babel/preset-env": "7.23.3",
"immer": "9.0.21",
"@uniswap/v2-sdk": "4.6.1",
"@uniswap/router-sdk": "1.14.3",
"@apollo/client": "3.10.4",
"@uniswap/sdk-core": "5.9.0",
"@react-navigation/routers": "6.1.9",
"@react-navigation/core": "6.2.2",
"@sideway/formula": "3.0.1",
"@walletconnect/ethereum-provider": "2.17.1",
"@xmldom/xmldom": "0.7.7",
"esbuild": "0.19.3",
"eslint-plugin-import": "2.27.5",
"multicodec": "3.0.1",
"multihashes": "4.0.2",
"@ethersproject/hash": "5.7.0",
"json5": "2.2.2",
"expo/uuid": "3.4.0",
"is-core-module": "2.13.0",
"qs": "6.11.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"[email protected]": "patch:react-native-fast-image@npm%3A8.6.3#./.yarn/patches/react-native-fast-image-npm-8.6.3-03ee2d23c0.patch",
"react-native-svg": "15.1.0",
"react-refresh": "^0.14.0",
"resolve": "1.22.4",
"semver": "7.5.2",
"@sentry/node": "7.45.0",
"@sentry/types": "7.45.0",
"@sentry/tracing": "7.45.0",
"xml2js": "0.5.0",
"moti": "0.27.2",
"yaml": "2.2.2",
"multiformats@^9.4.2": "patch:multiformats@npm%3A9.4.2#./.yarn/patches/multiformats-npm-9.4.2-44b8a13c1d.patch",
"@vercel/[email protected]": "patch:@vercel/og@npm%3A0.5.8#./.yarn/patches/@vercel-og-npm-0.5.8-83a79f2744.patch",
"@web3-react/[email protected]": "patch:@web3-react/coinbase-wallet@npm%3A8.2.3#./.yarn/patches/@web3-react-coinbase-wallet-npm-8.2.3-9c7073f079.patch",
"@web3-react/[email protected]": "patch:@web3-react/gnosis-safe@npm%3A8.2.4#./.yarn/patches/@web3-react-gnosis-safe-npm-8.2.4-a7e2850335.patch",
"@web3-react/[email protected]": "patch:@web3-react/metamask@npm%3A8.2.4#./.yarn/patches/@web3-react-metamask-npm-8.2.4-84b10de2d2.patch",
"@web3-react/[email protected]": "patch:@web3-react/walletconnect-v2@npm%3A8.5.1#./.yarn/patches/@web3-react-walletconnect-v2-npm-8.5.1-933cac0534.patch",
"[email protected]": "patch:lightweight-charts@npm%3A4.1.1#./.yarn/patches/lightweight-charts-npm-4.1.1-01f161d9b6.patch",
"[email protected]": "patch:expo-local-authentication@npm%3A13.8.0#./.yarn/patches/expo-local-authentication-npm-13.8.0-3a1b5c983f.patch",
"@tamagui/[email protected]": "patch:@tamagui/animations-moti@npm%3A1.92.0#./.yarn/patches/@tamagui-animations-moti-npm-1.92.0-a8dde990ec.patch",
"[email protected]": "patch:cypress-hardhat@npm%3A2.5.0#./.yarn/patches/cypress-hardhat-npm-2.5.0-9b9b7d7a28.patch",
"[email protected]": "patch:react-native-wagmi-charts@npm%3A2.5.1#./.yarn/patches/react-native-wagmi-charts-npm-2.5.1-c9e2637be7.patch",
"[email protected]": "patch:react-native-context-menu-view@npm%3A1.15.0#./.yarn/patches/react-native-context-menu-view-npm-1.15.0-c8a9d10d8c.patch",
"[email protected]": "patch:detox@npm%3A20.23.0#./.yarn/patches/detox-npm-20.23.0-6d61110e63.patch",
"@tanstack/[email protected]": "patch:@tanstack/react-query@npm%3A5.51.16#./.yarn/patches/@tanstack-react-query-npm-5.51.16-8fa6414eca.patch",
"[email protected]": "patch:expo-screen-capture@npm%3A5.8.1#./.yarn/patches/expo-screen-capture-npm-5.8.1-78e5827fdf.patch"
},
"scripts": {
"extension": "yarn workspace @uniswap/extension",
"g:build": "turbo run build --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": "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 -- --collectCoverage=true",
"g:test:coverage:web:set1": "turbo test:set1 --filter=@uniswap/interface -- --collectCoverage=true",
"g:test:coverage:web:set2": "turbo test:set2 --filter=@uniswap/interface -- --collectCoverage=true",
"g:test:coverage:web:set3": "turbo test:set3 --filter=@uniswap/interface -- --collectCoverage=true",
"g:test:coverage:web:set4": "turbo test:set4 --filter=@uniswap/interface -- --collectCoverage=true",
"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"
},
"workspaces": [
"apps/*",
"packages/*",
"config/*"
]
}