Add typescript
This commit is contained in:
5
package-lock.json
generated
5
package-lock.json
generated
@@ -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",
|
||||
|
@@ -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"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user