added typescript

This commit is contained in:
Anatoly 2018-05-18 19:22:24 +03:00
parent 7e83c0d254
commit 7141c1be92
2 changed files with 8 additions and 1 deletions

6
package-lock.json generated
View file

@ -483,6 +483,12 @@
"resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
"integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU="
},
"typescript": {
"version": "2.8.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-2.8.3.tgz",
"integrity": "sha512-K7g15Bb6Ra4lKf7Iq2l/I5/En+hLIHmxWZGq3D4DIRNFxMNV6j2SHSvDOqs2tGd4UvD/fJvrwopzQXjLrT7Itw==",
"dev": true
},
"util-deprecate": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",

View file

@ -20,7 +20,8 @@
"@types/mysql": "^2.15.4",
"@types/node": "^10.0.2",
"@types/pg": "^7.4.8",
"tape": "^4.8.0"
"tape": "^4.8.0",
"typescript": "^2.8.3"
},
"scripts": {
"compile_test": "tsc --outDir ./build --module commonjs ./src/*.ts && node ./build/Main.js",