-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 2.25 KB
/
package.json
File metadata and controls
102 lines (102 loc) · 2.25 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
{
"name": "scripts-manager",
"version": "1.3.9",
"description": "Scripts Manager - 轻量级脚本管理工具",
"main": "main.js",
"scripts": {
"start": "electron .",
"dev": "electron . --dev",
"build": "electron-builder",
"build-win": "electron-builder --win",
"build-linux": "electron-builder --linux",
"build-mac": "electron-builder --mac",
"build-portable": "electron-builder --win portable",
"build-installer": "electron-builder --win nsis",
"dist": "electron-builder --publish=never",
"dist-all": "electron-builder --win --linux --mac --publish=never",
"clean": "rimraf dist"
},
"keywords": [
"script",
"manager",
"desktop",
"electron"
],
"author": "Scripts Manager Team",
"license": "MIT",
"devDependencies": {
"electron": "^27.0.0",
"electron-builder": "^24.6.4",
"rimraf": "^6.0.1",
"sharp": "^0.34.2"
},
"dependencies": {
"iconv-lite": "^0.6.3"
},
"build": {
"appId": "com.scriptsmanager.app",
"productName": "Scripts Manager",
"directories": {
"output": "dist"
},
"files": [
"main.js",
"preload.js",
"app/**/*",
"assets/**/*",
"node_modules/**/*",
"package.json"
],
"icon": "assets/icon-256.png",
"win": {
"icon": "assets/icon-256.png",
"target": [
{
"target": "portable",
"arch": [
"x64"
]
},
{
"target": "nsis",
"arch": [
"x64"
]
}
]
},
"portable": {
"artifactName": "ScriptsManager-${version}-portable.exe"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"artifactName": "ScriptsManager-${version}-setup.exe",
"shortcutName": "Scripts Manager",
"uninstallDisplayName": "Scripts Manager"
},
"linux": {
"icon": "assets/icon-256.png",
"target": [
{
"target": "AppImage",
"arch": [
"x64"
]
}
]
},
"mac": {
"icon": "assets/icon-256.png",
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
}
]
}
}
}