-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
113 lines (113 loc) · 2.85 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
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "backend",
"version": "1.0.0",
"private": true,
"main": "index.ts",
"author": "catmika",
"license": "ISC",
"scripts": {
"start": "ts-node ./src/index.ts",
"dev": "nodemon ./src/index.ts",
"dev-watch": "nodemon --inspect ./dist/index.js",
"tsc": "tsc",
"tsc-watch": "tsc --watch",
"lint": "eslint \"src/**/*.ts\"",
"lint:fix": "eslint \"src/**/*.ts\" --fix",
"format": "prettier --write src/**/*.ts --config .prettierrc",
"build": "tsc && node ./build-uglify.js"
},
"lint-staged": {
"src//**/*.{json}": [
"prettier --write"
],
"src//**/*.{js,ts}": [
"prettier --write",
"eslint --ext .js --ext .ts"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"eslintConfig": {
"rules": {
"import/order": [
"warn",
{
"groups": [
"builtin",
"external",
"internal"
],
"pathGroups": [
{
"pattern": "middleware/",
"group": "internal"
},
{
"pattern": "models/",
"group": "internal"
},
{
"pattern": "routes/",
"group": "internal"
},
{
"pattern": "util/",
"group": "internal"
}
],
"newlines-between": "always",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
]
}
},
"devDependencies": {
"@types/bcrypt": "^5.0.2",
"@types/body-parser": "^1.19.5",
"@types/cookie-parser": "^1.4.6",
"@types/eslint-config-prettier": "^6.11.3",
"@types/eslint-plugin-prettier": "^3.1.3",
"@types/express": "^4.17.21",
"@types/jsonwebtoken": "^9.0.5",
"@types/node": "^20.10.5",
"@types/nodemailer": "^6.4.14",
"@types/nodemailer-express-handlebars": "^4.0.5",
"@types/nodemon": "^1.19.6",
"@types/uglify-js": "^3.17.4",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.2",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"nodemon": "^3.0.2",
"prettier": "^3.1.1",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"uglify-js": "^3.17.4"
},
"dependencies": {
"bcrypt": "^5.1.1",
"body-parser": "^1.20.2",
"cookie-parser": "^1.4.6",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"express-handlebars": "^7.1.2",
"express-rate-limit": "^7.2.0",
"joi": "^17.11.0",
"jsonwebtoken": "^9.0.2",
"migrate-mongo": "^11.0.0",
"moment": "^2.30.1",
"mongodb": "^6.3.0",
"mongoose": "^8.0.3",
"nodemailer": "^6.9.7",
"nodemailer-express-handlebars": "^6.1.0"
}
}