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",
|
2020-06-30 20:41:51 +03:00
|
|
|
"homepage": ".",
|
2017-10-28 10:55:27 +03:00
|
|
|
"private": true,
|
2020-05-21 22:47:52 +03:00
|
|
|
"devDependencies": {
|
2021-02-17 01:33:55 +03:00
|
|
|
"@emotion/core": "^11.0.0",
|
2020-08-07 02:18:43 +03:00
|
|
|
"@ethersproject/experimental": "^5.0.1",
|
2021-05-21 01:10:39 +03:00
|
|
|
"@metamask/jazzicon": "^2.0.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",
|
2020-05-12 01:23:01 +03:00
|
|
|
"@reduxjs/toolkit": "^1.3.5",
|
2021-02-17 01:33:55 +03:00
|
|
|
"@storybook/addon-actions": "^6.1.17",
|
|
|
|
"@storybook/addon-essentials": "^6.1.17",
|
|
|
|
"@storybook/addon-links": "^6.1.17",
|
|
|
|
"@storybook/addons": "^6.1.17",
|
|
|
|
"@storybook/components": "^6.1.17",
|
|
|
|
"@storybook/preset-create-react-app": "^3.1.5",
|
|
|
|
"@storybook/preset-typescript": "^3.0.0",
|
|
|
|
"@storybook/react": "^6.1.17",
|
|
|
|
"@storybook/theming": "^6.1.17",
|
|
|
|
"@styled-system/css": "^5.1.5",
|
2021-05-12 00:43:08 +03:00
|
|
|
"@typechain/ethers-v5": "^7.0.0",
|
2020-05-21 22:47:52 +03:00
|
|
|
"@types/jest": "^25.2.1",
|
2020-05-27 16:29:53 +03:00
|
|
|
"@types/lodash.flatmap": "^4.5.6",
|
2020-09-24 19:18:57 +03:00
|
|
|
"@types/luxon": "^1.24.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
|
|
|
"@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",
|
2020-12-11 01:18:18 +03:00
|
|
|
"@uniswap/token-lists": "^1.0.0-beta.19",
|
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-20 19:21:40 +03:00
|
|
|
"@uniswap/v2-sdk": "^3.0.0-alpha.1",
|
2021-05-04 20:23:00 +03:00
|
|
|
"@uniswap/v3-core": "1.0.0",
|
|
|
|
"@uniswap/v3-periphery": "1.0.0",
|
2021-05-20 19:21:40 +03:00
|
|
|
"@uniswap/v3-sdk": "^3.0.0-alpha.7",
|
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-05-14 01:46:30 +03:00
|
|
|
"@web3-react/walletconnect-connector": "^6.2.0",
|
2021-05-13 19:35:17 +03:00
|
|
|
"@web3-react/walletlink-connector": "^6.2.0",
|
2020-07-25 18:41:03 +03:00
|
|
|
"ajv": "^6.12.3",
|
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",
|
2020-05-08 01:52:26 +03:00
|
|
|
"cross-env": "^7.0.2",
|
2020-07-30 22:21:37 +03:00
|
|
|
"cypress": "^4.11.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",
|
2020-08-07 02:18:43 +03:00
|
|
|
"ethers": "^5.0.7",
|
2019-04-16 03:06:39 +03:00
|
|
|
"i18next": "^15.0.9",
|
|
|
|
"i18next-browser-languagedetector": "^3.0.1",
|
|
|
|
"i18next-xhr-backend": "^2.0.1",
|
2020-06-30 23:47:16 +03:00
|
|
|
"inter-ui": "^3.13.1",
|
2021-03-30 10:51:37 +03:00
|
|
|
"lightweight-charts": "^3.3.0",
|
2020-05-27 16:29:53 +03:00
|
|
|
"lodash.flatmap": "^4.5.0",
|
2020-09-24 19:18:57 +03:00
|
|
|
"luxon": "^1.25.0",
|
2021-04-14 17:12:35 +03:00
|
|
|
"multicodec": "^3.0.1",
|
|
|
|
"multihashes": "^4.0.2",
|
2020-09-24 19:18:57 +03:00
|
|
|
"node-vibrant": "^3.1.5",
|
2019-05-30 23:42:25 +03:00
|
|
|
"polished": "^3.3.2",
|
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",
|
2019-05-30 23:42:25 +03:00
|
|
|
"react-device-detect": "^1.6.2",
|
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",
|
|
|
|
"react-i18next": "^10.7.0",
|
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",
|
2020-02-26 20:00:59 +03:00
|
|
|
"styled-components": "^4.2.0",
|
2021-02-17 01:33:55 +03:00
|
|
|
"styled-system": "^5.1.5",
|
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",
|
|
|
|
"workbox-core": "^6.1.0",
|
|
|
|
"workbox-expiration": "^6.1.0",
|
|
|
|
"workbox-precaching": "^6.1.0",
|
|
|
|
"workbox-routing": "^6.1.0",
|
|
|
|
"workbox-strategies": "^6.1.0"
|
2020-08-07 02:18:43 +03:00
|
|
|
},
|
2021-05-18 23:22:53 +03:00
|
|
|
"resolutions": {
|
|
|
|
"@walletconnect/web3-provider": "1.4.2-rc.2"
|
|
|
|
},
|
2017-10-28 10:55:27 +03:00
|
|
|
"scripts": {
|
2021-03-31 10:40:13 +03:00
|
|
|
"compile-contract-types": "yarn compile-external-abi-types && yarn compile-v3-contract-types",
|
2021-05-18 17:28:30 +03:00
|
|
|
"compile-external-abi-types": "typechain --target ethers-v5 --out-dir src/abis/types './src/abis/**/*.json'",
|
|
|
|
"compile-v3-contract-types": "typechain --target ethers-v5 --out-dir src/types/v3 './node_modules/@uniswap/?(v3-core|v3-periphery)/artifacts/contracts/**/*.json'",
|
2021-03-30 10:51:37 +03:00
|
|
|
"build": "yarn compile-contract-types && react-scripts build",
|
2021-02-17 01:33:55 +03:00
|
|
|
"integration-test": "start-server-and-test 'serve build -l 3000' http://localhost:3000 'cypress run'",
|
2021-03-30 10:51:37 +03:00
|
|
|
"postinstall": "yarn compile-contract-types",
|
|
|
|
"start": "yarn compile-contract-types && react-scripts start",
|
2021-02-17 01:33:55 +03:00
|
|
|
"storybook": "start-storybook -p 6006",
|
|
|
|
"test": "react-scripts test --env=jsdom"
|
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
|
|
|
}
|