add compile script

This commit is contained in:
Timo Hocker 2020-05-04 20:38:40 +02:00
parent f84b9a2de1
commit d66efe847b

View File

@ -11,7 +11,8 @@
"scripts": { "scripts": {
"lint": "eslint . --ext .js,.jsx,.ts,.tsx,.vue,.mjs", "lint": "eslint . --ext .js,.jsx,.ts,.tsx,.vue,.mjs",
"test": "echo \"no test\"", "test": "echo \"no test\"",
"ci": "yarn && node jenkins.js" "ci": "yarn && node jenkins.js",
"compile": "tsc --allowJs --declaration --emitDeclarationOnly index.js"
}, },
"engines": { "engines": {
"node": ">=10.0.0" "node": ">=10.0.0"