forked from cowprotocol/cowswap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
241 lines (241 loc) · 9.14 KB
/
package.json
File metadata and controls
241 lines (241 loc) · 9.14 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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
{
"name": "@cowprotocol/cowswap",
"version": "1.34.0",
"description": "CoW Swap",
"main": "index.js",
"author": "",
"license": "ISC",
"scripts": {
"start": "craco start",
"build": "yarn i18n:compile && craco build && yarn writeVersion",
"test": "NODE_PATH=src/custom craco test --env=jsdom",
"start:ssl": "HTTPS=true yarn start",
"start:service-worker": "yarn build && yarn serve",
"mock": "REACT_APP_MOCK=true yarn start",
"build:analyze": "cross-env REACT_APP_ANALYZE_BUNDLE=true yarn build",
"ipfs:build": "cross-env PUBLIC_URL=\".\" yarn build",
"ipfs:publish": "ipfs-deploy build -p pinata -O",
"test:debug": "NODE_PATH=src/custom craco --inspect-brk test --runInBand --no-cache",
"eject": "react-scripts eject",
"integration-test": "start-server-and-test 'serve build -l 3000' http://localhost:3000 'cypress run'",
"serve": "serve build -l 3000",
"serve:ci": "serve website -l 3000",
"cypress": "cypress open",
"contracts:add:export": "node ./scripts/contracts_add_export.js",
"contracts:compile:abi": "typechain --target ethers-v5 --out-dir src/cow-react/abis/types './src/cow-react/abis/**/*.json'",
"contracts:compile:abi-ethflow": "typechain --target ethers-v5 --out-dir src/cow-react/abis/types/ethflow \"./node_modules/@cowprotocol/ethflowcontract/artifacts/CoWSwapEthFlow.sol/*.json\"",
"contracts:compile:abi-uniswap": "typechain --target ethers-v5 --out-dir src/abis/types \"./src/abis/**/*.json\"",
"contracts:compile:v3": "typechain --target ethers-v5 --out-dir src/types/v3 \"./node_modules/@uniswap/**/artifacts/contracts/**/*[!dbg].json\"",
"contracts:compile": "yarn contracts:compile:abi && yarn contracts:compile:abi-ethflow && yarn contracts:add:export && yarn contracts:compile:abi-uniswap && yarn contracts:compile:v3",
"prei18n:extract": "touch src/locales/en-US.po",
"optimize-bundle": "node ./scripts/fix-ethereumjs-bundle.js",
"patch-package": "patch-package",
"i18n:extract": "cross-env NODE_ENV=development lingui extract --locale en-US",
"i18n:compile": "yarn i18n:extract && lingui compile",
"i18n:pseudo": "lingui extract --locale pseudo && lingui compile",
"postinstall": "yarn contracts:compile && yarn i18n:compile && yarn patch-package",
"prepublishOnly": "yarn widgets:build",
"test:e2e": "start-server-and-test 'serve build -l 3000' http://localhost:3000 'cypress run --record'",
"cosmos:clear": "rm -rf ./public/cosmos",
"cosmos:run": "yarn cosmos:clear && cosmos",
"cosmos:export": "cross-env NODE_ENV=development cosmos-export",
"widgets:build": "rollup --config --failAfterWarnings --configPlugin typescript2",
"sitemap": "node src/custom/sitemap",
"writeVersion": "node src/custom/writeVersion"
},
"browser": {
"crypto": false
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"jest": {
"moduleNameMapper": {
"@cow/(.*)": "<rootDir>/src/cow-react/$1",
"@src/(.*)": "<rootDir>/src/$1"
},
"transformIgnorePatterns": [
"node_modules/(?!@ledgerhq/connect-kit-loader)"
]
},
"dependencies": {
"@amplitude/analytics-browser": "^1.10.2",
"@babel/runtime": "^7.17.0",
"@coinbase/wallet-sdk": "^3.9.0",
"@cowprotocol/app-data": "v0.1.0-alpha.0",
"@cowprotocol/contracts": "^1.3.1",
"@cowprotocol/cow-runner-game": "^0.2.9",
"@cowprotocol/cow-sdk": "^2.0.3",
"@cowprotocol/ethflowcontract": "cowprotocol/ethflowcontract.git#v1.0.0-artifacts",
"@davatar/react": "1.8.1",
"@fontsource/ibm-plex-mono": "^4.5.1",
"@fontsource/inter": "^4.5.1",
"@gnosis.pm/safe-apps-web3-react": "^1.5.0",
"@gnosis.pm/safe-service-client": "^1.2.0",
"@ledgerhq/connect-kit-loader": "^1.0.2",
"@lingui/cli": "^4.0.0",
"@lingui/core": "^3.15.0",
"@lingui/macro": "^3.15.0",
"@lingui/react": "^3.15.0",
"@metamask/jazzicon": "^2.0.0",
"@popperjs/core": "^2.4.4",
"@reach/dialog": "^0.18.0",
"@reach/menu-button": "^0.18.0",
"@reach/portal": "^0.18.0",
"@react-hook/window-scroll": "^1.3.0",
"@react-spring/web": "^9.6.1",
"@reduxjs/toolkit": "^1.8.0",
"@safe-global/safe-ethers-lib": "^1.7.0",
"@sentry/react": "^7.3.0",
"@sentry/tracing": "^7.50.0",
"@sentry/webpack-plugin": "^1.17.1",
"@uniswap/governance": "^1.0.2",
"@uniswap/liquidity-staker": "^1.0.2",
"@uniswap/merkle-distributor": "1.0.1",
"@uniswap/redux-multicall": "^1.1.5",
"@uniswap/router-sdk": "^1.0.6",
"@uniswap/sdk-core": "^3.0.1",
"@uniswap/smart-order-router": "^2.5.26",
"@uniswap/token-lists": "^1.0.0-beta.30",
"@uniswap/v2-core": "1.0.0",
"@uniswap/v2-periphery": "^1.1.0-beta.0",
"@uniswap/v2-sdk": "^3.0.1",
"@uniswap/v3-core": "1.0.0",
"@uniswap/v3-periphery": "^1.1.1",
"@uniswap/v3-sdk": "^3.9.0",
"@use-gesture/react": "^10.2.23",
"@web3-react/coinbase-wallet": "^8.1.2-beta.0",
"@web3-react/core": "^8.1.2-beta.0",
"@web3-react/eip1193": "^8.1.2-beta.0",
"@web3-react/empty": "^8.1.2-beta.0",
"@web3-react/gnosis-safe": "^8.1.2-beta.0",
"@web3-react/metamask": "^8.1.2-beta.0",
"@web3-react/network": "^8.1.2-beta.0",
"@web3-react/types": "^8.1.2-beta.0",
"@web3-react/url": "^8.1.2-beta.0",
"@web3-react/walletconnect": "^8.1.2-beta.0",
"@web3-react/walletconnect-v2": "^8.2.0",
"ajv": "^6.12.3",
"bnc-sdk": "^4.6.0",
"buffer": "^6.0.3",
"cids": "^1.0.0",
"copy-to-clipboard": "^3.2.0",
"cross-env": "^7.0.3",
"d3": "^7.8.1",
"date-fns": "^2.29.3",
"ethers": "^5.1.4",
"exponential-backoff": "^3.1.1",
"fast-safe-stringify": "^2.0.8",
"fortmatic": "^2.2.1",
"fraction.js": "^4.2.0",
"immer": "^9.0.6",
"inter-ui": "^3.19.3",
"ipfs-deploy": "^9.0.0",
"ipfs-http-client": "^52.0.3",
"jotai": "1.13.1",
"jsbi": "^3.1.4",
"launchdarkly-react-client-sdk": "^3.0.4",
"lightweight-charts": "^3.3.0",
"limiter": "^2.1.0",
"make-plural": "^7.0.0",
"ms.macro": "^2.0.0",
"multicodec": "^3.0.1",
"multihashes": "^4.0.2",
"node-vibrant": "^3.2.1-alpha.1",
"paraswap": "npm:@nenad91/paraswap#5.1.0",
"polished": "^3.3.2",
"polyfill-object.fromentries": "^1.0.1",
"popper-max-size-modifier": "^0.2.0",
"react": "^18.2.0",
"react-appzi": "^1.0.4",
"react-confetti": "^6.1.0",
"react-device-detect": "^2.2.3",
"react-dom": "^18.2.0",
"react-feather": "^2.0.8",
"react-ga4": "^1.4.1",
"react-helmet": "^6.1.0",
"react-inlinesvg": "^3.0.1",
"react-markdown": "^5.0.3",
"react-popper": "^2.2.3",
"react-redux": "^8.0.2",
"react-router-dom": "^6.6.2",
"react-router-hash-link": "^2.4.3",
"react-scripts": "5.0.1",
"react-virtualized-auto-sizer": "^1.0.2",
"react-window": "^1.8.5",
"rebass": "^4.0.7",
"redux": "^4.1.2",
"redux-localstorage-simple": "^2.3.1",
"setimmediate": "^1.0.5",
"simple-sitemap-renderer": "^1.1.0",
"styled-components": "^5.3.0",
"swr": "^1.0.1",
"text-encoding-polyfill": "^0.6.7",
"timeago.js": "^4.0.2",
"tiny-invariant": "^1.2.0",
"typescript": "^4.9.4",
"ua-parser-js": "^1.0.33",
"use-async-memo": "^1.2.4",
"use-count-up": "^2.2.5",
"use-resize-observer": "^8.0.0",
"wcag-contrast": "^3.0.0",
"web-vitals": "^2.1.4",
"workbox-core": "^6.1.0",
"workbox-navigation-preload": "^6.1.0",
"workbox-precaching": "^6.1.0",
"workbox-routing": "^6.1.0"
},
"devDependencies": {
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@craco/craco": "^7.0.0",
"@ethersproject/experimental": "^5.7.0",
"@simbathesailor/babel-plugin-use-what-changed": "^2.1.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^13.5.0",
"@typechain/ethers-v5": "^10.2.0",
"@types/d3": "^7.4.0",
"@types/jest": "^27.5.2",
"@types/ms.macro": "^2.0.0",
"@types/node": "^16.18.11",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.10",
"@types/react-helmet": "^6.1.6",
"@types/react-router-hash-link": "^2.4.5",
"@types/react-virtualized-auto-sizer": "^1.0.1",
"@types/react-window": "^1.8.5",
"@types/rebass": "^4.0.10",
"@types/styled-components": "^5.1.26",
"@types/ua-parser-js": "^0.7.36",
"@types/wcag-contrast": "^3.0.0",
"assert": "^2.0.0",
"craco-workbox": "^0.2.0",
"create-react-app": "^5.0.1",
"crypto-browserify": "^3.12.0",
"cypress": "^12.4.1",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-unused-imports": "^2.0.0",
"https-browserify": "^1.0.0",
"jest-fetch-mock": "^3.0.3",
"jest-styled-components": "^7.1.1",
"launchdarkly-js-client-sdk": "^3.1.2",
"patch-package": "^6.5.1",
"react-cosmos": "^5.7.2",
"stream": "^0.0.2",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"typechain": "^8.1.1",
"webpack-bundle-analyzer": "^4.7.0"
}
}