now typescript

This commit is contained in:
2024-02-03 00:35:29 +01:00
parent 3298f85120
commit a8cce75725
24 changed files with 4801 additions and 269 deletions
+10 -1
View File
@@ -4,7 +4,8 @@
"description": "auth-guardian a library for enhancing application security",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "jest",
"build": "tsc"
},
"repository": {
"type": "git",
@@ -20,7 +21,15 @@
"author": "kaj van schalkwijk",
"license": "MIT",
"dependencies": {
"@types/bcrypt": "^5.0.2",
"@types/jsonwebtoken": "^9.0.5",
"bcrypt": "^5.1.1",
"jsonwebtoken": "^9.0.2"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"jest": "^29.7.0",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2"
}
}