2017-10-28 03:55:27 -04:00
|
|
|
{
|
2020-05-20 22:31:05 -05:00
|
|
|
"name": "@uniswap/interface",
|
2020-05-20 16:10:26 -05:00
|
|
|
"description": "Uniswap Interface",
|
2020-06-30 13:41:51 -04:00
|
|
|
"homepage": ".",
|
2017-10-28 03:55:27 -04:00
|
|
|
"private": true,
|
2020-05-21 15:47:52 -04:00
|
|
|
"devDependencies": {
|
2021-02-16 17:33:55 -05:00
|
|
|
"@emotion/core": "^11.0.0",
|
2020-08-06 18:18:43 -05:00
|
|
|
"@ethersproject/experimental": "^5.0.1",
|
2020-07-06 21:26:38 -04:00
|
|
|
"@popperjs/core": "^2.4.4",
|
2020-05-25 01:39:30 -04:00
|
|
|
"@reach/dialog": "^0.10.3",
|
|
|
|
"@reach/portal": "^0.10.3",
|
2021-05-12 13:19:43 -04:00
|
|
|
"@react-hook/window-scroll": "^1.3.0",
|
2020-05-11 18:23:01 -04:00
|
|
|
"@reduxjs/toolkit": "^1.3.5",
|
2021-02-16 17:33:55 -05: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-11 16:43:08 -05:00
|
|
|
"@typechain/ethers-v5": "^7.0.0",
|
2020-05-21 15:47:52 -04:00
|
|
|
"@types/jest": "^25.2.1",
|
2020-05-27 09:29:53 -04:00
|
|
|
"@types/lodash.flatmap": "^4.5.6",
|
2020-09-24 11:18:57 -05: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 08:46:21 -05:00
|
|
|
"@types/multicodec": "^1.0.0",
|
2020-05-21 15:47:52 -04:00
|
|
|
"@types/node": "^13.13.5",
|
|
|
|
"@types/qs": "^6.9.2",
|
2021-02-13 15:05:09 -05:00
|
|
|
"@types/react": "^17.0.2",
|
|
|
|
"@types/react-dom": "^17.0.1",
|
|
|
|
"@types/react-redux": "^7.1.16",
|
2020-05-21 15:47:52 -04: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 08:46:21 -05:00
|
|
|
"@types/react-virtualized-auto-sizer": "^1.0.0",
|
2020-05-23 12:06:16 -04:00
|
|
|
"@types/react-window": "^1.8.2",
|
2021-02-16 17:33:55 -05:00
|
|
|
"@types/rebass": "^4.0.7",
|
2020-07-20 06:48:42 -05:00
|
|
|
"@types/styled-components": "^5.1.0",
|
2020-05-21 15:47:52 -04:00
|
|
|
"@types/testing-library__cypress": "^5.0.5",
|
2021-05-11 18:09:01 +02:00
|
|
|
"@types/ua-parser-js": "^0.7.35",
|
2020-09-24 11:18:57 -05:00
|
|
|
"@types/wcag-contrast": "^3.0.0",
|
2021-04-14 10:12:35 -04:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.1.0",
|
|
|
|
"@typescript-eslint/parser": "^4.1.0",
|
2021-03-30 03:51:37 -04:00
|
|
|
"@uniswap/default-token-list": "^2.0.0",
|
2020-09-24 11:18:57 -05:00
|
|
|
"@uniswap/governance": "^1.0.2",
|
|
|
|
"@uniswap/liquidity-staker": "^1.0.2",
|
|
|
|
"@uniswap/merkle-distributor": "1.0.1",
|
2020-12-10 16:18:18 -06:00
|
|
|
"@uniswap/token-lists": "^1.0.0-beta.19",
|
2020-05-05 16:36:22 -04:00
|
|
|
"@uniswap/v2-core": "1.0.0",
|
2020-06-05 18:40:02 -04:00
|
|
|
"@uniswap/v2-periphery": "^1.1.0-beta.0",
|
2021-05-12 08:52:17 -05:00
|
|
|
"@uniswap/v2-sdk": "^3.0.0-alpha.0",
|
2021-05-04 12:23:00 -05:00
|
|
|
"@uniswap/v3-core": "1.0.0",
|
|
|
|
"@uniswap/v3-periphery": "1.0.0",
|
2021-05-12 16:15:55 -05:00
|
|
|
"@uniswap/v3-sdk": "^3.0.0-alpha.1",
|
2020-05-07 19:53:08 -04: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",
|
2020-06-23 16:18:04 -04:00
|
|
|
"@web3-react/walletconnect-connector": "^6.1.1",
|
2020-05-07 19:53:08 -04:00
|
|
|
"@web3-react/walletlink-connector": "^6.0.9",
|
2020-07-25 10:41:03 -05: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 08:46:21 -05:00
|
|
|
"cids": "^1.0.0",
|
2019-05-30 16:42:25 -04:00
|
|
|
"copy-to-clipboard": "^3.2.0",
|
2020-05-07 18:52:26 -04:00
|
|
|
"cross-env": "^7.0.2",
|
2020-07-30 15:21:37 -04:00
|
|
|
"cypress": "^4.11.0",
|
2021-02-13 15:05:09 -05:00
|
|
|
"eslint": "^7.11.0",
|
2020-05-21 15:47:52 -04: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-06 18:18:43 -05:00
|
|
|
"ethers": "^5.0.7",
|
2019-04-15 20:06:39 -04:00
|
|
|
"i18next": "^15.0.9",
|
|
|
|
"i18next-browser-languagedetector": "^3.0.1",
|
|
|
|
"i18next-xhr-backend": "^2.0.1",
|
2020-06-30 16:47:16 -04:00
|
|
|
"inter-ui": "^3.13.1",
|
2018-10-06 15:53:46 -07:00
|
|
|
"jazzicon": "^1.5.0",
|
2021-03-30 03:51:37 -04:00
|
|
|
"lightweight-charts": "^3.3.0",
|
2020-05-27 09:29:53 -04:00
|
|
|
"lodash.flatmap": "^4.5.0",
|
2020-09-24 11:18:57 -05:00
|
|
|
"luxon": "^1.25.0",
|
2021-04-14 10:12:35 -04:00
|
|
|
"multicodec": "^3.0.1",
|
|
|
|
"multihashes": "^4.0.2",
|
2020-09-24 11:18:57 -05:00
|
|
|
"node-vibrant": "^3.1.5",
|
2019-05-30 16:42:25 -04:00
|
|
|
"polished": "^3.3.2",
|
2021-02-16 03:31:16 -05:00
|
|
|
"prettier": "^2.2.1",
|
2020-05-16 17:55:22 -04:00
|
|
|
"qs": "^6.9.4",
|
2021-02-13 15:05:09 -05:00
|
|
|
"react": "^17.0.1",
|
2020-09-24 11:18:57 -05:00
|
|
|
"react-confetti": "^6.0.0",
|
2019-05-30 16:42:25 -04:00
|
|
|
"react-device-detect": "^1.6.2",
|
2021-02-13 15:05:09 -05:00
|
|
|
"react-dom": "^17.0.1",
|
2020-04-30 21:14:29 -04:00
|
|
|
"react-feather": "^2.0.8",
|
2019-04-15 20:06:39 -04:00
|
|
|
"react-ga": "^2.5.7",
|
|
|
|
"react-i18next": "^10.7.0",
|
2020-09-24 11:18:57 -05:00
|
|
|
"react-markdown": "^4.3.1",
|
2020-05-16 10:44:26 -04:00
|
|
|
"react-popper": "^2.2.3",
|
2021-02-13 15:05:09 -05:00
|
|
|
"react-redux": "^7.2.2",
|
2019-04-15 14:05:54 -04:00
|
|
|
"react-router-dom": "^5.0.0",
|
2021-04-14 10:12:35 -04:00
|
|
|
"react-scripts": "^4.0.3",
|
2019-11-25 17:56:31 -05: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 08:46:21 -05:00
|
|
|
"react-virtualized-auto-sizer": "^1.0.2",
|
2020-05-23 12:06:16 -04:00
|
|
|
"react-window": "^1.8.5",
|
2020-02-26 12:00:59 -05:00
|
|
|
"rebass": "^4.0.7",
|
2020-08-27 10:21:51 -05:00
|
|
|
"redux-localstorage-simple": "^2.3.1",
|
2021-03-23 21:45:58 -04:00
|
|
|
"serve": "^11.3.2",
|
2020-05-21 15:47:52 -04:00
|
|
|
"start-server-and-test": "^1.11.0",
|
2020-02-26 12:00:59 -05:00
|
|
|
"styled-components": "^4.2.0",
|
2021-02-16 17:33:55 -05:00
|
|
|
"styled-system": "^5.1.5",
|
2021-05-11 16:43:08 -05:00
|
|
|
"typechain": "^5.0.0",
|
2021-03-30 03:51:37 -04:00
|
|
|
"typescript": "^4.2.3",
|
2021-05-11 18:09:01 +02:00
|
|
|
"ua-parser-js": "^0.7.28",
|
2020-09-24 11:18:57 -05:00
|
|
|
"use-count-up": "^2.2.5",
|
2021-03-23 21:45:58 -04: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-06 18:18:43 -05:00
|
|
|
},
|
2017-10-28 03:55:27 -04:00
|
|
|
"scripts": {
|
2021-03-31 03:40:13 -04:00
|
|
|
"compile-contract-types": "yarn compile-external-abi-types && yarn compile-v3-contract-types",
|
2021-05-11 16:43:08 -05:00
|
|
|
"compile-external-abi-types": "npx typechain --target ethers-v5 --out-dir src/abis/types './src/abis/**/*.json'",
|
|
|
|
"compile-v3-contract-types": "npx typechain --target ethers-v5 --out-dir src/types/v3 './node_modules/@uniswap/?(v3-core|v3-periphery)/artifacts/contracts/**/*.json'",
|
2021-03-30 03:51:37 -04:00
|
|
|
"build": "yarn compile-contract-types && react-scripts build",
|
2021-02-16 17:33:55 -05:00
|
|
|
"integration-test": "start-server-and-test 'serve build -l 3000' http://localhost:3000 'cypress run'",
|
2021-03-30 03:51:37 -04:00
|
|
|
"postinstall": "yarn compile-contract-types",
|
|
|
|
"start": "yarn compile-contract-types && react-scripts start",
|
2021-02-16 17:33:55 -05:00
|
|
|
"storybook": "start-storybook -p 6006",
|
|
|
|
"test": "react-scripts test --env=jsdom"
|
2019-04-15 12:56:40 -04:00
|
|
|
},
|
2019-05-14 10:19:09 -04:00
|
|
|
"eslintConfig": {
|
2020-09-24 11:18:57 -05:00
|
|
|
"extends": "react-app",
|
|
|
|
"ignorePatterns": [
|
|
|
|
"node_modules"
|
|
|
|
]
|
2019-05-14 10:19:09 -04: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 12:23:00 -05:00
|
|
|
"license": "GPL-3.0-or-later",
|
|
|
|
"dependencies": {}
|
2020-05-23 12:06:16 -04:00
|
|
|
}
|