-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
92 lines (92 loc) · 2.38 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
{
"name": "mmf-blog-api-ts",
"version": "1.0.1",
"packageManager": "[email protected]",
"description": "mmf blog api server",
"author": "lincenying <[email protected]>",
"license": "MIT",
"engines": {
"node": ">= 16.0.0",
"npm": ">= 8.0.0"
},
"scripts": {
"hooks": "npx simple-git-hooks",
"tsc": "tsc",
"init:config": "tsx src/init.ts",
"build": "npm run init:config && npm run tsc",
"deploy": "node dist/app.js",
"deploy-watch": "nodemon --delay 500ms --watch ./dist dist/app.js",
"serve": "nodemon --watch ./src --exec tsx ./src/app.ts",
"start": "npm run deploy",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"lint:ts": "tsc --noEmit"
},
"dependencies": {
"@lincy/utils": "^0.6.1",
"axios": "^1.7.9",
"baidu-aip-sdk": "^4.16.16",
"base64-img": "^1.0.4",
"cheerio": "1.0.0",
"compression": "^1.7.5",
"connect-multiparty": "^2.2.0",
"cookie-parser": "^1.4.7",
"dayjs": "^1.11.13",
"express": "^4.21.2",
"highlight.js": "^11.11.1",
"jsonwebtoken": "^9.0.2",
"lru-cache": "^11.0.2",
"markdown-it": "^14.1.0",
"markdown-it-toc-and-anchor": "^4.2.0",
"md5": "^2.3.0",
"mockjs": "^1.1.0",
"mongoose": "^8.9.4",
"mongoose-autopopulate": "^1.1.0",
"morgan": "^1.10.0",
"multer": "1.4.5-lts.1",
"qiniu": "^7.14.0",
"request-ip": "^3.3.0",
"serve-favicon": "^2.5.0",
"tslib": "^2.8.1",
"twig": "^1.17.1"
},
"devDependencies": {
"@lincy/eslint-config": "^5.4.0",
"@types/compression": "^1.7.5",
"@types/cookie-parser": "^1.4.8",
"@types/express": "^5.0.0",
"@types/jsonwebtoken": "^9.0.7",
"@types/markdown-it": "^14.1.2",
"@types/md5": "^2.3.5",
"@types/mockjs": "^1.0.10",
"@types/morgan": "^1.9.9",
"@types/multer": "^1.4.12",
"@types/node": "^22.10.5",
"@types/request-ip": "^0.0.41",
"@types/serve-favicon": "^2.5.7",
"concurrently": "^9.1.2",
"eslint": "^9.18.0",
"jiti": "^2.4.2",
"lint-staged": "^15.3.0",
"nodemon": "^3.1.9",
"simple-git-hooks": "^2.11.1",
"tsc-alias": "^1.8.10",
"tsx": "^4.19.2",
"typescript": "^5.7.3"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"prettier"
]
}
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{ts,js}": [
"eslint --fix"
]
}
}