open-mail-cli 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,92 @@
1
+ {
2
+ "name": "open-mail-cli",
3
+ "version": "1.0.0",
4
+ "description": "A command-line email client with IMAP/SMTP support",
5
+ "main": "dist/index.js",
6
+ "bin": {
7
+ "email-cli": "./dist/index.js"
8
+ },
9
+ "scripts": {
10
+ "build": "tsup",
11
+ "dev": "tsup --watch",
12
+ "start": "tsx src/index.ts",
13
+ "test": "vitest run",
14
+ "test:watch": "vitest",
15
+ "test:coverage": "vitest run --coverage",
16
+ "type-check": "tsc --noEmit",
17
+ "lint": "eslint src tests --ext .ts",
18
+ "lint:fix": "eslint src tests --ext .ts --fix",
19
+ "format": "prettier --write \".src/**/*.ts\" \".tests/**/*.ts\"",
20
+ "format:check": "prettier --check \".src/**/*.ts\" \".tests/**/*.ts\"",
21
+ "prepare": "husky",
22
+ "build:binary": "pnpm build && pkg dist/index.js --targets node18-macos-x64,node18-macos-arm64,node18-linux-x64,node18-linux-arm64,node18-win-x64 --output dist/binary/mail-client",
23
+ "build:binary:macos": "pnpm build && pkg dist/index.js --targets node18-macos-arm64 --output dist/binary/mail-client-macos",
24
+ "build:binary:linux": "pnpm build && pkg dist/index.js --targets node18-linux-x64 --output dist/binary/mail-client-linux",
25
+ "build:binary:windows": "pnpm build && pkg dist/index.js --targets node18-win-x64 --output dist/binary/mail-client.exe",
26
+ "prepublishOnly": "pnpm build && pnpm lint"
27
+ },
28
+ "lint-staged": {
29
+ "src/**/*.ts": [
30
+ "eslint --fix",
31
+ "prettier --write"
32
+ ],
33
+ "tests/**/*.ts": [
34
+ "eslint --fix",
35
+ "prettier --write"
36
+ ]
37
+ },
38
+ "keywords": [
39
+ "email",
40
+ "imap",
41
+ "smtp",
42
+ "cli",
43
+ "email-cli"
44
+ ],
45
+ "author": "",
46
+ "license": "MIT",
47
+ "engines": {
48
+ "node": ">=18.0.0"
49
+ },
50
+ "dependencies": {
51
+ "better-sqlite3": "^9.0.0",
52
+ "chalk": "^4.1.2",
53
+ "cli-table3": "^0.6.3",
54
+ "commander": "^11.1.0",
55
+ "dotenv": "^16.3.1",
56
+ "inquirer": "^8.2.6",
57
+ "mailparser": "^3.6.5",
58
+ "node-imap": "^0.9.6",
59
+ "node-notifier": "^10.0.1",
60
+ "nodemailer": "^6.9.7",
61
+ "ora": "^5.4.1",
62
+ "prompts": "^2.4.2"
63
+ },
64
+ "devDependencies": {
65
+ "@types/better-sqlite3": "^7.6.13",
66
+ "@types/inquirer": "^9.0.9",
67
+ "@types/mailparser": "^3.4.6",
68
+ "@types/node": "^25.2.2",
69
+ "@types/node-notifier": "^8.0.5",
70
+ "@types/nodemailer": "^7.0.9",
71
+ "@typescript-eslint/eslint-plugin": "^8.54.0",
72
+ "@typescript-eslint/parser": "^8.54.0",
73
+ "@vitest/coverage-v8": "^4.0.18",
74
+ "eslint": "^8.54.0",
75
+ "eslint-plugin-import": "^2.32.0",
76
+ "husky": "^9.1.7",
77
+ "jest": "^29.7.0",
78
+ "lint-staged": "^16.2.7",
79
+ "pkg": "^5.8.1",
80
+ "prettier": "^3.8.1",
81
+ "tsup": "^8.5.1",
82
+ "tsx": "^4.21.0",
83
+ "typescript": "^5.9.3",
84
+ "vitest": "^4.0.18"
85
+ },
86
+ "packageManager": "pnpm@10.15.1+sha512.34e538c329b5553014ca8e8f4535997f96180a1d0f614339357449935350d924e22f8614682191264ec33d1462ac21561aff97f6bb18065351c162c7e8f6de67",
87
+ "files": [
88
+ "dist",
89
+ "README.md",
90
+ "LICENSE"
91
+ ]
92
+ }