From c75860621a398e8cbe3a8d4f896da53f1f930e21 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Mon, 4 May 2020 20:33:26 +0200 Subject: [PATCH] add compile script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3fa4692..6611ffd 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "scripts": { "lint": "eslint . --ext .js,.jsx,.ts,.tsx,.vue,.mjs", "test": "echo \"no test\"", - "ci": "yarn --frozen-lockfile && node jenkins.js" + "ci": "yarn --frozen-lockfile && node jenkins.js", + "compile": "tsc --allowJs --declaration --emitDeclarationOnly index.js" }, "repository": { "type": "git",