8763f54071
Run Tests on Branches / Detect Changes (push) Successful in 12s
Run Tests on Branches / Backend Tests (push) Successful in 1m58s
Run Tests on Branches / Frontend Tests (push) Successful in 1m38s
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m35s
Run Tests on Branches / Parapharmacy API Tests (push) Has been skipped
- scraper: changed test script to echo (no tests) - parapharmacy-api: added --passWithNoTests to jest - frontend: changed vitest to vitest run (exit after tests) All tests now pass: - backend: 17 tests passed - frontend: 7 tests passed - parapharmacy-api: no tests (exits cleanly) - scraper: no tests (exits cleanly)
30 lines
940 B
JSON
30 lines
940 B
JSON
{
|
|
"name": "farmafinder-parapharmacy-api",
|
|
"version": "1.0.0",
|
|
"description": "Parapharmacy products API for FarmaFinder",
|
|
"main": "src/server.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"start": "node --env-file-if-exists=.env src/server.js",
|
|
"dev": "node --env-file-if-exists=.env --watch src/server.js",
|
|
"seed": "node --env-file-if-exists=.env scripts/seed.js",
|
|
"scrape": "node --env-file-if-exists=.env scripts/scrape-puppeteer.js",
|
|
"test": "NODE_OPTIONS='--experimental-vm-modules' npx jest --ci --forceExit --forceExitTimeout=30000 --passWithNoTests"
|
|
},
|
|
"dependencies": {
|
|
"cors": "^2.8.5",
|
|
"express": "^4.18.2",
|
|
"express-rate-limit": "^8.5.2",
|
|
"mongoose": "^8.8.0",
|
|
"morgan": "^1.10.0",
|
|
"puppeteer": "^22.0.0",
|
|
"swagger-jsdoc": "^6.2.8",
|
|
"swagger-ui-express": "^5.0.0",
|
|
"axios": "^1.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"jest": "^29.7.0",
|
|
"supertest": "^7.2.2"
|
|
}
|
|
}
|