This commit improves error handling in various controllers, including diaryNoteController, memberNoteController, and permissionController, by adding console error logging for better debugging. Additionally, it updates the diaryService and teamDocumentService to enhance functionality and maintainability. The config.js file is also updated to ensure proper configuration for the development environment. These changes contribute to a more robust and user-friendly application.
46 lines
1.1 KiB
JSON
46 lines
1.1 KiB
JSON
{
|
|
"name": "backend",
|
|
"version": "1.0.0",
|
|
"main": "server.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"postinstall": "cd ../frontend && npm install && npm run build",
|
|
"dev": "nodemon server.js",
|
|
"cleanup:usertoken": "node ./scripts/cleanupUserTokenKeys.js",
|
|
"cleanup:indexes": "node ./scripts/cleanupAllIndexes.js",
|
|
"test": "cross-env NODE_ENV=test vitest run"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"description": "",
|
|
"dependencies": {
|
|
"axios": "^1.12.2",
|
|
"bcrypt": "^5.1.1",
|
|
"cors": "^2.8.5",
|
|
"crypto": "^1.0.1",
|
|
"csv-parser": "^3.0.0",
|
|
"date-fns": "^2.30.0",
|
|
"dotenv": "^16.4.5",
|
|
"express": "^4.19.2",
|
|
"iconv-lite": "^0.6.3",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"multer": "^1.4.5-lts.1",
|
|
"mysql2": "^3.10.3",
|
|
"node-cron": "^4.2.1",
|
|
"nodemailer": "^7.0.9",
|
|
"pdf-parse": "^1.1.1",
|
|
"pdfjs-dist": "^5.4.394",
|
|
"sequelize": "^6.37.3",
|
|
"sharp": "^0.33.5"
|
|
},
|
|
"devDependencies": {
|
|
"cross-env": "^7.0.3",
|
|
"nodemon": "^3.1.4",
|
|
"sqlite3": "^5.1.7",
|
|
"supertest": "^7.1.1",
|
|
"vitest": "^4.0.8",
|
|
"vue-eslint-parser": "9.4.3"
|
|
}
|
|
}
|