add typechain gen scripts (#36)
add typechain generation for core/periphery contracts
Showing
... | @@ -20,6 +20,7 @@ | ... | @@ -20,6 +20,7 @@ |
"@storybook/react": "^6.1.17", | "@storybook/react": "^6.1.17", | ||
"@storybook/theming": "^6.1.17", | "@storybook/theming": "^6.1.17", | ||
"@styled-system/css": "^5.1.5", | "@styled-system/css": "^5.1.5", | ||
"@typechain/ethers-v5": "^6.0.5", | |||
"@types/jest": "^25.2.1", | "@types/jest": "^25.2.1", | ||
"@types/lodash.flatmap": "^4.5.6", | "@types/lodash.flatmap": "^4.5.6", | ||
"@types/luxon": "^1.24.4", | "@types/luxon": "^1.24.4", | ||
... | @@ -36,15 +37,19 @@ | ... | @@ -36,15 +37,19 @@ |
"@types/styled-components": "^5.1.0", | "@types/styled-components": "^5.1.0", | ||
"@types/testing-library__cypress": "^5.0.5", | "@types/testing-library__cypress": "^5.0.5", | ||
"@types/wcag-contrast": "^3.0.0", | "@types/wcag-contrast": "^3.0.0", | ||
"@typescript-eslint/eslint-plugin": "^2.31.0", | "@typescript-eslint/eslint-plugin": "^4.20.0", | ||
"@typescript-eslint/parser": "^2.31.0", | "@typescript-eslint/parser": "^4.20.0", | ||
"@uniswap/default-token-list": "^2.0.0", | |||
"@uniswap/governance": "^1.0.2", | "@uniswap/governance": "^1.0.2", | ||
"@uniswap/liquidity-staker": "^1.0.2", | "@uniswap/liquidity-staker": "^1.0.2", | ||
"@uniswap/merkle-distributor": "1.0.1", | "@uniswap/merkle-distributor": "1.0.1", | ||
"@uniswap/sdk-core": "^1.0.8", | |||
"@uniswap/token-lists": "^1.0.0-beta.19", | "@uniswap/token-lists": "^1.0.0-beta.19", | ||
"@uniswap/v2-core": "1.0.0", | "@uniswap/v2-core": "1.0.0", | ||
"@uniswap/v2-periphery": "^1.1.0-beta.0", | "@uniswap/v2-periphery": "^1.1.0-beta.0", | ||
"@uniswap/v3-periphery": "^1.0.0-beta.7", | "@uniswap/v2-sdk": "^1.0.6", | ||
"@uniswap/v3-core": "^1.0.0-rc.0", | |||
"@uniswap/v3-periphery": "^1.0.0-beta.11", | |||
"@web3-react/core": "^6.0.9", | "@web3-react/core": "^6.0.9", | ||
"@web3-react/fortmatic-connector": "^6.0.9", | "@web3-react/fortmatic-connector": "^6.0.9", | ||
"@web3-react/injected-connector": "^6.0.7", | "@web3-react/injected-connector": "^6.0.7", | ||
... | @@ -67,6 +72,7 @@ | ... | @@ -67,6 +72,7 @@ |
"i18next-xhr-backend": "^2.0.1", | "i18next-xhr-backend": "^2.0.1", | ||
"inter-ui": "^3.13.1", | "inter-ui": "^3.13.1", | ||
"jazzicon": "^1.5.0", | "jazzicon": "^1.5.0", | ||
"lightweight-charts": "^3.3.0", | |||
"lodash.flatmap": "^4.5.0", | "lodash.flatmap": "^4.5.0", | ||
"luxon": "^1.25.0", | "luxon": "^1.25.0", | ||
"multicodec": "^2.0.0", | "multicodec": "^2.0.0", | ||
... | @@ -97,7 +103,8 @@ | ... | @@ -97,7 +103,8 @@ |
"start-server-and-test": "^1.11.0", | "start-server-and-test": "^1.11.0", | ||
"styled-components": "^4.2.0", | "styled-components": "^4.2.0", | ||
"styled-system": "^5.1.5", | "styled-system": "^5.1.5", | ||
"typescript": "^3.8.3", | "typechain": "^4.0.3", | ||
"typescript": "^4.2.3", | |||
"use-count-up": "^2.2.5", | "use-count-up": "^2.2.5", | ||
"wcag-contrast": "^3.0.0", | "wcag-contrast": "^3.0.0", | ||
"workbox-core": "^6.1.0", | "workbox-core": "^6.1.0", | ||
... | @@ -110,11 +117,13 @@ | ... | @@ -110,11 +117,13 @@ |
"@walletconnect/web3-provider": "1.1.1-alpha.0" | "@walletconnect/web3-provider": "1.1.1-alpha.0" | ||
}, | }, | ||
"scripts": { | "scripts": { | ||
"start": "react-scripts start", | "compile-contract-types": "npx typechain --target ethers-v5 --outDir src/types/v3 './node_modules/@uniswap/?(v3-core|v3-periphery)/artifacts/contracts/**/*.json'", | ||
"start:service-worker": "yarn build && yarn serve -s build", | "build": "yarn compile-contract-types && react-scripts build", | ||
"build": "react-scripts build", | |||
"eject": "react-scripts eject", | "eject": "react-scripts eject", | ||
"integration-test": "start-server-and-test 'serve build -l 3000' http://localhost:3000 'cypress run'", | "integration-test": "start-server-and-test 'serve build -l 3000' http://localhost:3000 'cypress run'", | ||
"postinstall": "yarn compile-contract-types", | |||
"start": "yarn compile-contract-types && react-scripts start", | |||
"start:service-worker": "yarn build && yarn serve -s build", | |||
"storybook": "start-storybook -p 6006", | "storybook": "start-storybook -p 6006", | ||
"test": "react-scripts test --env=jsdom" | "test": "react-scripts test --env=jsdom" | ||
}, | }, | ||
... | @@ -136,11 +145,5 @@ | ... | @@ -136,11 +145,5 @@ |
"last 1 safari version" | "last 1 safari version" | ||
] | ] | ||
}, | }, | ||
"license": "GPL-3.0-or-later", | "license": "GPL-3.0-or-later" | ||
"dependencies": { | |||
"@uniswap/default-token-list": "^2.0.0", | |||
"@uniswap/sdk-core": "^1.0.8", | |||
"@uniswap/v2-sdk": "^1.0.6", | |||
"lightweight-charts": "^3.3.0" | |||
} | |||
} | } |
This diff is collapsed.
Please register or sign in to comment