add compile script

This commit is contained in:
Timo Hocker 2020-05-04 20:38:18 +02:00
parent 9b2d97b9bb
commit 40a204309f

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"
}, },
"dependencies": { "dependencies": {
"@scode/consts": "^1.0.3", "@scode/consts": "^1.0.3",