@razmatinyan/nuxt-email 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +272 -0
- package/dist/module.d.mts +7 -0
- package/dist/module.json +12 -0
- package/dist/module.mjs +190 -0
- package/dist/runtime/server/api/config.get.d.ts +5 -0
- package/dist/runtime/server/api/config.get.js +10 -0
- package/dist/runtime/server/api/devtools.d.ts +2 -0
- package/dist/runtime/server/api/devtools.js +265 -0
- package/dist/runtime/server/api/log.get.d.ts +2 -0
- package/dist/runtime/server/api/log.get.js +5 -0
- package/dist/runtime/server/api/preview.d.ts +2 -0
- package/dist/runtime/server/api/preview.js +12 -0
- package/dist/runtime/server/api/send-test.post.d.ts +2 -0
- package/dist/runtime/server/api/send-test.post.js +33 -0
- package/dist/runtime/server/api/templates.get.d.ts +5 -0
- package/dist/runtime/server/api/templates.get.js +8 -0
- package/dist/runtime/server/composables/useEmail.d.ts +9 -0
- package/dist/runtime/server/composables/useEmail.js +96 -0
- package/dist/runtime/server/utils/dev-log.d.ts +14 -0
- package/dist/runtime/server/utils/dev-log.js +8 -0
- package/dist/runtime/server/utils/email-utils.d.ts +9 -0
- package/dist/runtime/server/utils/email-utils.js +134 -0
- package/dist/runtime/server/utils/providers/console.d.ts +6 -0
- package/dist/runtime/server/utils/providers/console.js +44 -0
- package/dist/runtime/server/utils/providers/fetch.d.ts +1 -0
- package/dist/runtime/server/utils/providers/index.d.ts +9 -0
- package/dist/runtime/server/utils/providers/index.js +33 -0
- package/dist/runtime/server/utils/providers/postmark.d.ts +8 -0
- package/dist/runtime/server/utils/providers/postmark.js +94 -0
- package/dist/runtime/server/utils/providers/resend.d.ts +8 -0
- package/dist/runtime/server/utils/providers/resend.js +73 -0
- package/dist/runtime/server/utils/providers/sendgrid.d.ts +8 -0
- package/dist/runtime/server/utils/providers/sendgrid.js +99 -0
- package/dist/runtime/server/utils/providers/shared.d.ts +7 -0
- package/dist/runtime/server/utils/providers/shared.js +29 -0
- package/dist/runtime/server/utils/providers/smtp.d.ts +8 -0
- package/dist/runtime/server/utils/providers/smtp.js +85 -0
- package/dist/runtime/server/utils/template-renderer.d.ts +5 -0
- package/dist/runtime/server/utils/template-renderer.js +10 -0
- package/dist/runtime/server/utils/templates.d.ts +4 -0
- package/dist/runtime/server/utils/templates.js +17 -0
- package/dist/runtime/templates.d.ts +6 -0
- package/dist/runtime/types/index.d.ts +110 -0
- package/dist/runtime/types/index.js +0 -0
- package/dist/types.d.mts +9 -0
- package/package.json +84 -0
package/package.json
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@razmatinyan/nuxt-email",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Transactional email for Nuxt 4 with multi-provider support and Vue templates",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/razmatinyan/nuxt-email.git"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/razmatinyan/nuxt-email#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/razmatinyan/nuxt-email/issues"
|
|
14
|
+
},
|
|
15
|
+
"publishConfig": {
|
|
16
|
+
"access": "public"
|
|
17
|
+
},
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./dist/types.d.mts",
|
|
21
|
+
"import": "./dist/module.mjs"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"main": "./dist/module.mjs",
|
|
25
|
+
"typesVersions": {
|
|
26
|
+
"*": {
|
|
27
|
+
".": [
|
|
28
|
+
"./dist/types.d.mts"
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"files": [
|
|
33
|
+
"dist"
|
|
34
|
+
],
|
|
35
|
+
"keywords": [
|
|
36
|
+
"nuxt",
|
|
37
|
+
"nuxt-module",
|
|
38
|
+
"email",
|
|
39
|
+
"transactional-email",
|
|
40
|
+
"vue-email"
|
|
41
|
+
],
|
|
42
|
+
"scripts": {
|
|
43
|
+
"prepack": "nuxt-module-build build",
|
|
44
|
+
"dev": "nuxi dev playground",
|
|
45
|
+
"dev:build": "nuxi build playground",
|
|
46
|
+
"dev:prepare": "nuxt-module-build build --stub",
|
|
47
|
+
"lint": "eslint .",
|
|
48
|
+
"test": "vitest run",
|
|
49
|
+
"test:unit": "vitest run test/unit",
|
|
50
|
+
"test:integration": "vitest run test/integration",
|
|
51
|
+
"test:watch": "vitest watch",
|
|
52
|
+
"test:coverage": "vitest run --coverage",
|
|
53
|
+
"release": "npm test && changelogen --release && npm publish && git push --follow-tags"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@nuxt/devtools-kit": "^2.0.0",
|
|
57
|
+
"@nuxt/kit": "^4.0.0",
|
|
58
|
+
"juice": "^11.1.1",
|
|
59
|
+
"unplugin-vue": "^7.2.0"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@nuxt/eslint-config": "latest",
|
|
63
|
+
"@nuxt/module-builder": "^1.0.0",
|
|
64
|
+
"@nuxt/test-utils": "^4.0.3",
|
|
65
|
+
"@nuxtjs/tailwindcss": "^6.14.0",
|
|
66
|
+
"@types/node": "^25.9.1",
|
|
67
|
+
"@types/nodemailer": "latest",
|
|
68
|
+
"@vitest/coverage-v8": "latest",
|
|
69
|
+
"changelogen": "latest",
|
|
70
|
+
"eslint": "latest",
|
|
71
|
+
"nodemailer": "^8.0.11",
|
|
72
|
+
"nuxt": "^4.0.0",
|
|
73
|
+
"vitest": "latest"
|
|
74
|
+
},
|
|
75
|
+
"peerDependencies": {
|
|
76
|
+
"nodemailer": "^7.0.0 || ^8.0.0",
|
|
77
|
+
"nuxt": "^4.0.0"
|
|
78
|
+
},
|
|
79
|
+
"peerDependenciesMeta": {
|
|
80
|
+
"nodemailer": {
|
|
81
|
+
"optional": true
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|