Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
120 lines (120 loc) · 3.13 KB
/
Copy pathpackage.json
File metadata and controls
120 lines (120 loc) · 3.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "milter",
"title": "Milter",
"version": "3.0.0",
"description": "Milter server for asynchronous Node.js mail filters and message mutation",
"homepage": "https://raw.org/software/libraries/milter-js/",
"bugs": {
"url": "https://github.com/rawify/Milter.js/issues"
},
"keywords": [
"milter",
"protocol",
"smtp",
"mail",
"server",
"postfix",
"sendmail",
"opensmtpd",
"spam-filter",
"email-security"
],
"private": false,
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"res",
"README.md",
"LICENSE"
],
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"default": "./dist/index.js"
},
"./constants": {
"import": {
"types": "./dist/constants.d.ts",
"default": "./dist/constants.js"
},
"require": {
"types": "./dist/constants.d.cts",
"default": "./dist/constants.cjs"
},
"default": "./dist/constants.js"
},
"./package.json": "./package.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rawify/Milter.js.git"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/rawify"
},
"author": {
"name": "Robert Eisele",
"email": "robert@raw.org",
"url": "https://raw.org/"
},
"license": "MIT",
"engines": {
"node": ">=22.19.0"
},
"packageManager": "npm@10.9.7",
"sideEffects": false,
"scripts": {
"clean": "rm -rf dist",
"build": "tsup",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"example:dmarc": "npm run build && node examples/dmarc-collector.mjs",
"example:dmarc:db": "npm run build && node examples/dmarc-collector-db.mjs",
"example:chatgpt-spamfilter": "npm run build && node examples/spamfilter/chatgpt-spamfilter.mjs",
"example:ollama-spamfilter": "npm run build && node examples/spamfilter/ollama-spamfilter.mjs",
"example:simple-spamfilter": "npm run build && node examples/spamfilter/simple-spamfilter.mjs",
"example:domaindata-holo-check": "npm run build && node examples/domaindata-holo-check.mjs",
"test": "npm run build && node --test tests/*.test.mjs",
"check": "npm run lint && npm run typecheck && npm run test",
"prepack": "npm run build",
"prepublishOnly": "npm run check"
},
"devDependencies": {
"@eslint/js": "^9.34.0",
"@stylistic/eslint-plugin": "^5.10.0",
"@types/node": "^22.18.0",
"dotenv": "^17.2.2",
"eslint": "^9.34.0",
"globals": "^16.4.0",
"mailparser": "^3.9.17",
"ollama": "^0.6.3",
"openai": "^5.20.3",
"tldts": "^7.0.13",
"tsup": "^8.5.0",
"typescript": "^5.9.2",
"typescript-eslint": "^8.41.0"
},
"overrides": {
"esbuild": "0.27.2",
"joi": "18.2.9",
"nodemailer": "10.0.10"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"mailauth": "^5.0.3"
}
}