Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 1.58 KB
/
Copy pathpackage.json
File metadata and controls
71 lines (71 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
66
67
68
69
70
71
{
"name": "server-uploader",
"version": "1.0.0",
"description": "Electron desktop app for uploading files and folders to remote servers over SSH and rsync.",
"main": "main.js",
"scripts": {
"start": "electron .",
"build:mac": "electron-builder --mac dmg",
"build:win": "electron-builder --win nsis",
"build": "electron-builder --mac dmg --win nsis"
},
"keywords": [
"electron",
"ssh",
"rsync",
"upload",
"deployment"
],
"author": "socdel73",
"license": "MIT",
"type": "commonjs",
"build": {
"appId": "com.socdel73.serveruploader",
"productName": "Server Uploader",
"directories": {
"output": "release"
},
"files": [
"index.html",
"main.js",
"preload.js",
"renderer.js",
"styles.css",
"package.json",
"node_modules/**/*",
"!config.json",
"!server_uploader.zip",
"!server_uploader.txt",
"!docs{,/**}",
"!dist{,/**}",
"!release{,/**}"
],
"asar": true,
"mac": {
"category": "public.app-category.utilities",
"icon": "icon.png",
"target": [
"dmg"
]
},
"dmg": {
"artifactName": "${productName}-${version}-mac.${ext}"
},
"win": {
"icon": "icon.png",
"target": [
"nsis"
]
},
"nsis": {
"artifactName": "${productName}-${version}-setup-${arch}.${ext}",
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"perMachine": false
}
},
"devDependencies": {
"electron": "^40.1.0",
"electron-builder": "^26.8.1"
}
}