-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 3.29 KB
/
Copy pathpackage.json
File metadata and controls
118 lines (118 loc) · 3.29 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "@hasna/announce",
"version": "0.1.0",
"description": "Release announcement composer, per-channel delivery ledger, scheduling, and engagement reporting for Hasna-coded apps",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"announce": "dist/cli/index.js",
"announce-mcp": "dist/mcp/index.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./contracts": {
"types": "./dist/contracts.d.ts",
"import": "./dist/contracts.js"
},
"./events": {
"types": "./dist/events.d.ts",
"import": "./dist/events.js"
},
"./compose": {
"types": "./dist/lib/compose.d.ts",
"import": "./dist/lib/compose.js"
},
"./render": {
"types": "./dist/lib/render/index.d.ts",
"import": "./dist/lib/render/index.js"
},
"./ledger": {
"types": "./dist/lib/ledger.d.ts",
"import": "./dist/lib/ledger.js"
},
"./deliver": {
"types": "./dist/lib/deliver.d.ts",
"import": "./dist/lib/deliver.js"
},
"./shortlinks": {
"types": "./dist/lib/shortlinks.d.ts",
"import": "./dist/lib/shortlinks.js"
},
"./report": {
"types": "./dist/lib/report.d.ts",
"import": "./dist/lib/report.js"
},
"./mcp": {
"types": "./dist/mcp/index.d.ts",
"import": "./dist/mcp/index.js"
}
},
"files": [
"dist",
"LICENSE",
"README.md",
"SECURITY.md",
"CONTRIBUTING.md"
],
"scripts": {
"clean": "rm -rf dist",
"build": "bun run clean && bun build src/index.ts src/contracts.ts src/events.ts src/types.ts src/lib/compose.ts src/lib/campaigns.ts src/lib/ledger.ts src/lib/deliver.ts src/lib/shortlinks.ts src/lib/report.ts src/lib/render/index.ts --outdir dist --target bun --root src --packages external && bun build src/cli/index.ts --outdir dist/cli --target bun --packages external && bun build src/mcp/index.ts --outdir dist/mcp --target bun --packages external && tsc -p tsconfig.build.json --emitDeclarationOnly --outDir dist",
"typecheck": "tsc --noEmit",
"test": "bun test",
"dev:cli": "bun run src/cli/index.ts",
"dev:mcp": "bun run src/mcp/index.ts",
"prepack": "bun run build",
"prepublishOnly": "bun run typecheck && bun test",
"postinstall": "mkdir -p $HOME/.hasna/announce 2>/dev/null || true"
},
"keywords": [
"announcements",
"release",
"campaigns",
"email",
"telegram",
"shortlinks",
"mcp",
"cli",
"hasna"
],
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hasna/announce.git"
},
"homepage": "https://github.com/hasna/announce#readme",
"bugs": {
"url": "https://github.com/hasna/announce/issues"
},
"engines": {
"bun": ">=1.0.0"
},
"author": "Hasna",
"license": "Apache-2.0",
"dependencies": {
"@hasna/events": "^0.1.13",
"@modelcontextprotocol/sdk": "^1.26.0",
"commander": "^13.1.0",
"zod": "^3.25.76"
},
"peerDependencies": {
"@hasna/shortlinks": ">=0.1.0"
},
"peerDependenciesMeta": {
"@hasna/shortlinks": {
"optional": true
}
},
"devDependencies": {
"@types/bun": "^1.2.4",
"typescript": "^5.7.3"
}
}