-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 1.96 KB
/
package.json
File metadata and controls
74 lines (74 loc) · 1.96 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
{
"name": "code-beautifier",
"version": "1.0.0",
"description": "Export beautiful code snippets as images or self-contained HTML",
"type": "module",
"main": "electron/main.cjs",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"electron:dev": "concurrently -k \"vite\" \"NODE_ENV=development electron .\"",
"electron:build": "vite build && electron-builder --mac --win",
"electron:build:mac": "vite build && electron-builder --mac dmg",
"electron:build:win": "vite build && electron-builder --win nsis",
"electron:build:all": "vite build && electron-builder --mac dmg --win nsis"
},
"build": {
"appId": "com.codebeautifier.app",
"productName": "Code Beautifier",
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"electron/**/*"
],
"mac": {
"category": "public.app-category.developer-tools",
"target": [
"dmg"
],
"icon": "build/icon.icns",
"darkModeSupport": true
},
"dmg": {
"title": "Code Beautifier",
"contents": [
{ "x": 130, "y": 220 },
{ "x": 410, "y": 220, "type": "link", "path": "/Applications" }
]
},
"win": {
"target": [
{
"target": "nsis",
"arch": ["x64"]
}
],
"icon": "build/icon.ico"
},
"nsis": {
"oneClick": true,
"perMachine": false,
"allowToChangeInstallationDirectory": false,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "Code Beautifier",
"installerIcon": "build/icon.ico",
"uninstallerIcon": "build/icon.ico"
}
},
"author": "garrik.design (https://garrik.design)",
"license": "MIT",
"dependencies": {
"html-to-image": "^1.11.13",
"shiki": "^4.0.2"
},
"devDependencies": {
"concurrently": "^9.2.1",
"electron": "^41.0.3",
"electron-builder": "^26.8.1",
"vite": "^8.0.2"
}
}