- bridge: andeboltv.ts fetches Pixellot /api/event/list (live + upcoming) - bridge: fpa-stream-match.ts matches FPA games to AndebolTV streams - bridge: homepage route enriches agenda with stream_url, stream_status, is_live - frontend: FpaAgendaSection renders Em direto badge + AndebolTV link - i18n: PT-PT strings for live/stream status and watch links - test: fpa-stream-match.test.ts (teams_overlap, teams_match_pair, find, enrich) Co-Authored-By: Paperclip <[email protected]>
28 lines
937 B
JSON
28 lines
937 B
JSON
{
|
|
"name": "news-bridge",
|
|
"version": "1.0.0",
|
|
"description": "WordPress REST API bridge for the news platform",
|
|
"type": "module",
|
|
"main": "dist/server.js",
|
|
"scripts": {
|
|
"dev": "tsx watch src/server.ts",
|
|
"build": "tsc",
|
|
"start": "node dist/server.js",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "npm run build && node --test dist/services/ranking.test.js dist/services/aggregator-mapper.test.js dist/services/fpa-stream-match.test.js",
|
|
"test:coverage": "npm run build && node --experimental-test-coverage --test dist/services/ranking.test.js dist/services/aggregator-mapper.test.js dist/services/fpa-stream-match.test.js"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cors": "^9.0.1",
|
|
"@fastify/rate-limit": "^9.1.0",
|
|
"fastify": "^4.28.1",
|
|
"ioredis": "^5.4.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.14.0",
|
|
"pino-pretty": "^13.1.3",
|
|
"tsx": "^4.15.0",
|
|
"typescript": "^5.4.5"
|
|
}
|
|
}
|