-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
171 lines (171 loc) · 6.53 KB
/
Copy pathpackage.json
File metadata and controls
171 lines (171 loc) · 6.53 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
{
"name": "@edithatogo/substack-cli",
"version": "0.2.0",
"mcpName": "io.github.edithatogo/substack-cli",
"description": "Local-first TypeScript CLI and MCP server for publishing Markdown to a user-owned Substack publication.",
"private": false,
"license": "Apache-2.0",
"homepage": "https://github.com/edithatogo/substack-cli-ts#readme",
"bugs": {
"url": "https://github.com/edithatogo/substack-cli-ts/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/edithatogo/substack-cli-ts.git"
},
"keywords": [
"substack",
"markdown",
"cli",
"mcp",
"model-context-protocol",
"publishing",
"newsletter"
],
"type": "module",
"main": "dist/cli.js",
"engines": {
"node": ">=18.0.0"
},
"bin": {
"substack-cli": "dist/cli.js"
},
"files": [
"dist/",
"README.md",
"LICENSE",
"SECURITY.md",
"CHANGELOG.md",
"registry.server.json",
"docs/api/",
"docs/integrations/",
"docs/examples/mcp-integration.md",
"extensions/",
"vendor/substack-api/dist/",
"vendor/substack-api/src/",
"vendor/substack-api/package.json",
"vendor/substack-api/README.md",
"vendor/substack-api/LICENSE",
"scripts/install-completions.sh",
"scripts/install-completions.ps1"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsc -p tsconfig.json --incremental",
"dev": "npm run build -- --watch",
"inspect": "npm run build && node dist/cli.js inspect",
"test": "npm run build && vitest run",
"test:coverage": "vitest run --coverage",
"test:e2e": "vitest run --config vitest.e2e.config.ts",
"test:mutation": "stryker run",
"typecheck": "tsc --noEmit",
"typecheck:strictest": "tsc -p tsconfig.strictest.json --pretty false",
"typecheck:index-signatures": "tsc -p tsconfig.index-signature-strict.json --pretty false",
"typecheck:dependency-types": "tsc -p tsconfig.dependency-strict.json --pretty false",
"lint": "biome lint --diagnostic-level=error .",
"lint:fix": "biome lint --write --unsafe .",
"format": "biome format --write .",
"format:check": "biome format .",
"check": "biome check --write .",
"ci": "biome ci .",
"scan:secrets": "node scripts/secret-scan.mjs",
"contracts:generate": "npm run build && node scripts/contracts.mjs generate",
"contracts:check": "npm run build && node scripts/contracts.mjs check",
"quality": "npm run ci && npm run knip && npm run typecheck && npm run build && npm run test:coverage && npm run test:mutation && npm run scan:secrets && npm run audit:prod",
"audit:prod": "npm audit --omit=dev",
"sbom": "node scripts/package-sbom.mjs",
"knip": "knip",
"completions": "node dist/cli.js completion bash > scripts/completions.bash && node dist/cli.js completion zsh > scripts/completions.zsh && node dist/cli.js completion powershell > scripts/completions.ps1",
"bench": "node --experimental-vm-modules node_modules/.bin/vitest run src/benchmark",
"bench:parse": "node dist/cli.js inspect examples/basic.md",
"profile:cpu": "node --cpu-prof --cpu-prof-dir=reports/profiling dist/cli.js inspect examples/basic.md",
"profile:heap": "node --heap-prof --heap-prof-dir=reports/profiling dist/cli.js inspect examples/basic.md",
"prepublishOnly": "npm run quality",
"registry:summary": "npm run build && node scripts/registry-summary.mjs",
"registry:publish-command": "npm run build && node scripts/registry-summary.mjs --publish-command",
"registry:validate": "node scripts/validate-registry-metadata.mjs",
"registry:publisher": "node scripts/mcp-publisher-helper.mjs",
"registry:publisher:dry-run": "node scripts/mcp-publisher-helper.mjs dry-run",
"integrations:validate": "node scripts/validate-client-integrations.mjs",
"frontier:drift": "npm run build && node scripts/frontier-coverage-drift.mjs",
"experimental:deps": "node scripts/experimental-dependency-lane.mjs",
"version:check": "node scripts/version-check.mjs check",
"version:sync": "node scripts/version-check.mjs sync"
},
"dependencies": {
"@browserbasehq/stagehand": "^3.6.0",
"@modelcontextprotocol/sdk": "^1.29.0",
"@tiptap/core": "3.27.1",
"@tiptap/extension-table": "3.27.1",
"@tiptap/extension-table-cell": "3.27.1",
"@tiptap/extension-table-header": "3.27.1",
"@tiptap/extension-table-row": "3.27.1",
"@tiptap/html": "3.27.1",
"@tiptap/starter-kit": "3.27.1",
"chrome-launcher": "^1.2.1",
"commander": "^15.0.0",
"dotenv": "^17.0.0",
"js-yaml": "^5.1.0",
"marked": "^18.0.5",
"pino": "^10.0.0",
"playwright-core": "^1.61.1",
"substack-api": "file:vendor/substack-api",
"zod": "^4.4.3"
},
"overrides": {
"@tiptap/core": "3.27.1",
"@tiptap/extension-blockquote": "3.24.0",
"@tiptap/extension-bold": "3.24.0",
"@tiptap/extension-bullet-list": "3.24.0",
"@tiptap/extension-code": "3.24.0",
"@tiptap/extension-code-block": "3.24.0",
"@tiptap/extension-document": "3.24.0",
"@tiptap/extension-dropcursor": "3.24.0",
"@tiptap/extension-gapcursor": "3.24.0",
"@tiptap/extension-hard-break": "3.24.0",
"@tiptap/extension-heading": "3.24.0",
"@tiptap/extension-horizontal-rule": "3.24.0",
"@tiptap/extension-italic": "3.24.0",
"@tiptap/extension-link": "3.24.0",
"@tiptap/extension-list": "3.24.0",
"@tiptap/extension-list-item": "3.24.0",
"@tiptap/extension-list-keymap": "3.24.0",
"@tiptap/extension-ordered-list": "3.24.0",
"@tiptap/extension-paragraph": "3.24.0",
"@tiptap/extension-strike": "3.24.0",
"@tiptap/extension-table": "3.27.1",
"@tiptap/extension-table-cell": "3.27.1",
"@tiptap/extension-table-header": "3.27.1",
"@tiptap/extension-table-row": "3.27.1",
"@tiptap/extension-text": "3.24.0",
"@tiptap/extension-underline": "3.24.0",
"@tiptap/extensions": "3.24.0",
"@tiptap/html": "3.27.1",
"@tiptap/pm": "3.24.0",
"@tiptap/starter-kit": "3.27.1",
"@ai-sdk/provider-utils": "4.0.29",
"form-data": "4.0.6",
"hono": "4.12.25",
"langsmith": "^0.7.2",
"protobufjs": "8.6.4",
"qs": "^6.15.2",
"uuid": "^11.1.1"
},
"devDependencies": {
"@biomejs/biome": "2.5.1",
"@eslint/js": "^10.0.1",
"@stryker-mutator/core": "^9.6.1",
"@stryker-mutator/vitest-runner": "^9.6.1",
"@types/node": "^26.0.1",
"@vitest/coverage-v8": "^4.1.9",
"eslint": "^10.5.0",
"fast-check": "^4.8.0",
"knip": "^6.20.0",
"prettier": "^3.8.4",
"typescript": "^6.0.3",
"typescript-eslint": "^8.62.0",
"vitest": "^4.1.9"
}
}