feat: Initial commit of PDF Tools project

This commit is contained in:
2025-08-25 02:29:48 +08:00
parent af6827cd9e
commit 30180e50a2
48 changed files with 36364 additions and 1 deletions

38
server/package.json Normal file
View File

@@ -0,0 +1,38 @@
{
"name": "pdf-tools-server",
"version": "1.0.0",
"description": "PDF转换工具后端服务",
"main": "index.js",
"scripts": {
"start": "node index.js",
"dev": "nodemon index.js",
"test": "jest",
"test:watch": "jest --watch"
},
"dependencies": {
"express": "^4.18.2",
"cors": "^2.8.5",
"multer": "^1.4.5-lts.1",
"pdf-lib": "^1.17.1",
"pdf2pic": "^2.1.4",
"pdf-parse": "^1.1.1",
"puppeteer": "^21.5.2",
"mammoth": "^1.6.0",
"xlsx": "^0.18.5",
"archiver": "^6.0.1",
"mongoose": "^8.0.3",
"redis": "^4.6.10",
"jsonwebtoken": "^9.0.2",
"bcryptjs": "^2.4.3",
"dotenv": "^16.3.1",
"helmet": "^7.1.0",
"express-rate-limit": "^7.1.5",
"uuid": "^9.0.1",
"jimp": "^0.22.10"
},
"devDependencies": {
"nodemon": "^3.0.2",
"jest": "^29.7.0",
"supertest": "^6.3.3"
}
}