-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
81 lines (81 loc) · 2.07 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
{
"name": "letterparser",
"version": "0.1.8",
"description": "Raw e-mail parsing with MIME and plaintext support (isomorphic)",
"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"
}
},
"type": "module",
"keywords": [
"email",
"e-mail",
"mail",
"mime",
"mailparser",
"emailparser",
"mail-parser",
"email-parser",
"e-mail-parser",
"mime-parser",
"mime-message",
"mime-message-parser",
"parser",
"typescript",
"isomorphic"
],
"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",
"lint": "eslint src"
},
"repository": {
"type": "git",
"url": "https://github.com/mat-sz/letterparser.git"
},
"bugs": {
"url": "https://github.com/mat-sz/letterparser/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/mat-sz/letterparser",
"author": "Mat Sz <contact@matsz.dev>",
"license": "BSD-3-Clause-Clear",
"devDependencies": {
"@types/node": "^20.5.0",
"@typescript-eslint/eslint-plugin": "^5.36.2",
"@typescript-eslint/parser": "^5.36.2",
"@vitest/coverage-v8": "^0.34.5",
"eslint": "^8.23.1",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"typescript": "^5.1.6",
"vitest": "^0.34.5"
},
"dependencies": {
"base64-js": "^1.5.1",
"lettercoder": "^0.0.7"
}
}