Files
pdga-rating/package.json
T
Samuel Enocsson d567c4bca9 fix: upgrade Node 18 to 22 and fix Puppeteer compatibility
- Switch from Alpine to Debian slim for correct Chromium architecture
  (fixes ARM/Apple Silicon support)
- Upgrade Puppeteer 21 to 24, use system Chromium via PUPPETEER_EXECUTABLE_PATH
- Replace removed page.waitForTimeout() with setTimeout
- Set NODE_ENV=production in Dockerfile to prevent pino-pretty import
- Improve error logging with Pino's { err: error } pattern
- Add build: . to docker-compose for local development builds
2026-03-20 07:39:34 +01:00

25 lines
549 B
JSON

{
"name": "pdga-ratings",
"version": "1.0.0",
"description": "PDGA rating scraper and display",
"main": "server.js",
"scripts": {
"start": "node server.js",
"dev": "nodemon server.js"
},
"dependencies": {
"ejs": "^4.0.1",
"express": "^4.18.2",
"fs": "^0.0.1-security",
"pino": "^10.3.1",
"puppeteer": "^24.40.0",
"puppeteer-extra": "^3.3.6",
"puppeteer-extra-plugin-stealth": "^2.11.2",
"sqlite3": "^5.1.7"
},
"devDependencies": {
"nodemon": "^3.0.1",
"pino-pretty": "^13.1.3"
}
}