UNPKG

@synet/email

Version:

Secure, production ready, multi-provider email unit following Unit Architecture principles. Supports SMTP, AWS SES, and Resend.

82 lines (81 loc) 2.53 kB
{ "name": "@synet/email", "version": "1.0.2", "description": "Secure, production ready, multi-provider email unit following Unit Architecture principles. Supports SMTP, AWS SES, and Resend.", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist", "README.md", "CHANGELOG.md" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.js" } }, "repository": { "type": "git", "url": "git+https://github.com/synthetism/email.git" }, "scripts": { "build": "tsc", "test": "vitest run", "test:watch": "vitest", "test:coverage": "vitest run --coverage", "test:online": "npm run build && node scripts/online-test.js", "demo": "npx tsx demo/email-demo.ts", "demo:real": "npx tsx demo/real-email-demo.ts", "demo:nodemailer": "npx tsx demo/nodemailer-test.ts", "demo:adapter": "npx tsx demo/nodemailer-adapter-test.ts", "demo:resend": "npx tsx demo/resend-test.ts", "demo:ai": "npx tsx demo/ai-email.demo.ts", "clean": "rimraf dist", "lint": "biome lint ./src", "lint:fix": "biome lint --write ./src", "format": "biome format --write ./src ./test", "type-check": "tsc --noEmit --skipLibCheck", "prepublishOnly": "npm run clean && npm run lint && npm run type-check && npm run test && npm run build", "version:dev": "npm version --no-git-tag-version prerelease --preid=dev", "version:patch": "npm version --no-git-tag-version patch", "version:minor": "npm version --no-git-tag-version minor", "version:major": "npm version --no-git-tag-version major", "publish:dev": "npm publish --registry=http://registry.dig.run/ --tag dev", "publish:prod": "npm publish --registry=https://registry.npmjs.org/" }, "devDependencies": { "@biomejs/biome": "^1.9.4", "@types/node": "^22.15.17", "@types/nodemailer": "^6.4.17", "@vitest/coverage-v8": "^3.1.3", "rimraf": "^6.0.1", "typescript": "^5.9.2", "vitest": "^3.1.3" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "keywords": [ "email", "email-sending", "smtp", "aws-ses", "resend", "zero-dependency", "secure-email" ], "author": "Synet Team", "homepage": "https://synthetism.ai", "email": "core@synthetism.ai", "license": "MIT", "engines": { "node": ">=18.0.0" }, "dependencies": { "@synet/unit": "^1.0.7", "nodemailer": "^7.0.5" } }