add compile script

This commit is contained in:
Timo Hocker 2020-05-04 20:36:21 +02:00
parent 9d28aee9de
commit df71184b31

View File

@ -11,7 +11,8 @@
"@stryker-mutator/javascript-mutator": "^3.0.2", "@stryker-mutator/javascript-mutator": "^3.0.2",
"ava": "^3.5.0", "ava": "^3.5.0",
"eslint": "^6.8.0", "eslint": "^6.8.0",
"nyc": "^15.0.0" "nyc": "^15.0.0",
"compile": "tsc --allowJs --declaration --emitDeclarationOnly index.js"
}, },
"scripts": { "scripts": {
"lint": "eslint . --ext .js,.jsx,.ts,.tsx,.vue,.mjs", "lint": "eslint . --ext .js,.jsx,.ts,.tsx,.vue,.mjs",