2017-10-28 10:55:27 +03:00
|
|
|
{
|
2020-05-21 06:31:05 +03:00
|
|
|
"name": "@uniswap/interface",
|
2020-05-21 00:10:26 +03:00
|
|
|
"description": "Uniswap Interface",
|
2021-09-30 02:55:31 +03:00
|
|
|
"homepage": ".",
|
2017-10-28 10:55:27 +03:00
|
|
|
"private": true,
|
2020-05-21 22:47:52 +03:00
|
|
|
"devDependencies": {
|
2021-09-28 19:17:09 +03:00
|
|
|
"@davatar/react": "1.6.2",
|
2021-07-30 01:46:35 +03:00
|
|
|
"@ethersproject/experimental": "^5.4.0",
|
2021-07-23 20:04:18 +03:00
|
|
|
"@gnosis.pm/safe-apps-web3-react": "^0.6.0",
|
2021-06-29 02:43:24 +03:00
|
|
|
"@graphql-codegen/cli": "1.21.5",
|
|
|
|
"@graphql-codegen/typescript": "1.22.3",
|
|
|
|
"@graphql-codegen/typescript-operations": "^1.18.2",
|
|
|
|
"@graphql-codegen/typescript-rtk-query": "^1.1.1",
|
2021-05-26 23:34:52 +03:00
|
|
|
"@lingui/cli": "^3.9.0",
|
|
|
|
"@lingui/macro": "^3.9.0",
|
|
|
|
"@lingui/react": "^3.9.0",
|
2020-07-07 04:26:38 +03:00
|
|
|
"@popperjs/core": "^2.4.4",
|
2020-05-25 08:39:30 +03:00
|
|
|
"@reach/dialog": "^0.10.3",
|
|
|
|
"@reach/portal": "^0.10.3",
|
2021-05-12 20:19:43 +03:00
|
|
|
"@react-hook/window-scroll": "^1.3.0",
|
2021-07-22 01:08:35 +03:00
|
|
|
"@reduxjs/toolkit": "^1.6.1",
|
2021-07-26 20:41:08 +03:00
|
|
|
"@testing-library/jest-dom": "^5.14.1",
|
|
|
|
"@testing-library/react": "^12.0.0",
|
2021-09-16 17:50:58 +03:00
|
|
|
"@testing-library/react-hooks": "^7.0.2",
|
2021-05-12 00:43:08 +03:00
|
|
|
"@typechain/ethers-v5": "^7.0.0",
|
2021-09-15 21:03:12 +03:00
|
|
|
"@types/array.prototype.flat": "^1.2.1",
|
|
|
|
"@types/array.prototype.flatmap": "^1.2.2",
|
2021-07-08 02:39:44 +03:00
|
|
|
"@types/d3": "^6.7.1",
|
2020-05-21 22:47:52 +03:00
|
|
|
"@types/jest": "^25.2.1",
|
2021-05-26 23:34:52 +03:00
|
|
|
"@types/lingui__core": "^2.7.1",
|
|
|
|
"@types/lingui__macro": "^2.7.4",
|
|
|
|
"@types/lingui__react": "^2.8.3",
|
2020-09-24 19:18:57 +03:00
|
|
|
"@types/luxon": "^1.24.4",
|
2021-07-01 21:08:53 +03:00
|
|
|
"@types/ms.macro": "^2.0.0",
|
feat(lists): allow selecting and adding token lists (#1023)
* more list stuff
Use the selected list instead of the default list, but also use the default list
start list selection code
* move token warning to a modal, fix the install issue
* add/remove/enter key
* handle enter on currency select for ETHER
* change slippage tolerance to be a slider
* make ui closer to the mocks
* commit slider changes
* back to tabs
* copy changes
* bump list version
* some styling for the list select
* bump uniswap default list version
* use contract calls to get ens names and addresses
* show list logo
* fix failing integration test
* .eth.link
* list introduction screen
* remove showSendWithSwap
* fix integration and unit tests
* resolve ENS names
* logos from ens
* fix the lint errors
* some refactoring to better support using a the library provider from the user for resolving ENS names
* load list info from the list url for the introduction page
* make it slightly harder to remove a list
* minor clean up, some help text and links
* remove icon from list update popup
* show added/removed tokens
* add GA everywhere, don't debounce contenthash lookups
* show tags
* fix tag key
* tag display, list rendering, needs optimization
* fix list fetching in firefox, style issue in safari
* sort the lists, clean up styling
* use client provider when possible
* show token warning for url loaded tokens
* improve the warning modal
* some refactoring to fix the list fetching on networks other than mainnet
* fix tests
* some minor improvements
* increase timeout to maybe fix integration tests which pass locally
* build for tests using the dev network url
* reset the lists if we deleted the other two copies
* improve how we handle updating the default list of lists
* fix integration test
* Update token list selection styles
* fix external links, reuse the on click outside code, show add errors
* show the list origin instead of the full url
* fix update list link
* show host instead of hostname
do not automatically dismiss major version upgrades for lists
* fix link to tokenlists.org
* add uma
* clean up styling in list rows
* bump token list version
* bump token list version again
* hover symbol to see currency name
* bump version
* add cmc lists, dharma list
Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com>
2020-08-26 16:46:21 +03:00
|
|
|
"@types/multicodec": "^1.0.0",
|
2020-05-21 22:47:52 +03:00
|
|
|
"@types/node": "^13.13.5",
|
|
|
|
"@types/qs": "^6.9.2",
|
2021-02-13 23:05:09 +03:00
|
|
|
"@types/react": "^17.0.2",
|
|
|
|
"@types/react-dom": "^17.0.1",
|
|
|
|
"@types/react-redux": "^7.1.16",
|
2020-05-21 22:47:52 +03:00
|
|
|
"@types/react-router-dom": "^5.0.0",
|
feat(lists): allow selecting and adding token lists (#1023)
* more list stuff
Use the selected list instead of the default list, but also use the default list
start list selection code
* move token warning to a modal, fix the install issue
* add/remove/enter key
* handle enter on currency select for ETHER
* change slippage tolerance to be a slider
* make ui closer to the mocks
* commit slider changes
* back to tabs
* copy changes
* bump list version
* some styling for the list select
* bump uniswap default list version
* use contract calls to get ens names and addresses
* show list logo
* fix failing integration test
* .eth.link
* list introduction screen
* remove showSendWithSwap
* fix integration and unit tests
* resolve ENS names
* logos from ens
* fix the lint errors
* some refactoring to better support using a the library provider from the user for resolving ENS names
* load list info from the list url for the introduction page
* make it slightly harder to remove a list
* minor clean up, some help text and links
* remove icon from list update popup
* show added/removed tokens
* add GA everywhere, don't debounce contenthash lookups
* show tags
* fix tag key
* tag display, list rendering, needs optimization
* fix list fetching in firefox, style issue in safari
* sort the lists, clean up styling
* use client provider when possible
* show token warning for url loaded tokens
* improve the warning modal
* some refactoring to fix the list fetching on networks other than mainnet
* fix tests
* some minor improvements
* increase timeout to maybe fix integration tests which pass locally
* build for tests using the dev network url
* reset the lists if we deleted the other two copies
* improve how we handle updating the default list of lists
* fix integration test
* Update token list selection styles
* fix external links, reuse the on click outside code, show add errors
* show the list origin instead of the full url
* fix update list link
* show host instead of hostname
do not automatically dismiss major version upgrades for lists
* fix link to tokenlists.org
* add uma
* clean up styling in list rows
* bump token list version
* bump token list version again
* hover symbol to see currency name
* bump version
* add cmc lists, dharma list
Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com>
2020-08-26 16:46:21 +03:00
|
|
|
"@types/react-virtualized-auto-sizer": "^1.0.0",
|
2020-05-23 19:06:16 +03:00
|
|
|
"@types/react-window": "^1.8.2",
|
2021-02-17 01:33:55 +03:00
|
|
|
"@types/rebass": "^4.0.7",
|
2020-07-20 14:48:42 +03:00
|
|
|
"@types/styled-components": "^5.1.0",
|
2020-05-21 22:47:52 +03:00
|
|
|
"@types/testing-library__cypress": "^5.0.5",
|
2021-05-11 19:09:01 +03:00
|
|
|
"@types/ua-parser-js": "^0.7.35",
|
2020-09-24 19:18:57 +03:00
|
|
|
"@types/wcag-contrast": "^3.0.0",
|
2021-04-14 17:12:35 +03:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.1.0",
|
|
|
|
"@typescript-eslint/parser": "^4.1.0",
|
2021-03-30 10:51:37 +03:00
|
|
|
"@uniswap/default-token-list": "^2.0.0",
|
2020-09-24 19:18:57 +03:00
|
|
|
"@uniswap/governance": "^1.0.2",
|
|
|
|
"@uniswap/liquidity-staker": "^1.0.2",
|
|
|
|
"@uniswap/merkle-distributor": "1.0.1",
|
2021-08-05 21:43:02 +03:00
|
|
|
"@uniswap/sdk-core": "^3.0.1",
|
2021-09-23 01:32:47 +03:00
|
|
|
"@uniswap/token-lists": "^1.0.0-beta.26",
|
2020-05-05 23:36:22 +03:00
|
|
|
"@uniswap/v2-core": "1.0.0",
|
2020-06-06 01:40:02 +03:00
|
|
|
"@uniswap/v2-periphery": "^1.1.0-beta.0",
|
2021-05-21 17:34:46 +03:00
|
|
|
"@uniswap/v2-sdk": "^3.0.0-alpha.2",
|
2021-05-04 20:23:00 +03:00
|
|
|
"@uniswap/v3-core": "1.0.0",
|
2021-07-02 20:25:37 +03:00
|
|
|
"@uniswap/v3-periphery": "^1.1.1",
|
2021-09-09 23:40:37 +03:00
|
|
|
"@uniswap/v3-sdk": "^3.4.1",
|
2020-05-08 02:53:08 +03:00
|
|
|
"@web3-react/core": "^6.0.9",
|
|
|
|
"@web3-react/fortmatic-connector": "^6.0.9",
|
|
|
|
"@web3-react/injected-connector": "^6.0.7",
|
|
|
|
"@web3-react/portis-connector": "^6.0.9",
|
2021-08-13 18:01:56 +03:00
|
|
|
"@web3-react/walletconnect-connector": "^7.0.2-alpha.0",
|
2021-07-20 00:52:11 +03:00
|
|
|
"@web3-react/walletlink-connector": "^6.2.3",
|
2020-07-25 18:41:03 +03:00
|
|
|
"ajv": "^6.12.3",
|
2021-09-15 21:03:12 +03:00
|
|
|
"array.prototype.flat": "^1.2.4",
|
|
|
|
"array.prototype.flatmap": "^1.2.4",
|
feat(lists): allow selecting and adding token lists (#1023)
* more list stuff
Use the selected list instead of the default list, but also use the default list
start list selection code
* move token warning to a modal, fix the install issue
* add/remove/enter key
* handle enter on currency select for ETHER
* change slippage tolerance to be a slider
* make ui closer to the mocks
* commit slider changes
* back to tabs
* copy changes
* bump list version
* some styling for the list select
* bump uniswap default list version
* use contract calls to get ens names and addresses
* show list logo
* fix failing integration test
* .eth.link
* list introduction screen
* remove showSendWithSwap
* fix integration and unit tests
* resolve ENS names
* logos from ens
* fix the lint errors
* some refactoring to better support using a the library provider from the user for resolving ENS names
* load list info from the list url for the introduction page
* make it slightly harder to remove a list
* minor clean up, some help text and links
* remove icon from list update popup
* show added/removed tokens
* add GA everywhere, don't debounce contenthash lookups
* show tags
* fix tag key
* tag display, list rendering, needs optimization
* fix list fetching in firefox, style issue in safari
* sort the lists, clean up styling
* use client provider when possible
* show token warning for url loaded tokens
* improve the warning modal
* some refactoring to fix the list fetching on networks other than mainnet
* fix tests
* some minor improvements
* increase timeout to maybe fix integration tests which pass locally
* build for tests using the dev network url
* reset the lists if we deleted the other two copies
* improve how we handle updating the default list of lists
* fix integration test
* Update token list selection styles
* fix external links, reuse the on click outside code, show add errors
* show the list origin instead of the full url
* fix update list link
* show host instead of hostname
do not automatically dismiss major version upgrades for lists
* fix link to tokenlists.org
* add uma
* clean up styling in list rows
* bump token list version
* bump token list version again
* hover symbol to see currency name
* bump version
* add cmc lists, dharma list
Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com>
2020-08-26 16:46:21 +03:00
|
|
|
"cids": "^1.0.0",
|
2019-05-30 23:42:25 +03:00
|
|
|
"copy-to-clipboard": "^3.2.0",
|
2021-07-13 22:54:49 +03:00
|
|
|
"cypress": "^7.7.0",
|
2021-07-08 02:39:44 +03:00
|
|
|
"d3": "^7.0.0",
|
2021-02-13 23:05:09 +03:00
|
|
|
"eslint": "^7.11.0",
|
2020-05-21 22:47:52 +03:00
|
|
|
"eslint-config-prettier": "^6.11.0",
|
|
|
|
"eslint-plugin-prettier": "^3.1.3",
|
|
|
|
"eslint-plugin-react": "^7.19.0",
|
|
|
|
"eslint-plugin-react-hooks": "^4.0.0",
|
2021-09-22 02:21:28 +03:00
|
|
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
2021-08-31 17:47:06 +03:00
|
|
|
"ethers": "^5.4.6",
|
2021-06-29 01:12:58 +03:00
|
|
|
"graphql": "^15.5.0",
|
|
|
|
"graphql-request": "^3.4.0",
|
2020-06-30 23:47:16 +03:00
|
|
|
"inter-ui": "^3.13.1",
|
2021-07-26 20:41:08 +03:00
|
|
|
"jest-styled-components": "^7.0.5",
|
2020-09-24 19:18:57 +03:00
|
|
|
"luxon": "^1.25.0",
|
2021-07-01 21:08:53 +03:00
|
|
|
"ms.macro": "^2.0.0",
|
2021-04-14 17:12:35 +03:00
|
|
|
"multicodec": "^3.0.1",
|
|
|
|
"multihashes": "^4.0.2",
|
2021-09-27 23:07:09 +03:00
|
|
|
"node-vibrant": "^3.2.1-alpha.1",
|
2019-05-30 23:42:25 +03:00
|
|
|
"polished": "^3.3.2",
|
2021-09-01 21:17:49 +03:00
|
|
|
"polyfill-object.fromentries": "^1.0.1",
|
2021-02-16 11:31:16 +03:00
|
|
|
"prettier": "^2.2.1",
|
2020-05-17 00:55:22 +03:00
|
|
|
"qs": "^6.9.4",
|
2021-02-13 23:05:09 +03:00
|
|
|
"react": "^17.0.1",
|
2020-09-24 19:18:57 +03:00
|
|
|
"react-confetti": "^6.0.0",
|
2021-02-13 23:05:09 +03:00
|
|
|
"react-dom": "^17.0.1",
|
2020-05-01 04:14:29 +03:00
|
|
|
"react-feather": "^2.0.8",
|
2019-04-16 03:06:39 +03:00
|
|
|
"react-ga": "^2.5.7",
|
2021-07-07 00:05:19 +03:00
|
|
|
"react-is": "^17.0.2",
|
2020-09-24 19:18:57 +03:00
|
|
|
"react-markdown": "^4.3.1",
|
2020-05-16 17:44:26 +03:00
|
|
|
"react-popper": "^2.2.3",
|
2021-02-13 23:05:09 +03:00
|
|
|
"react-redux": "^7.2.2",
|
2019-04-15 21:05:54 +03:00
|
|
|
"react-router-dom": "^5.0.0",
|
2021-04-14 17:12:35 +03:00
|
|
|
"react-scripts": "^4.0.3",
|
2019-11-26 01:56:31 +03:00
|
|
|
"react-spring": "^8.0.27",
|
|
|
|
"react-use-gesture": "^6.0.14",
|
feat(lists): allow selecting and adding token lists (#1023)
* more list stuff
Use the selected list instead of the default list, but also use the default list
start list selection code
* move token warning to a modal, fix the install issue
* add/remove/enter key
* handle enter on currency select for ETHER
* change slippage tolerance to be a slider
* make ui closer to the mocks
* commit slider changes
* back to tabs
* copy changes
* bump list version
* some styling for the list select
* bump uniswap default list version
* use contract calls to get ens names and addresses
* show list logo
* fix failing integration test
* .eth.link
* list introduction screen
* remove showSendWithSwap
* fix integration and unit tests
* resolve ENS names
* logos from ens
* fix the lint errors
* some refactoring to better support using a the library provider from the user for resolving ENS names
* load list info from the list url for the introduction page
* make it slightly harder to remove a list
* minor clean up, some help text and links
* remove icon from list update popup
* show added/removed tokens
* add GA everywhere, don't debounce contenthash lookups
* show tags
* fix tag key
* tag display, list rendering, needs optimization
* fix list fetching in firefox, style issue in safari
* sort the lists, clean up styling
* use client provider when possible
* show token warning for url loaded tokens
* improve the warning modal
* some refactoring to fix the list fetching on networks other than mainnet
* fix tests
* some minor improvements
* increase timeout to maybe fix integration tests which pass locally
* build for tests using the dev network url
* reset the lists if we deleted the other two copies
* improve how we handle updating the default list of lists
* fix integration test
* Update token list selection styles
* fix external links, reuse the on click outside code, show add errors
* show the list origin instead of the full url
* fix update list link
* show host instead of hostname
do not automatically dismiss major version upgrades for lists
* fix link to tokenlists.org
* add uma
* clean up styling in list rows
* bump token list version
* bump token list version again
* hover symbol to see currency name
* bump version
* add cmc lists, dharma list
Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com>
2020-08-26 16:46:21 +03:00
|
|
|
"react-virtualized-auto-sizer": "^1.0.2",
|
2020-05-23 19:06:16 +03:00
|
|
|
"react-window": "^1.8.5",
|
2020-02-26 20:00:59 +03:00
|
|
|
"rebass": "^4.0.7",
|
2020-08-27 18:21:51 +03:00
|
|
|
"redux-localstorage-simple": "^2.3.1",
|
2021-03-24 04:45:58 +03:00
|
|
|
"serve": "^11.3.2",
|
2020-05-21 22:47:52 +03:00
|
|
|
"start-server-and-test": "^1.11.0",
|
2021-07-07 00:05:19 +03:00
|
|
|
"styled-components": "^5.3.0",
|
2021-05-12 00:43:08 +03:00
|
|
|
"typechain": "^5.0.0",
|
2021-03-30 10:51:37 +03:00
|
|
|
"typescript": "^4.2.3",
|
2021-05-11 19:09:01 +03:00
|
|
|
"ua-parser-js": "^0.7.28",
|
2020-09-24 19:18:57 +03:00
|
|
|
"use-count-up": "^2.2.5",
|
2021-03-24 04:45:58 +03:00
|
|
|
"wcag-contrast": "^3.0.0",
|
2021-09-17 19:14:45 +03:00
|
|
|
"web-vitals": "^2.1.0",
|
2021-03-24 04:45:58 +03:00
|
|
|
"workbox-core": "^6.1.0",
|
|
|
|
"workbox-precaching": "^6.1.0",
|
2021-08-25 22:46:56 +03:00
|
|
|
"workbox-routing": "^6.1.0"
|
2020-08-07 02:18:43 +03:00
|
|
|
},
|
2021-08-18 20:26:00 +03:00
|
|
|
"resolutions": {
|
2021-09-17 23:56:08 +03:00
|
|
|
"@walletconnect/ethereum-provider": "1.6.5"
|
2021-08-18 20:26:00 +03:00
|
|
|
},
|
2017-10-28 10:55:27 +03:00
|
|
|
"scripts": {
|
2021-09-24 19:24:03 +03:00
|
|
|
"contracts:compile:abi": "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/?(v3-core|v3-periphery)/artifacts/contracts/**/*.json'",
|
|
|
|
"contracts:compile": "yarn contracts:compile:abi && yarn contracts:compile:v3",
|
2021-06-29 02:43:24 +03:00
|
|
|
"graphql:generate": "graphql-codegen --config codegen.yml",
|
2021-08-14 00:02:59 +03:00
|
|
|
"prei18n:extract": "touch src/locales/en-US.po",
|
2021-09-24 19:24:03 +03:00
|
|
|
"i18n:extract": "lingui extract --locale en-US",
|
|
|
|
"i18n:compile": "yarn i18n:extract && lingui compile",
|
|
|
|
"postinstall": "yarn contracts:compile && yarn graphql:generate && yarn i18n:compile",
|
|
|
|
"start": "react-scripts start",
|
|
|
|
"build": "react-scripts build",
|
|
|
|
"test": "react-scripts test --env=./custom-test-env.js",
|
2021-09-30 02:55:31 +03:00
|
|
|
"test:e2e": "start-server-and-test 'serve build -l 3000' http://localhost:3000 'cypress run --record'"
|
2019-04-15 19:56:40 +03:00
|
|
|
},
|
2019-05-14 17:19:09 +03:00
|
|
|
"eslintConfig": {
|
2020-09-24 19:18:57 +03:00
|
|
|
"extends": "react-app",
|
|
|
|
"ignorePatterns": [
|
|
|
|
"node_modules"
|
|
|
|
]
|
2019-05-14 17:19:09 +03:00
|
|
|
},
|
|
|
|
"browserslist": {
|
|
|
|
"production": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not op_mini all"
|
|
|
|
],
|
|
|
|
"development": [
|
|
|
|
"last 1 chrome version",
|
|
|
|
"last 1 firefox version",
|
|
|
|
"last 1 safari version"
|
|
|
|
]
|
|
|
|
},
|
2021-05-04 20:23:00 +03:00
|
|
|
"license": "GPL-3.0-or-later",
|
|
|
|
"dependencies": {}
|
2020-05-23 19:06:16 +03:00
|
|
|
}
|