-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
135 lines (135 loc) · 6.15 KB
/
Copy pathpackage.json
File metadata and controls
135 lines (135 loc) · 6.15 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
{
"name": "prose",
"version": "1.7.2",
"description": "A minimal markdown editor with AI chat",
"license": "MIT",
"type": "module",
"main": "./out/main/index.js",
"scripts": {
"dev": "npm run build:env && npm run build:buildinfo && npm run build:skill && npm run build:mcp-stdio && npm run build:preload && electron-vite dev",
"dev:kill": "kill $(cat .dev.pid 2>/dev/null) 2>/dev/null || true; lsof -ti:9222 | xargs kill -9 2>/dev/null || true; lsof -ti:5173 | xargs kill -9 2>/dev/null || true",
"dev:restart": "npm run dev:kill && sleep 2 && npm run dev",
"build:env": "node -e \"require('fs').writeFileSync('src/main/env.ts', '// Auto-generated — do not edit\\nexport const IS_MAS_BUILD = ' + (process.env.MAS_BUILD === '1') + '\\n')\"",
"build:buildinfo": "node -e \"const h=(()=>{try{return require('child_process').execSync('git rev-parse --short HEAD').toString().trim()}catch{return 'unknown'}})(); const v=require('./package.json').version; require('fs').writeFileSync('src/renderer/buildInfo.generated.ts', '// Auto-generated — do not edit\\nexport const GIT_HASH = ' + JSON.stringify(h) + '\\nexport const APP_VERSION = ' + JSON.stringify(v) + '\\n')\"",
"build:skill": "node scripts/build-skill.mjs",
"icons": "node scripts/build-icons.mjs",
"build": "npm run build:env && npm run build:buildinfo && npm run build:skill && npm run build:mcp-stdio && electron-vite build && npm run build:preload",
"build:preload": "npx esbuild src/preload/index.ts --bundle --platform=node --format=cjs --target=node18 --outfile=out/preload-cjs/index.cjs --external:electron --define:process.env.MAS_BUILD=\\\"${MAS_BUILD:-}\\\"",
"build:mcp-stdio": "npx esbuild src/mcp-stdio/index.ts --bundle --platform=node --target=node18 --format=cjs --outfile=out/mcp-stdio.cjs",
"preview": "electron-vite preview",
"postinstall": "electron-builder install-app-deps",
"build:mac": "npm run build && electron-builder --mac",
"build:mas": "MAS_BUILD=1 npm run build && electron-builder --mac mas",
"build:win": "npm run build && electron-builder --win",
"build:linux": "npm run build && electron-builder --linux",
"dev:web": "npm run build:buildinfo && vite --config vite.web.config.ts",
"build:web": "npm run build:buildinfo && vite build --config vite.web.config.ts",
"preview:web": "vite preview --config vite.web.config.ts --open",
"test:e2e": "npm run build && npx playwright test",
"test:e2e:dev": "npx playwright test",
"test:web": "npm run build:web && npx playwright test --config playwright.web.config.ts",
"test:web:dev": "npx playwright test --config playwright.web.config.ts",
"typecheck:e2e": "tsc --project tsconfig.e2e.json --noEmit",
"clean": "rm -rf out dist node_modules/.vite .dev.pid",
"clean:hard": "npm run clean && rm -rf node_modules && rm -rf \"$HOME/Library/Application Support/prose\" \"$HOME/.prose\""
},
"dependencies": {
"@ai-sdk/anthropic": "^3.0.1",
"@anthropic-ai/sdk": "^0.39.0",
"@codemirror/lang-markdown": "^6.5.0",
"@codemirror/language-data": "^6.5.2",
"@electron-toolkit/utils": "^3.0.0",
"@modelcontextprotocol/sdk": "^1.29.0",
"@radix-ui/react-alert-dialog": "^1.1.15",
"@radix-ui/react-checkbox": "^1.3.3",
"@radix-ui/react-context-menu": "^2.2.16",
"@radix-ui/react-dialog": "^1.1.4",
"@radix-ui/react-dropdown-menu": "^2.1.4",
"@radix-ui/react-label": "^2.1.1",
"@radix-ui/react-scroll-area": "^1.2.2",
"@radix-ui/react-select": "^2.1.4",
"@radix-ui/react-separator": "^1.1.1",
"@radix-ui/react-slot": "^1.1.1",
"@radix-ui/react-switch": "^1.2.6",
"@radix-ui/react-tabs": "^1.1.2",
"@radix-ui/react-tooltip": "^1.1.6",
"@sentry/electron": "^7.10.0",
"@sentry/vite-plugin": "^5.1.1",
"@tiptap/extension-code-block-lowlight": "^2.27.2",
"@tiptap/extension-image": "^2.27.2",
"@tiptap/extension-link": "^2.27.1",
"@tiptap/extension-placeholder": "^2.27.1",
"@tiptap/extension-subscript": "^2.27.2",
"@tiptap/extension-superscript": "^2.27.2",
"@tiptap/extension-table": "^2.27.2",
"@tiptap/extension-table-cell": "^2.27.2",
"@tiptap/extension-table-header": "^2.27.2",
"@tiptap/extension-table-row": "^2.27.2",
"@tiptap/extension-task-item": "^2.27.2",
"@tiptap/extension-task-list": "^2.27.2",
"@tiptap/extension-underline": "^2.27.2",
"@tiptap/pm": "^2.11.2",
"@tiptap/react": "^2.11.2",
"@tiptap/starter-kit": "^2.11.2",
"@types/js-yaml": "^4.0.9",
"ai": "^6.0.3",
"chokidar": "^3.6.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"codemirror": "^6.0.2",
"dotenv": "^17.2.3",
"electron-updater": "^6.8.9",
"framer-motion": "^12.25.0",
"googleapis": "^171.4.0",
"js-yaml": "^4.3.1",
"lowlight": "^3.3.0",
"lucide-react": "^0.468.0",
"markdown-it-footnote": "^3.0.3",
"marked": "^17.0.1",
"react-resizable-panels": "^2.1.7",
"rmapi-js": "^10.0.0",
"tailwind-merge": "^2.6.0",
"tailwindcss-animate": "^1.0.7",
"tiptap-footnotes": "^2.0.4",
"tiptap-markdown": "^0.8.10",
"turndown": "^7.2.2",
"zod-to-json-schema": "^3.25.1",
"zustand": "^5.0.3"
},
"devDependencies": {
"@electron/fuses": "^2.1.0",
"@playwright/test": "^1.58.2",
"@types/node": "^22.10.2",
"@types/react": "^18.3.17",
"@types/react-dom": "^18.3.5",
"@types/turndown": "^5.0.6",
"@vitejs/plugin-react": "^4.3.4",
"autoprefixer": "^10.4.20",
"electron": "^41.10.7",
"electron-builder": "^26.15.3",
"electron-playwright-helpers": "^2.1.0",
"electron-vite": "^5.0.0",
"postcss": "^8.5.23",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.2",
"vite": "^7.3.5",
"vite-tsconfig-paths": "^6.0.3"
},
"overrides": {
"minimatch": ">=10.2.3",
"hono": ">=4.12.34",
"@hono/node-server": ">=1.19.15 <2",
"fast-uri": ">=3.1.6 <4",
"tmp": ">=0.2.6",
"esbuild": ">=0.28.1",
"linkify-it": ">=5.0.2 <6",
"form-data": ">=4.0.6",
"@babel/core": ">=7.29.6 <8",
"tar": ">=7.5.16",
"markdown-it": ">=14.2.0",
"@opentelemetry/core": ">=2.8.0"
}
}