-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 1.8 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 1.8 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "@postcli/hackernews",
"version": "0.1.1",
"description": "HackerNews plugin for PostCLI - browse stories, submit posts, comment, and upvote from the terminal",
"type": "module",
"license": "AGPL-3.0-only",
"repository": {
"type": "git",
"url": "git+https://github.com/postcli/hackernews.git"
},
"homepage": "https://github.com/postcli/hackernews",
"bugs": "https://github.com/postcli/hackernews/issues",
"keywords": [
"hackernews",
"hn",
"cli",
"mcp",
"postcli",
"ai",
"agents"
],
"main": "./dist/plugin.js",
"types": "./dist/plugin.d.ts",
"exports": {
".": {
"import": "./dist/plugin.js",
"types": "./dist/plugin.d.ts"
},
"./client": {
"import": "./dist/client.js",
"types": "./dist/client.d.ts"
},
"./mcp": {
"import": "./dist/mcp/index.js",
"types": "./dist/mcp/index.d.ts"
}
},
"bin": {
"postcli-hn": "dist/cli/index.js"
},
"engines": {
"node": ">=18.0.0"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc",
"cli": "tsx src/cli/index.ts",
"mcp": "tsx src/mcp/index.ts",
"dev:mcp": "npx @modelcontextprotocol/inspector tsx src/mcp/index.ts",
"test": "node --import tsx --test test/*.test.ts test/**/*.test.ts",
"prepublishOnly": "npm run build"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.12.1",
"better-sqlite3": "^12.8.0",
"chalk": "^5.4.1",
"commander": "^13.1.0",
"dotenv": "^16.5.0",
"ink": "^6.8.0",
"react": "^19.2.4",
"zod": "^3.25.67"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^22.15.0",
"@types/react": "^19.2.14",
"tsx": "^4.19.4",
"typescript": "^5.8.3"
}
}