From d4550a567a6bfaa14dc0c9ae09741434dec765d2 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Thu, 8 Jul 2021 16:55:22 +0200 Subject: [PATCH] add prepublish script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8ed88b78..7db53b23 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "types": "dist/index.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "build": "tsc -b ." + "build": "tsc -b .", + "prepublish": "npm run build" }, "repository": { "type": "git",