web_ppt_7.7 / backend /package.json
CatPtain's picture
Upload 85 files
28e1dba verified
{
"name": "pptist-backend",
"version": "1.0.0",
"description": "PPTist Backend Server for Huggingface Space",
"main": "src/app.js",
"type": "module",
"scripts": {
"dev": "nodemon src/app.js",
"start": "node src/app.js",
"build": "echo 'No build step required'",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:browser": "node test-browser.js",
"lint": "eslint src/**/*.js",
"lint:fix": "eslint src/**/*.js --fix",
"format": "prettier --write src/**/*.js",
"health": "curl -f http://localhost:7860/api/health || exit 1",
"validate": "npm run lint && npm run test"
},
"dependencies": {
"axios": "^1.7.9",
"bcryptjs": "^2.4.3",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.21.1",
"express-rate-limit": "^7.4.1",
"helmet": "^8.0.0",
"jsonwebtoken": "^9.0.2",
"multer": "^1.4.5-lts.1",
"node-cron": "^3.0.3",
"sharp": "^0.33.0",
"uuid": "^10.0.0",
"winston": "^3.11.0"
},
"devDependencies": {
"@babel/preset-env": "^7.23.9",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"nodemon": "^3.1.7",
"prettier": "^3.2.5",
"supertest": "^6.3.4"
},
"engines": {
"node": ">=18.0.0",
"npm": ">=8.0.0"
},
"jest": {
"testEnvironment": "node",
"transform": {
"^.+\\.js$": "babel-jest"
},
"collectCoverageFrom": [
"src/**/*.js",
"!src/app.js"
]
}
}