From b16f3299e59cc0866543cf30b25b904adbdd0727 Mon Sep 17 00:00:00 2001 From: Abdelrahman Awad Date: Sat, 5 Oct 2019 12:04:28 +0200 Subject: [PATCH] chore: added prepublish hook --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a49fe9d6d..9aa84fefc 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,8 @@ "build:main": "node scripts/main.js", "ts:defs": "./scripts/definitions.sh", "build": "npm run build:main && npm run ts:defs && npm run build:locale", - "cover": "jest --coverage" + "cover": "jest --coverage", + "prepublishOnly": "npm run build && npm run ts:defs" }, "keywords": [ "VueJS",