-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
83 lines (83 loc) · 2.2 KB
/
package.json
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
{
"name": "@typemail/smtp",
"version": "0.0.6",
"description": "Lightweight implementation of the SMTP protocol for TypeScript.",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts",
"exports": {
".": {
"require": "./lib/cjs/index.js",
"import": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts"
},
"./client": {
"require": "./lib/cjs/client/index.js",
"import": "./lib/esm/client/index.js",
"types": "./lib/esm/client/index.d.ts"
},
"./server": {
"require": "./lib/cjs/server/index.js",
"import": "./lib/esm/server/index.js",
"types": "./lib/esm/server/index.d.ts"
}
},
"type": "module",
"keywords": [
"email",
"e-mail",
"mail",
"mta",
"smtp",
"server",
"client",
"typescript"
],
"scripts": {
"prepare": "npm run build",
"build": "npm run build:cjs && npm run build:esm",
"build:esm": "tsc --module esnext --outDir lib/esm && echo '{\"type\": \"module\"}' > lib/esm/package.json",
"build:cjs": "tsc --module commonjs --outDir lib/cjs && echo '{\"type\": \"commonjs\"}' > lib/cjs/package.json",
"test": "vitest",
"coverage": "vitest --coverage --run"
},
"repository": {
"type": "git",
"url": "https://github.com/typemail/smtp.git"
},
"bugs": {
"url": "https://github.com/typemail/smtp/issues"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
],
"__tests__/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
]
},
"homepage": "https://github.com/typemail/smtp",
"author": "Mat Sz <contact@matsz.dev>",
"license": "BSD-3-Clause-Clear",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.58.0",
"@typescript-eslint/parser": "^5.58.0",
"@vitest/coverage-v8": "^0.34.5",
"eslint": "^8.38.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.1",
"prettier": "^2.8.7",
"typescript": "^5.0.4",
"vitest": "^0.34.5"
},
"dependencies": {
"@typemail/starttls": "^1.1.1",
"@types/node": "^14.0.0",
"streamwire": "^1.0.2"
}
}