-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
44 lines (44 loc) · 1.19 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
{
"name": "backend",
"version": "1.0.0",
"description": "Portfolio backend (nodejs, express, mongodb)",
"main": "./src/server.js",
"author": "thaolaptrinh",
"license": "MIT",
"type": "module",
"scripts": {
"dev": "cross-env NODE_ENV=development NODE_CONFIG_DIR=./src/config node --watch ./src/server.js",
"prod": "cross-env NODE_ENV=production NODE_CONFIG_DIR=./src/config node --watch ./src/server.js",
"start": "pm2 start ecosystem.config.cjs",
"format": "prettier --write src/",
"lint": "eslint",
"prepare": "husky"
},
"dependencies": {
"bcryptjs": "^2.4.3",
"config": "^3.3.11",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"helmet": "^7.1.0",
"http-errors": "^2.0.0",
"http-status": "^1.7.4",
"joi": "^17.13.1",
"jsonwebtoken": "^9.0.2",
"moment": "^2.30.1",
"mongoose": "^8.4.0",
"morgan": "^1.10.0",
"nodemailer": "^6.9.13",
"pm2": "^5.4.0",
"winston": "^3.13.0",
"winston-daily-rotate-file": "^5.0.0"
},
"devDependencies": {
"@eslint/js": "^9.4.0",
"cross-env": "^7.0.3",
"eslint": "9.x",
"globals": "^15.3.0",
"husky": "^9.0.11",
"prettier": "^3.2.5"
}
}