|
17 | 17 | "lint:fix": "eslint . --ext ts,.tsx --fix", |
18 | 18 | "test": "NODE_ENV=test jest", |
19 | 19 | "test:unit": "yarn test", |
20 | | - "test:synpress:run": "env-cmd -f .env.local synpress run", |
21 | | - "test:synpress:open": "env-cmd -f .env.local synpress open", |
22 | | - "test:e2e": "start-server-and-test 'yarn build && yarn start' http-get://localhost:3000 'synpress run'", |
23 | | - "test:e2e:ci": "synpress run --group smoke-tests --record --parallel", |
24 | 20 | "upgrade-synthetix": "yarn up $(./scripts/resolve-synthetix-versions.js latest) --exact", |
25 | 21 | "upgrade-synthetix:dev": "yarn up $(./scripts/resolve-synthetix-versions.js dev) --exact", |
26 | | - "upgrade-browsers": "yarn up caniuse-lite --recursive" |
| 22 | + "upgrade-browsers": "yarn up caniuse-lite --recursive", |
| 23 | + "deps": "depcheck --config=.depcheckrc.json" |
27 | 24 | }, |
28 | 25 | "dependencies": { |
29 | 26 | "@artsy/fresnel": "^1.8.0", |
30 | 27 | "@reach/dialog": "^0.15.3", |
31 | 28 | "@socket.tech/widget": "^0.0.9", |
32 | | - "@synthetixio/assets": "^2.0.13", |
33 | 29 | "@synthetixio/contracts-interface": "^2.74.3", |
34 | 30 | "@synthetixio/optimism-networks": "^2.74.2", |
35 | 31 | "@synthetixio/providers": "^2.74.5", |
36 | 32 | "@synthetixio/queries": "^2.74.8", |
37 | 33 | "@synthetixio/transaction-notifier": "^2.74.6", |
38 | 34 | "@synthetixio/wei": "^2.74.2", |
39 | 35 | "@tippyjs/react": "^4.1.0", |
40 | | - "@uniswap/router-sdk": "^1.0.5", |
41 | | - "@uniswap/sdk-core": "^3.0.1", |
42 | | - "@uniswap/smart-order-router": "^2.5.13", |
| 36 | + "@uniswap/sdk-core": "^3.0.0", |
| 37 | + "@uniswap/v3-core": "^1.0.0", |
| 38 | + "@uniswap/v3-periphery": "^1.0.0", |
43 | 39 | "@uniswap/v3-sdk": "^3.6.3", |
44 | 40 | "@web3-onboard/coinbase": "^2.0.9", |
45 | 41 | "@web3-onboard/core": "^2.5.0", |
|
48 | 44 | "@web3-onboard/ledger": "^2.1.6", |
49 | 45 | "@web3-onboard/portis": "^2.0.6", |
50 | 46 | "@web3-onboard/torus": "^2.0.7", |
51 | | - "@web3-onboard/trezor": "^2.1.6", |
52 | 47 | "@web3-onboard/walletconnect": "^2.0.7", |
53 | 48 | "axios": "^0.21.1", |
54 | | - "bignumber.js": "^9.0.0", |
55 | 49 | "color": "^3.1.3", |
56 | 50 | "date-fns": "^2.15.0", |
57 | 51 | "ethers": "^5.5.3", |
58 | | - "graphql": "^15.5.0", |
59 | 52 | "i18next": "^19.7.0", |
60 | 53 | "lodash": "^4.17.20", |
61 | 54 | "next": "^12.2.2", |
|
79 | 72 | "remarkable": "^2.0.1", |
80 | 73 | "styled-components": "^5.3.5", |
81 | 74 | "styled-media-query": "^2.1.2", |
| 75 | + "synthetix": "^2.0.0", |
| 76 | + "tippy.js": "^6.3.1", |
82 | 77 | "unstated-next": "^1.1.0" |
83 | 78 | }, |
84 | 79 | "devDependencies": { |
85 | 80 | "@metamask/providers": "^8.1.1", |
86 | 81 | "@microsoft/eslint-formatter-sarif": "^3.0.0", |
87 | 82 | "@next/bundle-analyzer": "^10.2.3", |
88 | 83 | "@svgr/webpack": "^6.2.1", |
89 | | - "@synthetixio/synpress": "^1.1.1", |
90 | 84 | "@testing-library/jest-dom": "^5.16.4", |
91 | 85 | "@testing-library/react": "^12.1.5", |
92 | | - "@testing-library/react-hooks": "^8.0.1", |
93 | 86 | "@testing-library/user-event": "^14.2.1", |
94 | 87 | "@types/color": "^3.0.1", |
95 | 88 | "@types/date-fns": "^2.6.0", |
96 | | - "@types/jest": "^28.1.4", |
97 | 89 | "@types/lodash": "^4.14.159", |
98 | 90 | "@types/node": "^14.0.13", |
99 | 91 | "@types/react": "^17.0.2", |
|
110 | 102 | "@types/styled-components": "^5.1.2", |
111 | 103 | "@typescript-eslint/eslint-plugin": "^5.28.0", |
112 | 104 | "@typescript-eslint/parser": "^5.28.0", |
113 | | - "browserslist": "^4.20.4", |
114 | | - "caniuse-lite": "^1.0.30001364", |
115 | | - "csvtojson": "^2.0.10", |
116 | | - "env-cmd": "^10.1.0", |
| 105 | + "depcheck": "^1.4.3", |
117 | 106 | "eslint": "^8.22.0", |
118 | 107 | "eslint-plugin-import": "^2.23.2", |
119 | 108 | "eslint-plugin-react": "^7.30.1", |
120 | 109 | "eslint-plugin-react-hooks": "^4.6.0", |
121 | 110 | "ethereum-blockies-base64": "^1.0.2", |
122 | | - "file-loader": "^6.2.0", |
123 | | - "graph-results-pager": "^1.0.3", |
124 | 111 | "husky": "^8.0.1", |
125 | 112 | "jest": "^28.1.2", |
126 | | - "jest-environment-jsdom": "^28.1.2", |
| 113 | + "jest-environment-jsdom": "^28.1.3", |
127 | 114 | "lint-staged": "^13.0.2", |
128 | 115 | "prettier": "^2.7.1", |
129 | | - "react-test-renderer": "^17.0.2", |
130 | 116 | "remarkable-external-link": "^1.1.0", |
131 | | - "typescript": "^4.7.4", |
132 | | - "url-loader": "^4.1.1" |
| 117 | + "typescript": "^4.7.4" |
133 | 118 | }, |
134 | 119 | "resolutions": { |
135 | | - "eslint-plugin-prettier": "^4.0.0", |
| 120 | + "synthetix": "^2.0.0", |
| 121 | + "@uniswap/sdk-core": "^3.0.0", |
| 122 | + "@uniswap/v3-core": "^1.0.0", |
| 123 | + "@uniswap/v3-periphery": "^1.0.0", |
136 | 124 | "ethers": "^5.6.4", |
137 | 125 | "sharp": "0.29.3", |
138 | 126 | "browserslist": "^4.20.4", |
|
0 commit comments