Transition to TypeScript

This commit is contained in:
Gabe Farrell 2023-12-04 05:04:20 +00:00
parent c3788cc413
commit 92bf5eda58
11 changed files with 273 additions and 2163 deletions

View file

@ -2,7 +2,7 @@
"name": "mailer",
"version": "1.0.0",
"description": "E-Mailer microservice for the Talgo Cloud infrastructure.",
"main": "./src/index.js",
"main": "./src/index.ts",
"repository": "github.com/talgo-cloud/Mailer",
"license": "MIT",
"private": true,
@ -11,13 +11,18 @@
"@aws-sdk/client-sesv2": "^3.465.0",
"aws-sdk": "^2.1507.0",
"express": "^4.18.2",
"fs": "^0.0.1-security",
"max-listeners-exceeded-warning": "^0.0.1",
"nodemon": "^3.0.1",
"pug": "^3.0.2",
"squirrelly": "^9.0.0"
},
"type": "module",
"scripts": {
"dev": ". ./.env && node ./src/index.js"
"dev": ". ./.env && nodemon --exec node --loader ts-node/esm ./src/index.ts"
},
"devDependencies": {
"@types/node": "^20.10.3",
"ts-node": "^10.9.1",
"typescript": "^5.3.2"
}
}