-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
77 lines (77 loc) · 2.01 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
{
"name": "nodejs-express-demo",
"version": "0.1.0",
"description": "一个基于 Node.js Express 框架构建的后端服务 Demo",
"keywords": [
"expressjs",
"framework",
"web",
"http",
"router",
"app",
"api",
"demo",
"template"
],
"license": "MIT",
"author": {
"name": "Seele.Clover",
"email": "[email protected]",
"url": "https://github.com/seeleclover"
},
"homepage": "https://github.com/gdmuna/nodejs-express-demo",
"repository": {
"type": "git",
"url": "git+https://github.com/gdmuna/nodejs-express-demo.git"
},
"engines": {
"node": "^20.0.0 || ^22.0.0"
},
"main": "app.js",
"scripts": {
"dev": "cross-env NODE_ENV=development nodemon ./app.js",
"start": "cross-env NODE_ENV=production node ./app.js",
"eslint": "eslint . --fix",
"prettier": "prettier . --write",
"prepare": "husky install",
"lint:lint-staged": "lint-staged"
},
"lint-staged": {
"*.{js,cjs,mjs,jsx,ts,tsx,vue}": [
"eslint --fix",
"prettier --write"
],
"*.html": [
"prettier --write"
],
"*.{css,scss,less,styl}": [
"prettier --write"
],
"*.{json,yml,yaml}": [
"prettier --write"
],
"*.md": [
"prettier --write"
]
},
"dependencies": {
"bcrypt": "^5.1.1",
"better-sqlite3": "^11.5.0",
"config": "^3.3.11",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"express": "^4.19.2",
"jsonwebtoken": "^9.0.2",
"mariadb": "^3.3.0",
"uuid": "^11.0.3"
},
"devDependencies": {
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"nodemon": "^3.1.7",
"prettier": "3.2.5"
}
}