Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 1.82 KB
/
Copy pathpackage.json
File metadata and controls
49 lines (49 loc) · 1.82 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
{
"name": "legacy-proxy",
"version": "1.0.0",
"private": true,
"license": "AGPL-3.0-only",
"description": "IMAP/SMTP/ManageSieve to JMAP gateway. Speaks JMAP for Mail (RFC 8620 / 8621) on the front, IMAP4rev1 + Submission + ManageSieve on the back, so any JMAP client can talk to a legacy mailserver.",
"type": "module",
"main": "dist/server.js",
"engines": {
"node": ">=22"
},
"scripts": {
"build": "tsc -p tsconfig.json",
"setup": "node scripts/setup.mjs",
"start": "node --env-file=.env --env-file-if-exists=.env.local dist/server.js",
"dev": "tsx watch --env-file=.env --env-file-if-exists=.env.local src/server.ts",
"lint": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"test:integration": "vitest run --config vitest.integration.config.ts",
"test:compliance": "node scripts/run-compliance.mjs",
"test:all": "npm run test && npm run test:integration && npm run test:compliance",
"gmail:password": "node --env-file=.env --env-file-if-exists=.env.local dist/gmail/password.js",
"gmail:check": "node --env-file=.env --env-file-if-exists=.env.local dist/gmail/check.js",
"gmail:disconnect": "node --env-file=.env --env-file-if-exists=.env.local dist/gmail/disconnect.js"
},
"dependencies": {
"@fastify/compress": "^9.1.0",
"@fastify/cors": "^10.0.1",
"@fastify/websocket": "^11.0.1",
"better-sqlite3": "^11.5.0",
"fastify": "^5.1.0",
"google-auth-library": "^11.0.2",
"imapflow": "^1.7.8",
"libqp": "^2.1.1",
"mailparser": "^3.10.0",
"nodemailer": "^6.9.16",
"pino": "^9.5.0"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.11",
"@types/mailparser": "^3.4.5",
"@types/node": "^22.9.0",
"@types/nodemailer": "^6.4.16",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"vitest": "^2.1.4"
}
}