4d2412a0fe
* Add support for AWS SES and SMTP email transports Signed-off-by: Erin Allison <eallison@andrettikarting.com> * Correct environment variable names for new email settings Signed-off-by: Erin Allison <eallison@andrettikarting.com> * Correct option names being passed to nodemailer for SMTP Signed-off-by: Erin Allison <eallison@andrettikarting.com> * Remove use of AWS SDK synthetic default export It apparently causes issues when transpiled/bundled Signed-off-by: Erin Allison <eallison@andrettikarting.com> * Add documentation for new email settings Signed-off-by: Erin Allison <eallison@andrettikarting.com> * Move nodemailer types to devDependencies Signed-off-by: Erin Allison <eallison@andrettikarting.com> * Adjust mail transport error handling Gotta keep the linter happy :) Signed-off-by: Erin Allison <eallison@andrettikarting.com> * Fix typecheck error on MailTransportOptions Signed-off-by: Erin Allison <eallison@andrettikarting.com> * Correct environment variable usage for SMTP email transport Signed-off-by: Erin Allison <eallison@andrettikarting.com> --------- Signed-off-by: Erin Allison <eallison@andrettikarting.com>
32 lines
700 B
JSON
32 lines
700 B
JSON
{
|
|
"private": true,
|
|
"name": "emails",
|
|
"version": "1.0.0",
|
|
"description": "Send emails",
|
|
"main": "./src/index.tsx",
|
|
"types": "./src/index.tsx",
|
|
"scripts": {
|
|
"dev": "PORT=3080 email dev"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-ses": "^3.716.0",
|
|
"@react-email/components": "0.0.16",
|
|
"@react-email/render": "^0.0.12",
|
|
"nodemailer": "^6.9.16",
|
|
"react": "^18.2.0",
|
|
"react-email": "^2.1.1",
|
|
"resend": "^3.2.0",
|
|
"tiny-invariant": "^1.2.0",
|
|
"zod": "3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^18",
|
|
"@types/nodemailer": "^6.4.17",
|
|
"@types/react": "18.2.69",
|
|
"typescript": "^4.9.4"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
}
|
|
}
|