Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 3.13 KB
/
Copy pathpackage.json
File metadata and controls
99 lines (99 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
{
"name": "smtp-server",
"version": "3.21.7",
"description": "Create custom SMTP servers on the fly",
"type": "module",
"main": "./dist/cjs/smtp-server.js",
"types": "./dist/cjs/smtp-server.d.ts",
"typesVersions": {
"*": {
"lib/*.js": [
"dist/cjs/*.d.ts"
],
"lib/*": [
"dist/cjs/*.d.ts"
]
}
},
"exports": {
".": {
"import": "./dist/esm/smtp-server.js",
"require": "./dist/cjs/smtp-server.js"
},
"./lib/*.js": {
"import": "./dist/esm/*.js",
"require": "./dist/cjs/*.js"
},
"./lib/*": {
"import": "./dist/esm/*.js",
"require": "./dist/cjs/*.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"CHANGELOG.md",
"SECURITY.md",
"SECURITY.txt"
],
"scripts": {
"build": "node scripts/build.js",
"typecheck": "tsc -p tsconfig.json",
"pretest": "npm run build",
"test": "node --import tsx --test --test-force-exit --test-concurrency=1 --test-timeout=60000 $(find test -name '*-test.ts')",
"pretest:coverage": "npm run build",
"test:coverage": "c8 node --import tsx --test --test-force-exit --test-concurrency=1 --test-timeout=60000 $(find test -name '*-test.ts')",
"pretest:cjs": "npm run build",
"test:cjs": "NODE_OPTIONS=--no-experimental-require-module node test/cjs-smoke.cjs",
"pretest:bun": "npm run build",
"test:bun": "bun test --timeout 60000 $(find ./test -name '*-test.ts')",
"compare": "node --import tsx compare/compare.ts",
"postfix:start": "bash compare/postfix.sh start",
"postfix:stop": "bash compare/postfix.sh stop",
"format": "prettier --write \"**/*.{js,cjs,ts,json,md}\"",
"format:check": "prettier --check \"**/*.{js,cjs,ts,json,md}\"",
"lint": "npm run typecheck && eslint .",
"lint:fix": "eslint . --fix",
"prepare": "npm run build",
"update": "rm -rf node_modules package-lock.json && ncu -u && npm install"
},
"author": "Andris Reinman",
"license": "MIT-0",
"dependencies": {
"nodemailer": "10.6.1",
"punycode.js": "2.3.1"
},
"devDependencies": {
"@eslint/js": "10.0.1",
"@types/node": "20.19.43",
"@types/pem": "1.14.4",
"c8": "12.0.0",
"eslint": "10.15.0",
"eslint-config-prettier": "10.1.8",
"globals": "17.14.0",
"pem": "1.14.8",
"prettier": "3.10.1",
"tsx": "4.23.15",
"typescript": "6.0.3",
"typescript-eslint": "8.73.0"
},
"repository": {
"type": "git",
"url": "git://github.com/nodemailer/smtp-server.git"
},
"bugs": {
"url": "https://github.com/nodemailer/smtp-server/issues"
},
"homepage": "https://nodemailer.com/extras/smtp-server/",
"keywords": [
"SMTP",
"LMTP"
],
"engines": {
"node": ">=20.0.0"
},
"overrides": {
"glob": "14.0.6",
"minimatch": "11.0.8"
}
}