From a9db2c7f160354d49f553f7af5562c248b7da737 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Mon, 4 May 2020 20:38:30 +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 1dbff67..5c27483 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,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"