MBBS/package.json
2024-08-11 14:28:51 +08:00

112 lines
3.1 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"name": "mbbs",
"version": "1.3.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"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"author": "linlinfaxin@163.com",
"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"
}
}