-
Notifications
You must be signed in to change notification settings - Fork 58
/
package.json
203 lines (203 loc) · 9.08 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
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
{
"name": "@swapr/frontend",
"version": "1.0.0-beta.23.0",
"private": true,
"description": "DXswap Decentralized Application",
"license": "GPL-3.0-or-later",
"scripts": {
"start": "yarn codegen:socket && yarn codegen:graphql && react-app-rewired start",
"build": "git config --global --add safe.directory /workspace && yarn codegen:wallet-connect-domain-verification && cross-env GENERATE_SOURCEMAP=false react-app-rewired build",
"build:simple": "git config --global --add safe.directory /workspace && cross-env GENERATE_SOURCEMAP=false react-app-rewired build",
"build:serve": "yarn build && serve -s ./build -l 5001",
"ipfs-build": "cross-env PUBLIC_URL=\".\" GENERATE_SOURCEMAP=false react-app-rewired build",
"lint": "eslint src --ext js,jsx,ts,tsx",
"lint:fix": "eslint src --ext js,jsx,ts,tsx --fix",
"typecheck": "tsc --noEmit",
"cypress:ci": "cross-env start-server-and-test 'react-app-rewired start' http-get://localhost:3000",
"cypress:run": "cross-env cypress run -r mochawesome -s 'tests/cypress/integration/smoke/*'",
"integration-test": "start-server-and-test 'serve build -l 3000' http://localhost:3000 'cypress run'",
"synpress:ct": "cross-env start-server-and-test 'react-app-rewired start' http-get://localhost:3000 'yarn synpress:run $TEST_PARAMS'",
"synpress:open": "cross-env MOCHAWESOME_HTML='false' MOCHAWESOME_OVERWRITE='false' NETWORK_NAME='rinkeby' CYPRESS_SKIP_RESOURCES_WAIT='false' FAIL_ON_ERROR='0' ETHERSCAN_KEY='25VF97IQZ8EFIYSYFI72UCTJJII3HSZU7Z' synpress open --configFile tests/synpress/synpress.config.ts",
"synpress:run": "cross-env MOCHAWESOME_HTML='false' MOCHAWESOME_OVERWRITE='false' NETWORK_NAME='rinkeby' CYPRESS_SKIP_RESOURCES_WAIT='false' FAIL_ON_ERROR='0' ETHERSCAN_KEY='25VF97IQZ8EFIYSYFI72UCTJJII3HSZU7Z' synpress run --configFile tests/synpress/synpress.config.ts -r mochawesome --reporterOptions 'overwrite=false, html=false, json=true'",
"synpress:init": "yarn synpress:run --configFile tests/synpress/synpress.config.ts -s tests/synpress/specs/Initialize.ts",
"synpress:init:ci": "cross-env start-server-and-test 'react-app-rewired start' http-get://localhost:3000 'yarn synpress:init'",
"codegen:socket": "TARGET=src/services/EcoBridge/Socket/api/generated && openapi-generator-cli generate --skip-validate-spec -i ./src/services/EcoBridge/Socket/api/swagger.json -g typescript-fetch -o \"$TARGET\" --additional-properties=typescriptThreePlus=true",
"codegen:fathom:dev": "./node_modules/.bin/ts-node --project ./bin/tsconfig.json ./bin/fathom-generate-events/index.ts --out ./src/analytics/generated/dev",
"codegen:fathom:prod": "./node_modules/.bin/ts-node --project ./bin/tsconfig.json ./bin/fathom-generate-events/index.ts --out ./src/analytics/generated/prod",
"codegen:cow-limit-order-app-data": "./node_modules/.bin/ts-node --project ./bin/tsconfig.json ./bin/generate-cow-limit-order-app-data/index.ts ",
"report:merge": "mochawesome-merge mochawesome-report/*.json > index.json --charts true",
"report:generate": "marge index.json --reportDir public-report --assetsDir public-report/assets --reportPageTitle index.html",
"test": "react-scripts test --env=jsdom",
"prepare": "husky install",
"storybook": "storybook dev -p 6006 -s public",
"build-storybook": "storybook build -s public",
"chromatic": "chromatic --exit-zero-on-changes",
"codegen:graphql": "graphql-codegen --config graphql-codegen.yml",
"codegen:wallet-connect-domain-verification": "./node_modules/.bin/ts-node --project ./bin/tsconfig.json ./bin/generate-wallet-connect-key/index.ts "
},
"dependencies": {
"@apollo/client": "^3.7.5",
"@arbitrum/sdk": "3.0.0-beta.12",
"@coinbase/wallet-sdk": "3.7.1",
"@lifi/sdk": "1.7.2",
"@lifi/types": "2.1.1",
"@popperjs/core": "^2.11.6",
"@reach/dialog": "^0.18.0",
"@reach/portal": "^0.17.0",
"@react-spring/web": "^9.7.1",
"@rebass/forms": "^4.0.6",
"@reduxjs/toolkit": "^1.9.5",
"@swapr/core": "^0.3.19",
"@swapr/periphery": "^0.3.22",
"@swapr/sdk": "1.12.0",
"@tanstack/react-query": "4.24.6",
"@uniswap/token-lists": "^1.0.0-beta.27",
"@uniswap/v3-periphery": "1.4.1",
"@web3-react/coinbase-wallet": "8.2.2",
"@web3-react/core": "8.2.2",
"@web3-react/metamask": "8.2.3",
"@web3-react/network": "8.2.2",
"@web3-react/walletconnect-v2": "8.5.0",
"ajv": "^8.12.0",
"ajv-formats": "^2.1.1",
"aos": "^2.3.4",
"boring-avatars": "^1.7.0",
"cids": "^1.1.9",
"copy-to-clipboard": "^3.3.3",
"cypress-ethereum-provider": "^0.1.7",
"date-fns": "^2.29.3",
"debug": "^4.3.4",
"decimal.js-light": "^2.5.1",
"ethers": "^5.4.4",
"etherscan-api": "10.3.0",
"git-revision-webpack-plugin": "^5.0.0",
"graphql": "16.6.0",
"graphql-request": "^5.2.0",
"i18next": "^22.4.14",
"i18next-browser-languagedetector": "^7.0.1",
"i18next-http-backend": "^2.2.0",
"lightweight-charts": "^4.0.1",
"luxon": "^3.2.1",
"multicodec": "^3.2.1",
"multiformats": "^11.0.2",
"multihashes": "^4.0.3",
"node-vibrant": "^3.2.1-alpha.1",
"numeral": "^2.0.6",
"polished": "^4.2.2",
"rc-pagination": "^3.2.0",
"rc-texty": "^0.2.0",
"react": "^18.2.0",
"react-app-rewired": "^2.2.1",
"react-datepicker": "^4.8.0",
"react-device-detect": "^2.2.2",
"react-dom": "^18.2.0",
"react-fast-marquee": "1.3.5",
"react-feather": "^2.0.10",
"react-helmet": "^6.1.0",
"react-i18next": "^11.18.3",
"react-infinite-scroll-component": "^6.1.0",
"react-loading-skeleton": "3.1.0",
"react-popper": "^2.2.5",
"react-redux": "^8.0.2",
"react-router-dom": "^6.4.1",
"react-toastify": "9.1.2",
"react-use": "^17.4.0",
"react-virtualized-auto-sizer": "1.0.6",
"react-window": "^1.8.5",
"rebass": "^4.0.7",
"redux-localstorage-simple": "^2.5.1",
"start-server-and-test": "^2.0.0",
"styled-components": "5.3.6",
"toformat": "^2.0.0",
"wcag-contrast": "^3.0.0"
},
"devDependencies": {
"@connext/nxtp-sdk": "^0.1.36",
"@graphql-codegen/cli": "3.3.0",
"@graphql-codegen/introspection": "3.0.1",
"@graphql-codegen/typescript": "3.0.3",
"@graphql-codegen/typescript-operations": "^3.0.3",
"@graphql-codegen/typescript-react-apollo": "^3.3.7",
"@openapitools/openapi-generator-cli": "^2.5.1",
"@react-theming/storybook-addon": "1.1.10",
"@simbathesailor/use-what-changed": "^2.0.0",
"@storybook/addon-actions": "7.0.22",
"@storybook/addon-docs": "7.0.22",
"@storybook/addon-essentials": "7.0.22",
"@storybook/addon-interactions": "7.0.22",
"@storybook/addon-links": "7.0.22",
"@storybook/node-logger": "7.0.22",
"@storybook/preset-create-react-app": "7.0.22",
"@storybook/react": "7.0.22",
"@storybook/react-webpack5": "7.0.22",
"@storybook/testing-library": "0.1.0",
"@synthetixio/synpress": "^2.3.3",
"@testing-library/cypress": "^9.0.0",
"@types/aos": "^3.0.4",
"@types/debug": "^4.1.7",
"@types/jest": "29.5.0",
"@types/luxon": "^3.2.0",
"@types/multicodec": "^2.1.0",
"@types/node": "^18.11.18",
"@types/numeral": "^2.0.2",
"@types/react": "^18.0.27",
"@types/react-datepicker": "^4.8.0",
"@types/react-dom": "^18.0.10",
"@types/react-helmet": "6.1.6",
"@types/react-router-dom": "^5.3.3",
"@types/react-virtualized-auto-sizer": "^1.0.1",
"@types/react-window": "^1.8.5",
"@types/rebass": "^4.0.10",
"@types/rebass__forms": "^4.0.6",
"@types/styled-components": "^5.1.26",
"@types/testing-library__cypress": "^5.0.9",
"@types/wcag-contrast": "^3.0.0",
"@types/webpack-env": "1.18.0",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@typescript-eslint/parser": "^5.49.0",
"assert": "^2.0.0",
"browserslist": "^4.21.4",
"buffer": "^6.0.3",
"chromatic": "^6.17.2",
"cross-env": "^7.0.3",
"crypto-browserify": "^3.12.0",
"cypress": "12.9.0",
"cypress-localstorage-commands": "2.2.3",
"cypress-mochawesome-reporter": "3.3.0",
"eslint": "^8.37.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "0.6.11",
"https-browserify": "^1.0.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.1",
"mochawesome": "^7.1.3",
"mochawesome-merge": "^4.2.2",
"mochawesome-report-generator": "^6.2.0",
"net": "^1.0.2",
"node-fetch": "^2.6.8",
"os-browserify": "^0.3.0",
"path-browserify": "^1.0.1",
"prettier": "^2.8.3",
"react-error-overlay": "6.0.11",
"react-scripts": "5.0.1",
"serve": "^14.2.0",
"storybook": "7.0.2",
"storybook-react-i18next": "2.0.1",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"svg-inline-loader": "^0.8.2",
"svg-react-loader": "^0.4.6",
"svg-url-loader": "^8.0.0",
"tls": "^0.0.1",
"ts-node": "10.9.1",
"typescript": "^4.8.4",
"url": "^0.11.0",
"webpack-bundle-analyzer": "^4.8.0",
"yargs": "^17.7.1"
}
}