add compile script

This commit is contained in:
Timo Hocker 2020-05-04 20:35:17 +02:00
parent 929860cf4e
commit 92827e61d5

View File

@ -16,7 +16,8 @@
"lint": "eslint . --ext .js,.jsx,.ts,.tsx,.vue,.mjs", "lint": "eslint . --ext .js,.jsx,.ts,.tsx,.vue,.mjs",
"test": "nyc ava", "test": "nyc ava",
"ci": "yarn && node jenkins.js", "ci": "yarn && node jenkins.js",
"mutate": "stryker run" "mutate": "stryker run",
"compile": "tsc --allowJs --declaration --emitDeclarationOnly index.js"
}, },
"files": [ "files": [
"LICENSE", "LICENSE",