-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.85 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 1.85 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
{
"name": "nodejs-express-mongodb-ts-jwt-api",
"version": "1.0.0",
"description": "Node.js + Express + MongoDB + TypeScript + JWT API",
"main": "src/index.ts",
"scripts": {
"dev": "npx tsx watch --tsconfig tsconfig.json src/index.ts",
"start": "npm run build && node build/main",
"build": "rimraf ./build && npx tsc",
"lint": "npx eslint ./src",
"format": "npx eslint ./src --fix",
"prettier": "prettier --write **/*.{js,jsx,ts,tsx,css,md,json,scss} --config ./.prettierrc"
},
"type": "module",
"keywords": [],
"author": "Ruslan Tsiapko",
"license": "ISC",
"dependencies": {
"bcrypt": "^5.1.1",
"compression": "^1.7.4",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"envalid": "^8.0.0",
"express": "^4.18.2",
"helmet": "^7.1.0",
"joi": "^17.11.0",
"jsonwebtoken": "^9.0.2",
"mongoose": "^8.0.3",
"morgan": "^1.10.0",
"nodemailer": "^6.9.7",
"winston": "^3.11.0"
},
"devDependencies": {
"@types/bcrypt": "^5.0.2",
"@types/compression": "^1.7.5",
"@types/config": "^3.3.3",
"@types/cookie-parser": "^1.4.6",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jsonwebtoken": "^9.0.5",
"@types/morgan": "^1.9.9",
"@types/node": "^20.10.5",
"@types/nodemailer": "^6.4.14",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"eslint": "^8.56.0",
"husky": "^8.0.3",
"prettier": "^3.1.1",
"rimraf": "^5.0.5",
"ts-node": "^10.9.2",
"tsx": "^4.7.0",
"typescript": "^5.3.3"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
}
}