navidocs/server/package.json
Claude 33a4d49924
Fix: Remove pdf-img-convert dependency + Implementation docs
Resolves canvas dependency installation issue that was blocking npm install.

Changes:
- server/package.json: Remove pdf-img-convert (unused, caused canvas build errors)
  - pdf-img-convert requires canvas with native system libraries (pangocairo, cairo)
  - Package was not imported anywhere in codebase
  - After removal, npm install completes successfully (272 packages)

- server/MULTIFORMAT_IMPLEMENTATION.md: Complete implementation documentation
  - Full technical summary of multi-format upload feature
  - Processing flow diagrams and code examples
  - Issue resolution details (canvas dependency)
  - Integration instructions for Session 1
  - Success criteria verification

Verification:
 npm install completes without errors
 mammoth and xlsx dependencies installed successfully
 All 272 packages installed in 7s
 Implementation ready for integration testing

Status: Multi-format upload feature COMPLETE
Session: Cloud Session 2 (011CV53B2oMH6VqjaePrFZgb)
2025-11-13 13:03:08 +00:00

47 lines
1.1 KiB
JSON

{
"name": "navidocs-server",
"version": "1.0.0",
"description": "NaviDocs backend API - Boat manual management with OCR and search",
"type": "module",
"main": "index.js",
"scripts": {
"start": "node index.js",
"dev": "node --watch index.js",
"init-db": "node db/init.js"
},
"keywords": [
"boat",
"manuals",
"ocr",
"meilisearch"
],
"author": "",
"license": "MIT",
"dependencies": {
"bcrypt": "^5.1.0",
"bcryptjs": "^3.0.2",
"better-sqlite3": "^11.0.0",
"bullmq": "^5.0.0",
"cors": "^2.8.5",
"dotenv": "^16.0.0",
"express": "^5.0.0",
"express-rate-limit": "^7.0.0",
"file-type": "^19.0.0",
"form-data": "^4.0.4",
"helmet": "^7.0.0",
"ioredis": "^5.0.0",
"jsonwebtoken": "^9.0.2",
"lru-cache": "^11.2.2",
"mammoth": "^1.8.0",
"meilisearch": "^0.41.0",
"multer": "^1.4.5-lts.1",
"pdf-parse": "^1.1.1",
"sharp": "^0.34.4",
"tesseract.js": "^5.0.0",
"uuid": "^10.0.0",
"xlsx": "^0.18.5"
},
"devDependencies": {
"@types/node": "^20.0.0"
}
}