- 新增文档模板和导航结构 - 实现服务器基础API路由和控制器 - 添加扩展插件配置和前端框架 - 引入多租户和权限管理模块 - 集成日志和数据库配置 - 添加核心业务模型和类型定义
63 lines
1.4 KiB
JSON
63 lines
1.4 KiB
JSON
{
|
|
"name": "server",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "nodemon src/index.ts",
|
|
"build": "tsc",
|
|
"start": "node dist/index.js",
|
|
"check": "tsc --noEmit",
|
|
"test": "jest --testPathPatterns=src/services/AuthService.test.ts --verbose"
|
|
},
|
|
"jest": {
|
|
"preset": "ts-jest",
|
|
"testEnvironment": "node",
|
|
"testMatch": [
|
|
"**/*.test.ts"
|
|
],
|
|
"transform": {
|
|
"^.+\\.ts$": "ts-jest"
|
|
}
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"type": "commonjs",
|
|
"dependencies": {
|
|
"@types/bcrypt": "^6.0.0",
|
|
"@types/speakeasy": "^2.0.10",
|
|
"axios": "^1.13.6",
|
|
"bcrypt": "^6.0.0",
|
|
"bullmq": "^5.71.0",
|
|
"cors": "^2.8.6",
|
|
"dotenv": "^17.3.1",
|
|
"express": "^5.2.1",
|
|
"ioredis": "^5.10.0",
|
|
"jsonwebtoken": "^9.0.3",
|
|
"knex": "^3.1.0",
|
|
"mysql2": "^3.18.2",
|
|
"node-cache": "^5.1.2",
|
|
"playwright": "^1.58.2",
|
|
"redis": "^5.11.0",
|
|
"sharp": "^0.34.5",
|
|
"speakeasy": "^2.0.0",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cors": "^2.8.19",
|
|
"@types/express": "^5.0.6",
|
|
"@types/jest": "^30.0.0",
|
|
"@types/jsonwebtoken": "^9.0.10",
|
|
"@types/node": "^25.3.3",
|
|
"@types/node-cache": "^4.1.3",
|
|
"@types/redis": "^4.0.10",
|
|
"@types/sharp": "^0.31.1",
|
|
"jest": "^30.3.0",
|
|
"nodemon": "^3.1.14",
|
|
"ts-jest": "^29.4.6",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|