feat: server-based version with menu flagging, distributed polling, and SSE
Complete implementation including: - Express server with Bessa API proxy - Puppeteer scraper for menu data - Flag storage (file-based persistence) - SSE manager for real-time updates - Polling orchestrator for distributed polling - Frontend with weekly view, ordering, and flagging UI - Yellow/green glow indicators for flagged items
This commit is contained in:
35
package.json
Normal file
35
package.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"name": "kantine-wrapper",
|
||||
"version": "1.0.0",
|
||||
"description": "Bessa Knapp-Kantine Menu Scraper",
|
||||
"main": "dist/index.js",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"scrape": "node dist/index.js",
|
||||
"dev": "tsx src/index.ts",
|
||||
"analyze": "tsx src/scraper/interactive-analyzer.ts",
|
||||
"test:api": "tsx src/scraper/api-test.ts",
|
||||
"server": "tsx src/server.ts",
|
||||
"type-check": "tsc --noEmit"
|
||||
},
|
||||
"keywords": [
|
||||
"scraper",
|
||||
"puppeteer",
|
||||
"bessa",
|
||||
"kantine"
|
||||
],
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"dotenv": "^16.4.5",
|
||||
"express": "^5.2.1",
|
||||
"puppeteer": "^22.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/express": "^5.0.6",
|
||||
"@types/node": "^20.11.0",
|
||||
"tsx": "^4.7.0",
|
||||
"typescript": "^5.3.3"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user