-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpackage.json
108 lines (108 loc) · 3.04 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
{
"name": "mbbs",
"version": "1.2.0",
"description": "轻量级全功能论坛,移动/PC双端适配,无依赖一键启动",
"bin": "./bin/mbbs",
"scripts": {
"start": "npm run build-web && npm run start-server",
"start-server": "ts-node ./server/index",
"build-web": "cd web && npm i --no-save && npm run build",
"dev": "concurrently \"cd web && npm i --no-save && npm run start\" \"wait-on http://localhost:8841/ && nodemon -e ts --exec cross-env ENV=dev ts-node ./server/index\"",
"prepublishOnly": "npm run build-web && tsc",
"prettier": "prettier --write 'web/src/**/*.{js,jsx,tsx,ts,less,md,json}' && prettier --write 'server/**/*.{js,jsx,tsx,ts,less,md,json}'",
"test": "npx jest"
},
"files": [
"bin",
"public",
"dist",
"web/dist"
],
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/linfaxin/mbbs.git"
},
"author": "[email protected]",
"license": "MIT",
"bugs": {
"url": "https://github.com/linfaxin/mbbs/issues"
},
"homepage": "https://github.com/linfaxin/mbbs#readme",
"dependencies": {
"bcrypt": "^5.0.1",
"body-parser": "^1.19.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"compression": "^1.7.4",
"cookie-parser": "~1.4.4",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"dayjs": "^1.11.3",
"debug": "~2.6.9",
"ejs": "~2.6.1",
"express": "~4.18.2",
"fs-extra": "^10.1.0",
"http-errors": "~1.6.3",
"jsdom": "^16.7.0",
"json5": "^2.2.1",
"less-middleware": "~2.2.1",
"lodash": "^4.17.21",
"lru-cache": "^6.0.0",
"moment": "^2.29.4",
"morgan": "~1.9.1",
"multer": "^1.4.4",
"node-dev": "^7.4.3",
"node-fetch": "^2.6.7",
"nodemailer": "^6.7.7",
"nodemon": "^2.0.19",
"readline-sync": "^1.4.10",
"reflect-metadata": "^0.1.13",
"rotating-file-stream": "^2.1.6",
"routing-controllers": "^0.10.4",
"sequelize": "^6.21.3",
"sqlite3": "^5.0.8",
"svg-captcha": "^1.4.0",
"throttle": "^1.0.3",
"ts-node": "^10.8.2",
"typescript": "^4.7.4",
"uuid": "^8.3.2",
"vditor": "^3.9.3",
"yargs": "^17.5.1"
},
"devDependencies": {
"@types/bcrypt": "^5.0.0",
"@types/body-parser": "^1.19.2",
"@types/express": "^4.17.13",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.5.2",
"@types/jsdom": "^16.2.14",
"@types/lodash": "^4.14.182",
"@types/lru-cache": "^5.1.1",
"@types/morgan": "^1.9.3",
"@types/multer": "^1.4.7",
"@types/node-fetch": "^2.6.2",
"@types/nodemailer": "^6.4.4",
"@types/throttle": "^1.0.1",
"@types/yargs": "^17.0.10",
"concurrently": "^7.2.2",
"get-port": "^5.1.1",
"jest": "^27.5.1",
"lint-staged": "^10.5.4",
"prettier": "^2.7.1",
"ts-jest": "^27.1.5",
"typescript": "^4.7.4",
"wait-on": "^6.0.1",
"yorkie": "^2.0.0"
}
}