@emailens/engine 0.9.0 → 0.9.2
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/README.md +27 -8
- package/dist/index.cjs +95 -36
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +95 -36
- package/dist/index.js.map +1 -1
- package/package.json +120 -120
package/package.json
CHANGED
|
@@ -1,121 +1,121 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@emailens/engine",
|
|
3
|
-
"version": "0.9.
|
|
4
|
-
"description": "Email compatibility engine — transforms CSS per email client, scores compatibility, simulates dark mode, suggests fixes, and runs spam, accessibility, link, and image quality analysis.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"exports": {
|
|
7
|
-
".": {
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"import": "./dist/index.js",
|
|
10
|
-
"require": "./dist/index.cjs"
|
|
11
|
-
},
|
|
12
|
-
"./compile": {
|
|
13
|
-
"types": "./dist/compile/index.d.ts",
|
|
14
|
-
"import": "./dist/compile/index.js",
|
|
15
|
-
"require": "./dist/compile/index.cjs"
|
|
16
|
-
},
|
|
17
|
-
"./server": {
|
|
18
|
-
"types": "./dist/server.d.ts",
|
|
19
|
-
"import": "./dist/server.js",
|
|
20
|
-
"require": "./dist/server.cjs"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"types": "./dist/index.d.ts",
|
|
24
|
-
"sideEffects": false,
|
|
25
|
-
"engines": {
|
|
26
|
-
"node": ">=18"
|
|
27
|
-
},
|
|
28
|
-
"files": [
|
|
29
|
-
"dist",
|
|
30
|
-
"LICENSE"
|
|
31
|
-
],
|
|
32
|
-
"scripts": {
|
|
33
|
-
"build": "tsup",
|
|
34
|
-
"dev": "tsup --watch",
|
|
35
|
-
"typecheck": "tsc --noEmit",
|
|
36
|
-
"sync:caniemail": "bun run scripts/sync-caniemail.ts",
|
|
37
|
-
"check:freshness": "bun run scripts/check-data-freshness.ts",
|
|
38
|
-
"test": "bun test",
|
|
39
|
-
"prepublishOnly": "bun run build"
|
|
40
|
-
},
|
|
41
|
-
"dependencies": {
|
|
42
|
-
"cheerio": "^1.2.0",
|
|
43
|
-
"css-tree": "^3.1.0"
|
|
44
|
-
},
|
|
45
|
-
"peerDependencies": {
|
|
46
|
-
"@maizzle/framework": ">=5.0.0",
|
|
47
|
-
"@react-email/components": ">=0.0.36",
|
|
48
|
-
"@react-email/render": ">=1.0.0",
|
|
49
|
-
"isolated-vm": ">=5.0.0",
|
|
50
|
-
"mjml": ">=4.0.0",
|
|
51
|
-
"quickjs-emscripten": ">=0.29.0",
|
|
52
|
-
"react": "^18.0.0 || ^19.0.0",
|
|
53
|
-
"sucrase": "^3.35.0"
|
|
54
|
-
},
|
|
55
|
-
"peerDependenciesMeta": {
|
|
56
|
-
"sucrase": {
|
|
57
|
-
"optional": true
|
|
58
|
-
},
|
|
59
|
-
"react": {
|
|
60
|
-
"optional": true
|
|
61
|
-
},
|
|
62
|
-
"@react-email/components": {
|
|
63
|
-
"optional": true
|
|
64
|
-
},
|
|
65
|
-
"@react-email/render": {
|
|
66
|
-
"optional": true
|
|
67
|
-
},
|
|
68
|
-
"mjml": {
|
|
69
|
-
"optional": true
|
|
70
|
-
},
|
|
71
|
-
"@maizzle/framework": {
|
|
72
|
-
"optional": true
|
|
73
|
-
},
|
|
74
|
-
"isolated-vm": {
|
|
75
|
-
"optional": true
|
|
76
|
-
},
|
|
77
|
-
"quickjs-emscripten": {
|
|
78
|
-
"optional": true
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
"devDependencies": {
|
|
82
|
-
"@maizzle/framework": "^5.0.0",
|
|
83
|
-
"@react-email/components": "^0.0.36",
|
|
84
|
-
"@react-email/render": "^1.0.6",
|
|
85
|
-
"@types/bun": "^1.3.9",
|
|
86
|
-
"@types/css-tree": "^2.3.11",
|
|
87
|
-
"@types/mjml": "^4.7.4",
|
|
88
|
-
"@types/node": "^25.3.0",
|
|
89
|
-
"@types/react": "^19.2.14",
|
|
90
|
-
"bun-types": "^1.3.9",
|
|
91
|
-
"mjml": "^4.15.0",
|
|
92
|
-
"react": "^19.0.0",
|
|
93
|
-
"sucrase": "^3.35.0",
|
|
94
|
-
"tsup": "^8.4.0",
|
|
95
|
-
"typescript": "^5.9.3"
|
|
96
|
-
},
|
|
97
|
-
"keywords": [
|
|
98
|
-
"email",
|
|
99
|
-
"html-email",
|
|
100
|
-
"css",
|
|
101
|
-
"compatibility",
|
|
102
|
-
"gmail",
|
|
103
|
-
"outlook",
|
|
104
|
-
"apple-mail",
|
|
105
|
-
"dark-mode",
|
|
106
|
-
"email-testing",
|
|
107
|
-
"spam-scoring",
|
|
108
|
-
"accessibility",
|
|
109
|
-
"link-validation",
|
|
110
|
-
"image-analysis"
|
|
111
|
-
],
|
|
112
|
-
"license": "MIT",
|
|
113
|
-
"repository": {
|
|
114
|
-
"type": "git",
|
|
115
|
-
"url": "git+https://github.com/emailens/engine.git"
|
|
116
|
-
},
|
|
117
|
-
"homepage": "https://github.com/emailens/engine#readme",
|
|
118
|
-
"bugs": {
|
|
119
|
-
"url": "https://github.com/emailens/engine/issues"
|
|
120
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@emailens/engine",
|
|
3
|
+
"version": "0.9.2",
|
|
4
|
+
"description": "Email compatibility engine — transforms CSS per email client, scores compatibility, simulates dark mode, suggests fixes, and runs spam, accessibility, link, and image quality analysis.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"import": "./dist/index.js",
|
|
10
|
+
"require": "./dist/index.cjs"
|
|
11
|
+
},
|
|
12
|
+
"./compile": {
|
|
13
|
+
"types": "./dist/compile/index.d.ts",
|
|
14
|
+
"import": "./dist/compile/index.js",
|
|
15
|
+
"require": "./dist/compile/index.cjs"
|
|
16
|
+
},
|
|
17
|
+
"./server": {
|
|
18
|
+
"types": "./dist/server.d.ts",
|
|
19
|
+
"import": "./dist/server.js",
|
|
20
|
+
"require": "./dist/server.cjs"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"types": "./dist/index.d.ts",
|
|
24
|
+
"sideEffects": false,
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": ">=18"
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"dist",
|
|
30
|
+
"LICENSE"
|
|
31
|
+
],
|
|
32
|
+
"scripts": {
|
|
33
|
+
"build": "tsup",
|
|
34
|
+
"dev": "tsup --watch",
|
|
35
|
+
"typecheck": "tsc --noEmit",
|
|
36
|
+
"sync:caniemail": "bun run scripts/sync-caniemail.ts",
|
|
37
|
+
"check:freshness": "bun run scripts/check-data-freshness.ts",
|
|
38
|
+
"test": "bun test",
|
|
39
|
+
"prepublishOnly": "bun run build"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"cheerio": "^1.2.0",
|
|
43
|
+
"css-tree": "^3.1.0"
|
|
44
|
+
},
|
|
45
|
+
"peerDependencies": {
|
|
46
|
+
"@maizzle/framework": ">=5.0.0",
|
|
47
|
+
"@react-email/components": ">=0.0.36",
|
|
48
|
+
"@react-email/render": ">=1.0.0",
|
|
49
|
+
"isolated-vm": ">=5.0.0",
|
|
50
|
+
"mjml": ">=4.0.0",
|
|
51
|
+
"quickjs-emscripten": ">=0.29.0",
|
|
52
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
53
|
+
"sucrase": "^3.35.0"
|
|
54
|
+
},
|
|
55
|
+
"peerDependenciesMeta": {
|
|
56
|
+
"sucrase": {
|
|
57
|
+
"optional": true
|
|
58
|
+
},
|
|
59
|
+
"react": {
|
|
60
|
+
"optional": true
|
|
61
|
+
},
|
|
62
|
+
"@react-email/components": {
|
|
63
|
+
"optional": true
|
|
64
|
+
},
|
|
65
|
+
"@react-email/render": {
|
|
66
|
+
"optional": true
|
|
67
|
+
},
|
|
68
|
+
"mjml": {
|
|
69
|
+
"optional": true
|
|
70
|
+
},
|
|
71
|
+
"@maizzle/framework": {
|
|
72
|
+
"optional": true
|
|
73
|
+
},
|
|
74
|
+
"isolated-vm": {
|
|
75
|
+
"optional": true
|
|
76
|
+
},
|
|
77
|
+
"quickjs-emscripten": {
|
|
78
|
+
"optional": true
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"devDependencies": {
|
|
82
|
+
"@maizzle/framework": "^5.0.0",
|
|
83
|
+
"@react-email/components": "^0.0.36",
|
|
84
|
+
"@react-email/render": "^1.0.6",
|
|
85
|
+
"@types/bun": "^1.3.9",
|
|
86
|
+
"@types/css-tree": "^2.3.11",
|
|
87
|
+
"@types/mjml": "^4.7.4",
|
|
88
|
+
"@types/node": "^25.3.0",
|
|
89
|
+
"@types/react": "^19.2.14",
|
|
90
|
+
"bun-types": "^1.3.9",
|
|
91
|
+
"mjml": "^4.15.0",
|
|
92
|
+
"react": "^19.0.0",
|
|
93
|
+
"sucrase": "^3.35.0",
|
|
94
|
+
"tsup": "^8.4.0",
|
|
95
|
+
"typescript": "^5.9.3"
|
|
96
|
+
},
|
|
97
|
+
"keywords": [
|
|
98
|
+
"email",
|
|
99
|
+
"html-email",
|
|
100
|
+
"css",
|
|
101
|
+
"compatibility",
|
|
102
|
+
"gmail",
|
|
103
|
+
"outlook",
|
|
104
|
+
"apple-mail",
|
|
105
|
+
"dark-mode",
|
|
106
|
+
"email-testing",
|
|
107
|
+
"spam-scoring",
|
|
108
|
+
"accessibility",
|
|
109
|
+
"link-validation",
|
|
110
|
+
"image-analysis"
|
|
111
|
+
],
|
|
112
|
+
"license": "MIT",
|
|
113
|
+
"repository": {
|
|
114
|
+
"type": "git",
|
|
115
|
+
"url": "git+https://github.com/emailens/engine.git"
|
|
116
|
+
},
|
|
117
|
+
"homepage": "https://github.com/emailens/engine#readme",
|
|
118
|
+
"bugs": {
|
|
119
|
+
"url": "https://github.com/emailens/engine/issues"
|
|
120
|
+
}
|
|
121
121
|
}
|