34 lines
909 B
JSON
34 lines
909 B
JSON
{
|
|
"name": "hackernews-favs-cron",
|
|
"version": "1.0.0",
|
|
"description": "Kubernetes CronJob: scrapes Hacker News favorites and writes a batch to AWS DynamoDB",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"start": "node dist/main.js",
|
|
"dev": "tsx src/main.ts",
|
|
"test": "vitest run",
|
|
"lint": "eslint . && tsc --noEmit",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check ."
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-dynamodb": "^3.1141.0",
|
|
"@aws-sdk/lib-dynamodb": "^3.1141.0",
|
|
"cheerio": "^1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^19.5.0",
|
|
"@commitlint/config-conventional": "^19.5.0",
|
|
"@types/node": "^22.0.0",
|
|
"eslint": "^9.13.0",
|
|
"prettier": "^3.3.3",
|
|
"tsx": "^4.20.0",
|
|
"typescript": "^5.6.0",
|
|
"typescript-eslint": "^8.15.0",
|
|
"vitest": "^4.1.10"
|
|
}
|
|
}
|