-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
116 lines (116 loc) · 2.98 KB
/
package.json
File metadata and controls
116 lines (116 loc) · 2.98 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
{
"name": "free-editor",
"version": "1.0.0",
"description": "A free and simple Markdown editor with live preview",
"main": "electron/main.js",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"electron:dev": "concurrently \"npm run dev\" \"node electron/wait-and-start.js\"",
"electron:build": "cross-env ELECTRON=true vite build && electron-builder",
"electron:build:mac": "cross-env ELECTRON=true vite build && electron-builder --mac",
"electron:build:mac:arm64": "cross-env ELECTRON=true vite build && electron-builder --mac --arm64",
"electron:build:mac:x64": "cross-env ELECTRON=true vite build && electron-builder --mac --x64",
"electron:build:mac:universal": "cross-env ELECTRON=true vite build && electron-builder --mac --universal"
},
"keywords": [],
"author": "",
"license": "ISC",
"build": {
"appId": "com.freeeditor.app",
"productName": "FreeEditor",
"afterSign": "scripts/notarize.js",
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"electron/**/*",
"public/logo.ico",
"!node_modules/**/@esbuild/**"
],
"asarUnpack": [],
"npmRebuild": false,
"mac": {
"icon": "public/logo.icns",
"category": "public.app-category.productivity",
"target": [
{
"target": "dmg",
"arch": [
"arm64"
]
},
{
"target": "zip",
"arch": [
"arm64"
]
}
],
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist"
},
"dmg": {
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
],
"window": {
"width": 540,
"height": 380
}
},
"win": {
"icon": "public/logo.ico",
"target": [
"nsis"
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true
}
},
"dependencies": {
"@vitejs/plugin-react": "^5.0.4",
"ali-oss": "^6.23.0",
"highlight.js": "^11.11.1",
"html2canvas": "^1.4.1",
"jszip": "^3.10.1",
"katex": "^0.16.23",
"marked": "^16.3.0",
"marked-highlight": "^2.2.2",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"rehype-katex": "^7.0.1",
"remark-math": "^6.0.0",
"vite": "^7.1.7"
},
"devDependencies": {
"@electron/notarize": "^3.1.1",
"@types/react": "^19.1.16",
"@types/react-dom": "^19.1.9",
"concurrently": "^9.2.1",
"cross-env": "^10.1.0",
"dotenv": "^17.2.3",
"electron": "^38.2.1",
"electron-builder": "^26.0.12",
"esbuild": "^0.25.12",
"typescript": "^5.9.3",
"wait-on": "^9.0.1"
}
}