From 40a204309f35679987dd341cefbcec78f6630a89 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Mon, 4 May 2020 20:38:18 +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 2902ab8..19704af 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx,.vue,.mjs", "test": "nyc ava", "ci": "yarn && node jenkins.js", - "mutate": "stryker run" + "mutate": "stryker run", + "compile": "tsc --allowJs --declaration --emitDeclarationOnly index.js" }, "dependencies": { "@scode/consts": "^1.0.3",