Files
yunrui_asset/backend/package.json
T

62 lines
1.9 KiB
JSON
Raw Normal View History

2025-12-18 10:45:13 +08:00
{
"name": "idc-backend",
2026-04-30 16:28:04 +08:00
"version": "2.0.0",
2025-12-18 10:45:13 +08:00
"description": "IDC设备管理系统后端",
"scripts": {
"start": "node server.js",
"dev": "nodemon server.js",
"create-indexes": "node create_indexes.js",
"check-indexes": "node create_indexes.js check",
"drop-indexes": "node create_indexes.js drop",
"lint": "eslint . --ext js --report-unused-disable-directives --max-warnings 0",
"lint:fix": "eslint . --ext js --fix",
"format": "prettier --write \"**/*.js\"",
"format:check": "prettier --check \"**/*.js\"",
"test": "jest --runInBand",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:operation-logs": "jest tests/operationLog.model.test.js tests/operationLogger.test.js tests/operationLogs.api.test.js --runInBand"
2025-12-18 10:45:13 +08:00
},
"dependencies": {
"axios": "^1.13.6",
"basic-ftp": "^5.0.3",
"bcryptjs": "^3.0.3",
"cors": "^2.8.5",
"csv-parser": "^3.2.0",
"csv-writer": "^1.6.0",
"dayjs": "^1.11.19",
"dotenv": "^17.2.3",
2025-12-18 10:45:13 +08:00
"express": "^4.18.2",
"express-fileupload": "^1.5.2",
"iconv-lite": "^0.6.3",
"joi": "^18.0.2",
"jsonwebtoken": "^9.0.3",
"multer": "^2.1.1",
"mysql2": "^3.19.1",
"node-cron": "^4.2.1",
"sequelize": "^6.37.8",
"smb2": "^0.2.2",
"sqlite3": "^5.1.7",
"ssh2-sftp-client": "^9.1.0",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1",
"three": "^0.182.0",
"webdav": "^5.3.1",
"winston": "^3.19.0",
"winston-daily-rotate-file": "^5.0.0",
"xlsx": "^0.18.5"
2025-12-18 10:45:13 +08:00
},
"devDependencies": {
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.5.0",
"jest": "^29.7.0",
"nodemon": "^3.0.1",
"prettier": "^3.8.1",
"supertest": "^7.1.4"
2025-12-18 10:45:13 +08:00
}
}