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

5
package-lock.json generated
View File

@@ -440,6 +440,11 @@
"ansi-regex": "^5.0.0"
}
},
"typescript": {
"version": "3.9.5",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.5.tgz",
"integrity": "sha512-hSAifV3k+i6lEoCJ2k6R2Z/rp/H3+8sdmcn5NrS3/3kE7+RyZXm9aqvxWqjEXHAd8b0pShatpcdMTvEdvAJltQ=="
},
"which-module": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",

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"
}
}