-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpackage.json
More file actions
158 lines (158 loc) · 4.5 KB
/
Copy pathpackage.json
File metadata and controls
158 lines (158 loc) · 4.5 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
{
"name": "sideshow",
"version": "0.12.0",
"description": "A live visual surface for terminal coding agents — agents draw HTML snippets, you watch them in the browser and comment back.",
"keywords": [
"agent-tools",
"ai-agents",
"claude-code",
"coding-agents",
"html-preview",
"mcp",
"pi-package",
"visualization"
],
"homepage": "https://github.com/modem-dev/sideshow#readme",
"bugs": {
"url": "https://github.com/modem-dev/sideshow/issues"
},
"license": "MIT",
"author": "Ben Vinegar",
"repository": {
"type": "git",
"url": "git+https://github.com/modem-dev/sideshow.git"
},
"bin": {
"sideshow": "bin/sideshow.js"
},
"files": [
"bin/",
"dist/",
"viewer/dist/",
"viewer/dist-embed/",
"viewer/embed.d.ts",
"guide/",
"skills/",
"extensions/"
],
"type": "module",
"exports": {
"./server": {
"types": "./dist/server/public.d.ts",
"import": "./dist/server/public.js"
},
"./app": {
"types": "./dist/server/app.d.ts",
"import": "./dist/server/app.js"
},
"./workers": {
"types": "./dist/workers/public.d.ts",
"import": "./dist/workers/public.js"
},
"./viewer": "./viewer/dist/index.html",
"./viewer-embed": {
"types": "./viewer/embed.d.ts",
"import": "./viewer/dist-embed/engine.js"
},
"./theme-tokens": {
"types": "./dist/server/theme-tokens.d.ts",
"import": "./dist/server/theme-tokens.js"
},
"./guide/*": "./guide/*",
"./*": "./*"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"dev": "npm run build:viewer && (npm run build:viewer -- --watch & node --watch server/index.ts)",
"start": "npm run build:viewer && node server/index.ts",
"build:viewer": "vite build",
"build:embed": "vite build -c viewer/vite.embed.config.ts",
"mcp": "node mcp/server.ts",
"test": "npm run test:node && npm run test:viewer",
"test:node": "node --test 'test/**/*.test.ts'",
"test:viewer": "vitest run --config vitest.viewer.config.ts",
"test:worker": "npm run build:viewer && node --test test/workerIntegration.integration.ts",
"coverage": "npm run coverage:node && npm run coverage:viewer",
"coverage:node": "c8 node --test 'test/**/*.test.ts'",
"coverage:viewer": "vitest run --coverage --config vitest.viewer.config.ts",
"test:e2e": "playwright test",
"format": "oxfmt --write .",
"format:check": "oxfmt --check .",
"lint": "oxlint . --deny-warnings",
"lint:fix": "oxlint . --fix",
"changeset": "changeset",
"changeset:status": "changeset status",
"release:version": "changeset version",
"typecheck": "tsc --noEmit && tsc -p tsconfig.workers.json --noEmit && tsc -p tsconfig.viewer.json --noEmit",
"build": "tsc -p tsconfig.build.json && npm run build:viewer && npm run build:embed",
"deploy": "npm run build:viewer && wrangler deploy",
"dev:cloud": "npm run build:viewer && wrangler dev",
"prepack": "npm run build",
"prepare": "simple-git-hooks && npm run build",
"security:audit": "npm audit --audit-level=high"
},
"dependencies": {
"@hono/node-server": "^1.14.0",
"@mermaid-js/parser": "^1.2.0",
"@modelcontextprotocol/sdk": "^1.12.0",
"@pierre/diffs": "^1.2.11",
"ansi_up": "^6.0.6",
"hono": "^4.7.0",
"markdown-it": "^14.2.0",
"shiki": "^4.2.0",
"zod": "^3.24.0"
},
"devDependencies": {
"@changesets/cli": "^2.31.0",
"@cloudflare/workers-types": "^4.20260611.1",
"@playwright/test": "^1.60.0",
"@types/markdown-it": "^14.1.2",
"@types/node": "^25.9.3",
"@vitest/coverage-v8": "^4.1.10",
"c8": "^12.0.0",
"jsdom": "^27.4.0",
"lint-staged": "^17.0.7",
"oxfmt": "^0.54.0",
"oxlint": "^1.69.0",
"simple-git-hooks": "^2.13.1",
"solid-js": "^1.9.13",
"typescript": "^6.0.3",
"vite": "^8.0.16",
"vite-plugin-singlefile": "^2.3.3",
"vite-plugin-solid": "^2.11.12",
"vitest": "^4.1.10",
"wrangler": "^4.101.0"
},
"overrides": {
"esbuild": "^0.28.1",
"sharp": "^0.35.2",
"undici": "^7.28.0",
"ws": "^8.21.0"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{ts,tsx,js,mjs,cjs}": [
"oxfmt --write",
"oxlint --deny-warnings"
],
"*.{md,html,json,jsonc}": [
"oxfmt --write"
]
},
"engines": {
"node": ">=22.18"
},
"packageManager": "npm@11.17.0",
"pi": {
"extensions": [
"./extensions"
],
"skills": [
"./skills"
]
}
}