From 70f0de9828e8d5ac849917079f5dccd929a4f335 Mon Sep 17 00:00:00 2001 From: Anton Bukov Date: Mon, 18 Mar 2024 09:35:08 +0100 Subject: [PATCH] Move typescript dependencies from dev to prod --- package.json | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index 13ba9da..8dfffc2 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ }, "license": "MIT", "scripts": { + "install": "yarn build", "clean": "rimraf artifacts cache coverage contracts/hardhat-dependency-compiler dist typechain-types", "build": "yarn typechain && cti src hardhat-setup -b && tsc -p tsconfig.publish.json", "prepack": "yarn clean && yarn build", @@ -32,49 +33,48 @@ "test:us": "UPDATE_SNAPSHOT=1 yarn test:ci", "typecheck": "tsc --noEmit --skipLibCheck", "typechain": "hardhat typechain" - }, "dependencies": { + "@typechain/hardhat": "9.1.0", + "@typechain/ethers-v6": "0.5.1", "@metamask/eth-sig-util": "7.0.1", + "@nomicfoundation/hardhat-chai-matchers": "2.0.4", "@nomicfoundation/hardhat-ethers": "3.0.5", "@nomicfoundation/hardhat-network-helpers": "1.0.10", "@nomicfoundation/hardhat-verify": "2.0.4", "@openzeppelin/contracts": "5.0.1", "@uniswap/permit2-sdk": "1.2.0", "chai": "4.4.0", + "create-ts-index": "1.14.0", "dotenv": "16.4.3", - "ethereumjs-util": "7.1.5", "ethers": "6.11.0", + "ethereumjs-util": "7.1.5", "hardhat": "2.19.5", "hardhat-deploy": "0.11.45", - "mocha-chai-jest-snapshot": "1.1.4" + "hardhat-gas-reporter": "1.0.10", + "hardhat-tracer": "2.7.0", + "mocha-chai-jest-snapshot": "1.1.4", + "solidity-coverage": "0.8.7", + "typescript": "5.3.3", + "ts-node": "10.9.2", + "typechain": "8.3.2" }, "devDependencies": { - "@nomicfoundation/hardhat-chai-matchers": "2.0.4", - "@typechain/ethers-v6": "0.5.1", - "@typechain/hardhat": "9.1.0", "@types/mocha": "10.0.6", "@typescript-eslint/eslint-plugin": "7.0.1", "@typescript-eslint/parser": "7.0.1", "acquit": "1.3.0", "commander": "12.0.0", - "create-ts-index": "1.14.0", "cross-spawn": "7.0.3", "eslint": "8.56.0", "eslint-config-standard": "17.1.0", "eslint-plugin-import": "2.29.1", "eslint-plugin-n": "16.6.2", "eslint-plugin-promise": "6.1.1", - "hardhat-gas-reporter": "1.0.10", - "hardhat-tracer": "2.7.0", "prettier": "3.2.5", "prettier-plugin-solidity": "1.3.1", "rimraf": "5.0.5", - "solhint": "4.1.1", - "solidity-coverage": "0.8.7", - "ts-node": "10.9.2", - "typechain": "8.3.2", - "typescript": "5.3.3" + "solhint": "4.1.1" }, "bin": { "solidity-utils-docify": "utils/docify.utils.js",