From 6c65c94fcbc15194ac05379d88ee89f04bd4a090 Mon Sep 17 00:00:00 2001 From: Jani Anttonen Date: Tue, 21 Dec 2021 14:23:23 +0200 Subject: [PATCH] Let's try this out --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 8ea878b..7fc13ae 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "@vanilladefi/trade-contracts", - "version": "1.1.16", + "version": "1.1.20", "description": "Smart contracts for vanilladefi.com", "main": "./typechain/vanilla_v1.1/index.ts", "scripts": { - "prepare": "npm run compile:sol", + "prepack": "npm run compile:clean:sol", "postinstall": "npm run generate:typechain-wo-test", "test": "npm run generate:test-types && npx hardhat test", "format:js": "eslint --fix test/ utils/ hardhat/ deploy/", @@ -20,9 +20,9 @@ "node:test-accounts": "npx hardhat test-accounts", "coverage:sol": "npx hardhat coverage --testfiles \"test/Trading.test.ts\"", "generate:typechain-wo-hardhat": "npx typechain --target ethers-v5 --out-dir typechain/vanilla_v1.1 \"./artifacts/contracts/**/+([a-zA-Z0-9_]).json\"", - "generate:univ2-types": "npx typechain --target ethers-v5 --out-dir typechain/uniswap_v2 \"./**/*/@uniswap/v2-periphery/build/I*.json\"", - "generate:univ3-core-types": "npx typechain --target ethers-v5 --out-dir typechain/uniswap_v3_core \"./**/*/@uniswap/v3-core/artifacts/**/*.json\"", - "generate:univ3-periphery-types": "npx typechain --target ethers-v5 --out-dir typechain/uniswap_v3_periphery \"./**/*/@uniswap/v3-periphery/artifacts/**/*.json\"", + "generate:univ2-types": "npx typechain --target ethers-v5 --out-dir typechain/uniswap_v2 \"**/@uniswap/v2-periphery/build/I*.json\"", + "generate:univ3-core-types": "npx typechain --target ethers-v5 --out-dir typechain/uniswap_v3_core \"**/@uniswap/v3-core/artifacts/**/*.json\"", + "generate:univ3-periphery-types": "npx typechain --target ethers-v5 --out-dir typechain/uniswap_v3_periphery \"**/@uniswap/v3-periphery/artifacts/**/*.json\"", "generate:oz-types": "npx typechain --target ethers-v5 --out-dir typechain/openzeppelin \"./artifacts/@openzeppelin/**/+([a-zA-Z0-9_]).json\"", "generate:test-types": "npx typechain --target ethers-v5 --out-dir typechain/vanilla_test \"./test/v1-artifacts/**/*.json\"", "generate:typechain": "npm run generate:typechain-wo-hardhat && npm run generate:univ3-core-types && npm run generate:univ2-types && npm run generate:univ3-periphery-types && npm run generate:test-types && npm run generate:oz-types",