This repository was archived by the owner on Aug 4, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 2.72 KB
/
Copy pathpackage.json
File metadata and controls
86 lines (86 loc) · 2.72 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "ephemeral-mail",
"version": "1.0.0",
"description": "Modern temporary email service with TypeScript, Express, and Prisma",
"main": "dist/index.js",
"scripts": {
"build": "tsc && tsc-alias",
"start": "node -r tsconfig-paths/register dist/index.js",
"start:prod": "node dist/index.js",
"dev": "tsx watch src/index.ts",
"test": "jest",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"clean": "rimraf dist",
"clean:all": "rimraf dist node_modules && npm install",
"clean:logs": "rimraf logs/*.log",
"clean:db": "rimraf prisma/*.db prisma/*.db-journal",
"clean:redundant": "find . -name '*_old*' -o -name '*_OLD*' -o -name '*_new*' -o -name '*_NEW*' -o -name '*.bak' -o -name '*.backup' | xargs rm -f",
"prebuild": "npm run clean",
"deploy": "./deploy.sh",
"docker:build": "docker build -t ephemeral-mail .",
"docker:run": "docker-compose up -d",
"docker:stop": "docker-compose down",
"db:setup": "npx prisma generate && npx prisma db push",
"db:migrate": "npx prisma migrate dev",
"db:reset": "npx prisma migrate reset",
"logs": "tail -f logs/app.log",
"pm2:start": "pm2 start dist/index.js --name ephemeral-mail",
"pm2:stop": "pm2 stop ephemeral-mail",
"pm2:restart": "pm2 restart ephemeral-mail",
"pm2:logs": "pm2 logs ephemeral-mail"
},
"keywords": [
"email",
"temporary",
"disposable",
"smtp",
"mailserver"
],
"repository": {
"type": "git",
"url": "https://github.com/tacssuki/EphemeralMail.git"
},
"bugs": {
"url": "https://github.com/tacssuki/EphemeralMail/issues"
},
"homepage": "https://github.com/tacssuki/EphemeralMail#readme",
"author": "tacssuki",
"license": "MIT",
"devDependencies": {
"@types/cookie-parser": "^1.4.9",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.24",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.8",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"rimraf": "^5.0.10",
"ts-jest": "^29.1.2",
"tsc-alias": "^1.8.16",
"tsconfig-paths": "^4.2.0",
"tsx": "^4.7.1",
"typescript": "^5.4.2"
},
"dependencies": {
"@prisma/client": "^5.10.2",
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.18.3",
"express-rate-limit": "^7.2.0",
"helmet": "^7.1.0",
"joi": "^17.12.2",
"mailparser": "^3.6.9",
"nanoid": "^5.0.6",
"prisma": "^5.10.2",
"smtp-server": "^3.13.0",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.0",
"winston": "^3.12.0"
}
}