Add typescript

This commit is contained in:
2020-06-14 19:06:25 +05:30
parent e1e05839b1
commit 4c148ab660
2 changed files with 8 additions and 2 deletions

View File

@@ -5,8 +5,8 @@
"main": "out/index.js",
"scripts": {
"test": "tsc && node out",
"build-ts":"tsc",
"start":"node out",
"build-ts": "tsc",
"start": "node out",
"dev": "tsc && node --inspect-brk out",
"postinstall": "npm run build-ts"
},
@@ -31,6 +31,7 @@
},
"dependencies": {
"got": "^11.3.0",
"typescript": "^3.9.5",
"yargs": "^15.3.1"
}
}