-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
47 lines (47 loc) · 1.82 KB
/
Copy pathpackage.json
File metadata and controls
47 lines (47 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"name": "morning-briefing",
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "bun run src/dev.ts",
"dev:dry-run": "bun run src/dev.ts --dry-run",
"start": "bun run src/index.ts",
"test": "bun test",
"test:watch": "bun test --watch",
"test:coverage": "bun test --coverage",
"typecheck": "tsc --noEmit",
"lint": "trunk check --fix",
"check": "trunk check --fix",
"knip": "knip",
"get-chat-id": "bun run src/get-chat-id.ts",
"docker:build": "docker build -t morning-briefing .",
"docker:run": "docker run -p 8080:8080 --env-file .env.local morning-briefing",
"setup": "./scripts/setup.sh",
"setup:check": "./scripts/setup.sh --check",
"trigger": "gcloud scheduler jobs run morning-briefing-trigger --location=${GCP_REGION:-europe-west1}",
"logs": "gcloud run services logs read morning-briefing --region=${GCP_REGION:-europe-west1} --freshness=2h --limit=200 && gcloud beta run services logs tail morning-briefing --region=${GCP_REGION:-europe-west1}",
"healthcheck": "curl -s \"$(cd terraform && terraform output -raw service_url)/health\" -H \"Authorization: Bearer $(gcloud auth print-identity-token)\" | jq ."
},
"dependencies": {
"@google-cloud/storage": "^7.21.0",
"cheerio": "^1.2.0",
"exponential-backoff": "^3.1.3",
"grammy": "^1.45.1",
"puppeteer": "^24.35.0"
},
"devDependencies": {
"@eslint/js": "^9.39.5",
"@types/bun": "^1.3.14",
"eslint": "^9.39.5",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-functional": "^9.0.5",
"eslint-plugin-promise": "^7.3.0",
"eslint-plugin-unicorn": "^62.0.0",
"knip": "^5.88.1",
"typescript-eslint": "^8.66.0"
},
"patchedDependencies": {
"gaxios@6.7.1": "patches/gaxios@6.7.1.patch",
"teeny-request@9.0.0": "patches/teeny-request@9.0.0.patch"
}
}