-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 1.7 KB
/
package.json
File metadata and controls
67 lines (67 loc) · 1.7 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
{
"name": "@typemail/starttls",
"version": "1.1.1",
"description": "TypeScript library for easy socket upgrades (STARTTLS).",
"type": "module",
"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"
}
},
"keywords": [
"socket",
"server",
"client",
"secure",
"tls",
"ssl",
"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/starttls.git"
},
"bugs": {
"url": "https://github.com/typemail/starttls/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/starttls",
"author": "Mat Sz <contact@matsz.dev>",
"license": "BSD-3-Clause-Clear",
"devDependencies": {
"@vitest/coverage-v8": "^0.34.5",
"husky": "^7.0.4",
"lint-staged": "^12.1.2",
"prettier": "^2.0.2",
"typescript": "^5.2.2",
"vitest": "^0.34.5"
},
"dependencies": {
"@types/node": "^14.0.0"
}
}