add compile script

This commit is contained in:
Timo Hocker 2020-05-04 20:33:26 +02:00
parent 0e6b089c28
commit c75860621a

View File

@ -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",