Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
175 lines (175 loc) · 5.93 KB
/
Copy pathpackage.json
File metadata and controls
175 lines (175 loc) · 5.93 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
172
173
174
175
{
"name": "typeopen",
"version": "0.1.7",
"description": "Open-source Markdown editor for macOS with a focused live editing experience.",
"main": "electron/main.cjs",
"scripts": {
"dev": "npm run native:run",
"dev:electron": "concurrently -k \"vite\" \"wait-on tcp:5173 && cross-env VITE_DEV_SERVER_URL=http://127.0.0.1:5173 electron .\"",
"build": "vite build",
"check:clean-room": "node scripts/check-clean-room.mjs",
"check:electron": "node --check electron/main.cjs && node --check electron/preload.cjs && node --check electron/textbundle.cjs && node --check electron/file-ops.cjs && node --check electron/theme-css.cjs && node --check electron/path-grants.cjs && node --check electron/document-types.cjs && node --check electron/document-reader.cjs && node --check electron/local-image-io.cjs && node --check electron/folder-dialog-hint.cjs",
"check:native": "xcrun swiftc -typecheck -target arm64-apple-macos13.0 -framework AppKit -framework WebKit -framework UniformTypeIdentifiers native/Sources/*.swift",
"test:native-security": "node scripts/test-native-security.mjs",
"test:native-window-drag": "node scripts/test-native-window-drag.mjs",
"test:native-context-menu": "node scripts/test-native-context-menu.mjs",
"verify:native": "npm run check:native && npm run test:native-security && npm run test:native-window-drag && npm run test:native-context-menu",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"audit:runtime": "node scripts/audit-runtime.mjs",
"verify:portable": "npm run check:clean-room && npm run check:electron && npm run typecheck && npm test && npm run build && npm run audit:runtime",
"verify": "npm run verify:portable && npm run verify:native",
"start": "npm run native:run",
"clean:release": "node -e \"require('node:fs').rmSync('release', { recursive: true, force: true })\"",
"native:build": "npm run build && node scripts/build-native.mjs",
"native:run": "npm run native:build && open release/native-arm64/TypeOpen.app",
"native:dmg": "npm run clean:release && npm run native:build && node scripts/create-native-dmg.mjs",
"native:verify": "node scripts/verify-native-dist.mjs",
"homebrew:sync": "node scripts/update-homebrew-cask.mjs",
"pack": "npm run clean:release && npm run native:build",
"dmg": "npm run native:dmg",
"verify:dist": "npm run native:verify",
"pack:electron": "npm run clean:release && npm run build && electron-builder --dir --mac --arm64 --publish never",
"dmg:electron": "npm run clean:release && npm run build && electron-builder --mac dmg --arm64 --publish never",
"dmg:electron:universal": "npm run clean:release && npm run build && electron-builder --mac dmg --universal --publish never"
},
"keywords": [
"markdown",
"editor",
"wysiwyg",
"open-source"
],
"author": "TriHerm Labs contributors",
"repository": {
"type": "git",
"url": "git+https://github.com/TriHerm/TypeOpen.git"
},
"bugs": {
"url": "https://github.com/TriHerm/TypeOpen/issues"
},
"homepage": "https://github.com/TriHerm/TypeOpen#readme",
"license": "Apache-2.0",
"type": "module",
"devDependencies": {
"@codemirror/commands": "^6.11.1",
"@codemirror/lang-markdown": "^6.5.2",
"@codemirror/language": "^6.13.1",
"@codemirror/state": "^6.7.6",
"@codemirror/view": "^6.43.14",
"@lexical/list": "^0.48.0",
"@lexical/markdown": "^0.48.0",
"@lexical/rich-text": "^0.48.0",
"@lezer/highlight": "^1.2.5",
"@mdxeditor/editor": "^4.3.2",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.1.2",
"concurrently": "^10.0.6",
"cross-env": "^10.1.0",
"dompurify": "^3.4.17",
"electron": "^44.9.1",
"electron-builder": "^26.15.3",
"flowchart.js": "^1.18.0",
"jsdom": "^30.1.2",
"katex": "^0.19.0",
"lexical": "^0.48.0",
"lucide-react": "^1.54.0",
"marked": "^18.1.0",
"mdast-util-from-markdown": "^2.1.0",
"mdast-util-gfm-footnote": "^2.1.0",
"mdast-util-math": "^3.0.0",
"mdast-util-mdx-jsx": "^3.2.0",
"mermaid": "^12.1.0",
"micromark-extension-gfm-footnote": "^2.1.0",
"micromark-extension-math": "^3.1.0",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"typescript": "^7.0.2",
"vite": "^8.3.4",
"vitest": "^5.0.3",
"wait-on": "^9.5.1"
},
"build": {
"appId": "com.triherm.typeopen",
"productName": "TypeOpen",
"asar": true,
"files": [
"dist/**/*",
"electron/**/*",
"package.json",
"LICENSE",
"THIRD_PARTY_NOTICES.md",
"README.md"
],
"directories": {
"buildResources": "build",
"output": "release"
},
"fileAssociations": [
{
"ext": [
"md",
"markdown",
"mmd",
"mdown",
"mkd",
"mdwn",
"mdtxt",
"mdtext",
"rmarkdown",
"rmd",
"apib",
"qmd",
"mdx"
],
"name": "Markdown",
"role": "Editor"
},
{
"ext": [
"txt",
"text"
],
"name": "Plain Text",
"role": "Editor"
},
{
"ext": "textbundle",
"name": "TextBundle",
"role": "Editor",
"isPackage": true
}
],
"mac": {
"category": "public.app-category.productivity",
"minimumSystemVersion": "13.0",
"target": "dmg",
"icon": "build/icon.png",
"electronLanguages": [
"en",
"es"
],
"identity": "-",
"hardenedRuntime": false,
"artifactName": "TypeOpen-${version}-${arch}.${ext}"
},
"dmg": {
"title": "TypeOpen ${version}",
"iconSize": 96,
"contents": [
{
"x": 160,
"y": 190,
"type": "file"
},
{
"x": 420,
"y": 190,
"type": "link",
"path": "/Applications"
}
]
}
}
}