-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 2.89 KB
/
Copy pathpackage.json
File metadata and controls
101 lines (101 loc) · 2.89 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
{
"name": "markdown-forge",
"version": "1.1.0",
"description": "A Windows 11 desktop Markdown editor with Mermaid and PlantUML support",
"productName": "Markdown Forge",
"main": "dist-electron/main.js",
"author": "Your Name",
"license": "MIT",
"scripts": {
"dev:vite": "vite",
"dev:electron": "cross-env NODE_ENV=development electron .",
"dev": "npm run compile:electron && concurrently \"npm run dev:vite\" \"wait-on http://localhost:5173 && npm run dev:electron\"",
"compile:electron": "tsc -p tsconfig.electron.json",
"build": "tsc -p tsconfig.electron.json && vite build",
"build:electron": "npm run build && electron-builder",
"preview": "vite preview",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@monaco-editor/react": "^4.7.0",
"electron-store": "^8.1.0",
"mermaid": "^10.6.1",
"monaco-editor": "^0.55.1",
"pako": "^2.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-markdown": "^9.0.1",
"react-syntax-highlighter": "^15.5.0",
"remark-gfm": "^4.0.0"
},
"devDependencies": {
"@types/pako": "^2.0.3",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@types/react-syntax-highlighter": "^15.5.11",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vitejs/plugin-react": "^4.2.1",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"electron": "^28.0.0",
"electron-builder": "^24.9.1",
"eslint": "^8.55.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"png-to-ico": "^3.0.1",
"sharp": "^0.34.5",
"terser": "^5.44.1",
"typescript": "^5.3.3",
"vite": "^5.0.8",
"vite-plugin-monaco-editor": "^1.1.0",
"wait-on": "^7.2.0"
},
"build": {
"appId": "com.markdownforge.app",
"productName": "Markdown Forge",
"directories": {
"buildResources": "build",
"output": "dist_electron"
},
"files": [
"dist/**/*",
"dist-electron/**/*",
"!**/*.map"
],
"extraResources": [
{
"from": "build/icon.ico",
"to": "icon.ico"
}
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"icon": "build/icon.ico",
"signAndEditExecutable": false
},
"asar": true,
"asarUnpack": [],
"compression": "maximum",
"removePackageScripts": true,
"nsis": {
"oneClick": false,
"perMachine": true,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"installerIcon": "build/icon.ico",
"uninstallerIcon": "build/icon.ico",
"installerHeaderIcon": "build/icon.ico",
"shortcutName": "Markdown Forge"
}
}
}