From 7f6e674405796db82670676e86d966b555aefd2a Mon Sep 17 00:00:00 2001 From: Raphael Flechtner Date: Mon, 21 Aug 2023 09:02:25 -0400 Subject: [PATCH] feat: prepack script to allow github installs --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 545ff89..b315a92 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:esm": "tsc -p tsconfig.esm.json && echo '{\"type\": \"module\"}' > esm/package.json", "clean": "exec git clean -xf -e 'node_modules' '*'", - "test": "jest test --no-cache --forceExit" + "test": "jest test --no-cache --forceExit", + "prepack": "yarn build" }, "dependencies": { "@kiltprotocol/sdk-js": "^0.34.0",