-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 1.58 KB
/
Copy pathpackage.json
File metadata and controls
65 lines (65 loc) · 1.58 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
{
"name": "markdown-editor",
"version": "1.2.2",
"description": "Simple and Elegant Markdown Editor",
"main": "main.js",
"license": "MIT",
"scripts": {
"start": "electron .",
"dist": "electron-builder",
"dist:win": "electron-builder --win",
"dist:mac": "electron-builder --mac",
"release:win": "pwsh -NoProfile -ExecutionPolicy Bypass -File scripts/release.ps1"
},
"build": {
"appId": "com.gg.markdowneditor",
"productName": "Markdown Editor",
"fileAssociations": [
{
"ext": "md",
"name": "Markdown",
"description": "Markdown Document",
"role": "Editor"
},
{
"ext": "markdown",
"name": "Markdown",
"description": "Markdown Document",
"role": "Editor"
}
],
"win": {
"target": "nsis",
"icon": "build/icon.ico"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"perMachine": false,
"artifactName": "Markdown.Editor.Setup.${version}.Windows.${ext}"
},
"mac": {
"category": "public.app-category.productivity",
"target": "dmg",
"icon": "build/icon.png",
"artifactName": "Markdown.Editor.${version}.Mac.${ext}"
},
"files": [
"main.js",
"preload.js",
"locales.js",
"renderer/**/*",
"node_modules/**/*"
]
},
"dependencies": {
"codemirror": "^5.65.21",
"highlight.js": "^11.11.1",
"katex": "^0.16.47",
"marked": "^18.0.5"
},
"devDependencies": {
"electron": "^42.4.0",
"electron-builder": "^26.15.2"
}
}