-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 2.07 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 2.07 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
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "twitter-agent",
"type": "module",
"scripts": {
"dev": "dotenvx run -- bun run --hot src/index.ts",
"test": "bun scripts/test.ts",
"typecheck": "tsc --noEmit",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test:agents": "dotenvx run -- bun scripts/test-agents.ts",
"test:researcher": "dotenvx run -- bun scripts/test-agents.ts researcher",
"test:writer": "dotenvx run -- bun scripts/test-agents.ts writer",
"test:scheduler": "dotenvx run -- bun scripts/test-agents.ts scheduler",
"test:cron:daily": "dotenvx run -- curl -s -w '\\nHTTP %{http_code}' -X GET http://localhost:3010/cron/daily -H \"x-cron-secret:$CRON_SECRET\"",
"test:cron:execute-post": "dotenvx run -- curl -s -w '\\nHTTP %{http_code}' -X POST http://localhost:3010/cron/execute-post -H 'Content-Type: application/json' -H \"x-cron-secret:$CRON_SECRET\" -d '{\"postId\":1,\"content\":\"test content\",\"type\":\"single\"}'",
"test:cron:scan": "dotenvx run -- curl -s -w '\\nHTTP %{http_code}' -X POST http://localhost:3010/cron/execute-post -H 'Content-Type: application/json' -H \"x-cron-secret:$CRON_SECRET\"",
"lint": "oxlint src",
"lint:fix": "oxlint src --fix",
"check:cycles": "madge --circular --extensions ts src",
"deadcode": "knip --reporter compact",
"audit": "bun audit",
"prepare": "[ -d .git ] && husky || true"
},
"engines": {
"bun": ">=1.3.0"
},
"lint-staged": {
"*.{ts,js}": [
"oxlint --fix",
"prettier --write"
],
"*.{json,md}": "prettier --write"
},
"dependencies": {
"@ai-sdk/xai": "^2.0.0",
"@dotenvx/dotenvx": "^1.61.0",
"@hono/node-server": "^2.0.1",
"@neondatabase/serverless": "^1.0.2",
"@xdevplatform/xdk": "^0.5.0",
"ai": "^5.0.0",
"drizzle-orm": "^0.45.2",
"hono": "^4.12.14",
"zod": "^4"
},
"devDependencies": {
"@types/bun": "latest",
"@types/node": "^25.5.2",
"drizzle-kit": "^0.31.10",
"husky": "^9.1.7",
"knip": "^6.11.0",
"lint-staged": "^17.0.4",
"madge": "^8.0.0",
"oxlint": "^1.62.0",
"prettier": "^3.8.3",
"typescript": "^6.0.2"
},
"overrides": {
"esbuild": ">=0.25.0"
}
}