From cb80637751541aa710bc2bf69fcce316453a0c44 Mon Sep 17 00:00:00 2001 From: Lukasz Zimnoch Date: Mon, 16 Oct 2023 15:07:20 +0200 Subject: [PATCH] Include `src` and `typechain` in the resulting npm package This is needed to make the source maps work correctly. --- typescript/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/typescript/package.json b/typescript/package.json index c241f46bb..b7cc037e9 100644 --- a/typescript/package.json +++ b/typescript/package.json @@ -16,7 +16,9 @@ "dev": "tsc --project tsconfig.build.json --watch" }, "files": [ - "dist" + "dist/", + "src/", + "typechain/" ], "config": { "contracts": "./node_modules/@keep-network/ecdsa/artifacts/WalletRegistry.json ./node_modules/@keep-network/tbtc-v2/artifacts/{Bridge,TBTCVault,TBTC}.json"