-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
70 lines (70 loc) · 1.83 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
{
"name": "lettercoder",
"version": "0.1.1",
"description": "Quoted-printable (RFC 2045) and mime word (RFC 2047) decoding",
"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",
"quoted-printable",
"mime-message",
"decoder",
"typescript",
"isomorphic"
],
"scripts": {
"prepare": "npm run build",
"build": "npm run build:cjs && npm run build:esm",
"build:esm": "tsc --module esnext --moduleResolution node --outDir lib/esm && echo '{\"type\": \"module\"}' > lib/esm/package.json",
"build:cjs": "tsc --module commonjs --moduleResolution node --outDir lib/cjs && echo '{\"type\": \"commonjs\"}' > lib/cjs/package.json",
"test": "vitest",
"coverage": "vitest --coverage --run"
},
"repository": {
"type": "git",
"url": "https://github.com/mat-sz/lettercoder.git"
},
"bugs": {
"url": "https://github.com/mat-sz/lettercoder/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/lettercoder",
"author": "Mat Sz <[email protected]>",
"license": "BSD-3-Clause-Clear",
"devDependencies": {
"@types/node": "^20.11.5",
"@vitest/coverage-v8": "^0.34.5",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"typescript": "^5.3.3",
"vitest": "^0.34.5"
},
"dependencies": {
"base64-js": "^1.5.1"
}
}