forked from Uniswap/interface
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: tsconfig emissions * fix: avoid importing app state in lib * fix: export theming * fix: asset resolutions * fix: bundle widget * test: update failing snapshots * fix: maintain i18n for cosmos * fix: use npm-compatible aliasing * fix: include fonts in bundle
- Loading branch information
Showing
22 changed files
with
516 additions
and
285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
{ | ||
"name": "@uniswap/interface", | ||
"name": "@uniswap/widgets", | ||
"version": "0.0.5-beta", | ||
"description": "Uniswap Interface", | ||
"homepage": ".", | ||
"main": "dist/interface.js", | ||
"module": "dist/interface.esm.js", | ||
"types": "dist/index.d.ts", | ||
"main": "dist/widgets.js", | ||
"module": "dist/widgets.esm.js", | ||
"types": "dist/widgets.d.ts", | ||
"files": [ | ||
"lib", | ||
"dist" | ||
], | ||
"private": true, | ||
"devDependencies": { | ||
"@babel/plugin-transform-runtime": "^7.17.0", | ||
"@babel/preset-env": "^7.16.11", | ||
"@babel/preset-react": "^7.16.7", | ||
"@babel/preset-typescript": "^7.16.7", | ||
"@ethersproject/experimental": "^5.4.0", | ||
"@gnosis.pm/safe-apps-web3-react": "^0.6.0", | ||
"@graphql-codegen/cli": "1.21.5", | ||
|
@@ -23,9 +27,14 @@ | |
"@reach/portal": "^0.10.3", | ||
"@react-hook/window-scroll": "^1.3.0", | ||
"@reduxjs/toolkit": "^1.6.1", | ||
"@rollup/plugin-alias": "^3.1.9", | ||
"@rollup/plugin-babel": "^5.3.0", | ||
"@rollup/plugin-commonjs": "^21.0.1", | ||
"@rollup/plugin-eslint": "^8.0.1", | ||
"@rollup/plugin-json": "^4.1.0", | ||
"@rollup/plugin-node-resolve": "^13.1.3", | ||
"@rollup/plugin-replace": "^3.0.1", | ||
"@rollup/plugin-typescript": "^8.3.0", | ||
"@rollup/plugin-url": "^6.1.0", | ||
"@svgr/rollup": "^6.2.0", | ||
"@testing-library/jest-dom": "^5.14.1", | ||
|
@@ -71,6 +80,7 @@ | |
"@web3-react/walletlink-connector": "^6.2.11", | ||
"array.prototype.flat": "^1.2.4", | ||
"array.prototype.flatmap": "^1.2.4", | ||
"babel-plugin-macros": "^3.1.0", | ||
"copy-to-clipboard": "^3.2.0", | ||
"cross-env": "^7.0.3", | ||
"cypress": "^7.7.0", | ||
|
@@ -91,8 +101,10 @@ | |
"polyfill-object.fromentries": "^1.0.1", | ||
"prettier": "^2.2.1", | ||
"qs": "^6.9.4", | ||
"react": "^17.0.1", | ||
"react-confetti": "^6.0.0", | ||
"react-cosmos": "^5.6.6", | ||
"react-dom": "^17.0.1", | ||
"react-ga": "^2.5.7", | ||
"react-is": "^17.0.2", | ||
"react-markdown": "^4.3.1", | ||
|
@@ -102,14 +114,17 @@ | |
"react-use-gesture": "^6.0.14", | ||
"redux-localstorage-simple": "^2.3.1", | ||
"rollup": "^2.63.0", | ||
"rollup-plugin-copy": "^3.4.0", | ||
"rollup-plugin-delete": "^2.0.0", | ||
"rollup-plugin-dts": "^4.1.0", | ||
"rollup-plugin-node-externals": "^3.1.2", | ||
"rollup-plugin-scss": "^3.0.0", | ||
"rollup-plugin-typescript2": "^0.31.1", | ||
"sass": "^1.45.1", | ||
"serve": "^11.3.2", | ||
"start-server-and-test": "^1.11.0", | ||
"typechain": "^5.0.0", | ||
"typescript": "^4.2.3", | ||
"typescript": "^4.4.3", | ||
"ua-parser-js": "^0.7.28", | ||
"use-count-up": "^2.2.5", | ||
"use-resize-observer": "^8.0.0", | ||
|
@@ -131,7 +146,8 @@ | |
"i18n:extract": "lingui extract --locale en-US", | ||
"i18n:compile": "yarn i18n:extract && lingui compile", | ||
"i18n:pseudo": "lingui extract --locale pseudo && lingui compile", | ||
"postinstall": "yarn contracts:compile && yarn graphql:generate && yarn i18n:compile", | ||
"prepare": "yarn contracts:compile && yarn graphql:generate && yarn i18n:compile", | ||
"prepublishOnly": "yarn widgets:build", | ||
"start": "react-scripts start", | ||
"build": "react-scripts build", | ||
"test": "react-scripts test --env=./custom-test-env.js", | ||
|
@@ -153,6 +169,7 @@ | |
}, | ||
"license": "GPL-3.0-or-later", | ||
"dependencies": { | ||
"@babel/runtime": "^7.17.0", | ||
"@ethersproject/abi": "^5.4.1", | ||
"@ethersproject/abstract-provider": "^5.4.1", | ||
"@ethersproject/address": "^5.4.0", | ||
|
@@ -180,12 +197,6 @@ | |
"@uniswap/v2-sdk": "^3.0.1", | ||
"@uniswap/v3-sdk": "^3.8.2", | ||
"@web3-react/core": "^6.0.9", | ||
"@widgets/web3-react/core": "npm:@web3-react/[email protected]", | ||
"@widgets/web3-react/eip1193": "npm:@web3-react/[email protected]", | ||
"@widgets/web3-react/empty": "npm:@web3-react/[email protected]", | ||
"@widgets/web3-react/metamask": "npm:@web3-react/[email protected]", | ||
"@widgets/web3-react/types": "npm:@web3-react/[email protected]", | ||
"@widgets/web3-react/url": "npm:@web3-react/[email protected]", | ||
"ajv": "^6.12.3", | ||
"cids": "^1.0.0", | ||
"immer": "^9.0.6", | ||
|
@@ -198,8 +209,6 @@ | |
"node-vibrant": "^3.2.1-alpha.1", | ||
"polished": "^3.3.2", | ||
"popper-max-size-modifier": "^0.2.0", | ||
"react": "^17.0.1", | ||
"react-dom": "^17.0.1", | ||
"react-feather": "^2.0.8", | ||
"react-popper": "^2.2.3", | ||
"react-redux": "^7.2.2", | ||
|
@@ -210,6 +219,17 @@ | |
"styled-components": "^5.3.0", | ||
"tiny-invariant": "^1.2.0", | ||
"wcag-contrast": "^3.0.0", | ||
"web3-react-alpha-core": "npm:@web3-react/[email protected]", | ||
"web3-react-alpha-eip1193": "npm:@web3-react/[email protected]", | ||
"web3-react-alpha-empty": "npm:@web3-react/[email protected]", | ||
"web3-react-alpha-metamask": "npm:@web3-react/[email protected]", | ||
"web3-react-alpha-types": "npm:@web3-react/[email protected]", | ||
"web3-react-alpha-url": "npm:@web3-react/[email protected]", | ||
"wicg-inert": "^3.1.1" | ||
}, | ||
"peerDependencies": { | ||
"@babel/runtime": "^7.17.0", | ||
"react": "^17.0.1", | ||
"react-dom": "^17.0.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.