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",
|
2026-01-20 14:31:20 +08:00
|
|
|
"dev": "nodemon server.js",
|
|
|
|
|
"create-indexes": "node create_indexes.js",
|
|
|
|
|
"check-indexes": "node create_indexes.js check",
|
2026-02-10 11:04:01 +08:00
|
|
|
"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\"",
|
2026-03-20 17:15:14 +08:00
|
|
|
"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": {
|
2026-03-13 22:11:34 +08:00
|
|
|
"axios": "^1.13.6",
|
|
|
|
|
"basic-ftp": "^5.0.3",
|
2025-12-25 10:48:35 +08:00
|
|
|
"bcryptjs": "^3.0.3",
|
2025-12-18 19:11:56 +08:00
|
|
|
"cors": "^2.8.5",
|
|
|
|
|
"csv-parser": "^3.2.0",
|
|
|
|
|
"csv-writer": "^1.6.0",
|
2025-12-24 16:44:27 +08:00
|
|
|
"dayjs": "^1.11.19",
|
2025-12-20 09:37:43 +08:00
|
|
|
"dotenv": "^17.2.3",
|
2025-12-18 10:45:13 +08:00
|
|
|
"express": "^4.18.2",
|
2025-12-18 19:11:56 +08:00
|
|
|
"express-fileupload": "^1.5.2",
|
|
|
|
|
"iconv-lite": "^0.6.3",
|
2026-01-29 16:53:29 +08:00
|
|
|
"joi": "^18.0.2",
|
2025-12-25 10:48:35 +08:00
|
|
|
"jsonwebtoken": "^9.0.3",
|
2026-03-13 15:13:58 +08:00
|
|
|
"multer": "^2.1.1",
|
2026-03-13 22:11:34 +08:00
|
|
|
"mysql2": "^3.19.1",
|
2026-03-13 15:13:58 +08:00
|
|
|
"node-cron": "^4.2.1",
|
2026-03-13 22:11:34 +08:00
|
|
|
"sequelize": "^6.37.8",
|
|
|
|
|
"smb2": "^0.2.2",
|
2026-05-09 09:00:52 +08:00
|
|
|
"sqlite3": "^5.1.7",
|
2026-03-13 22:11:34 +08:00
|
|
|
"ssh2-sftp-client": "^9.1.0",
|
2026-03-20 17:15:14 +08:00
|
|
|
"swagger-jsdoc": "^6.2.8",
|
|
|
|
|
"swagger-ui-express": "^5.0.1",
|
2025-12-22 08:59:44 +08:00
|
|
|
"three": "^0.182.0",
|
2026-03-13 22:11:34 +08:00
|
|
|
"webdav": "^5.3.1",
|
2026-01-21 12:20:51 +08:00
|
|
|
"winston": "^3.19.0",
|
|
|
|
|
"winston-daily-rotate-file": "^5.0.0",
|
2025-12-22 08:59:44 +08:00
|
|
|
"xlsx": "^0.18.5"
|
2025-12-18 10:45:13 +08:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2026-02-10 11:04:01 +08:00
|
|
|
"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",
|
2026-03-19 16:15:20 +08:00
|
|
|
"jest": "^29.7.0",
|
2025-12-25 16:49:00 +08:00
|
|
|
"nodemon": "^3.0.1",
|
2026-02-10 11:04:01 +08:00
|
|
|
"prettier": "^3.8.1",
|
2025-12-25 16:49:00 +08:00
|
|
|
"supertest": "^7.1.4"
|
2025-12-18 10:45:13 +08:00
|
|
|
}
|
2025-12-18 19:11:56 +08:00
|
|
|
}
|