-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
90 lines (90 loc) · 2.98 KB
/
package.json
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
{
"name": "it.magius.gamedek",
"version": "0.0.3",
"productName": "GameDek",
"productTitle": "GameDek",
"description": "Fancy themable panel to place all game links.",
"main": "desktop.js",
"author": {
"name": "Magius(CHE)",
"email": "[email protected]"
},
"license": "GPL-3.0-or-later",
"private": false,
"scripts": {
"test": "echo success",
"update": "yarn && for d in ./plugins/*/ ; do (cd \"$d\" && yarn); done",
"gitpull": "git pull && for d in ./plugins/*/ ; do (cd \"$d\" && git checkout main && git pull); done",
"start": "electron . --develop",
"prod": "electron .",
"release": "electron-builder",
"dist:linux": "yarn release -l",
"dist:linux:unpacked": "yarn release -l --dir",
"dist:linux:deb": "yarn release -l deb",
"dist:linux:zip": "yarn release -l zip",
"dist:linux:targz": "yarn release -l tar.gz",
"dist:linux:appimage": "yarn release -l AppImage",
"dist:linux:snap": "yarn release -l snap",
"dist:win": "yarn release -w",
"publish:draft:_common": "yarn release --publish always",
"publish:draft:linux": "yarn publish:draft:_common -l",
"publish:draft:win": "yarn publish:draft:_common -w",
"publish:draft": "yarn publish:draft:_common -wl",
"aur-make": "cd archlinux-aur && rm -rf *.zst && makepkg -f && echo \"install with: yay -U archlinux-aur/$(ls -1 *.zst)\"",
"aur-install": "yarn aur-make && yay -U $(ls -lt1 archlinux-aur/*.zst | head -n 1) && yarn local-update-plugins-themes",
"local-update-plugins-themes": "rm ~/.local/share/GameDek/plugins -rf && rm ~/.local/share/GameDek/themes -rf && mkdir -p ~/.local/share/GameDek/plugins && cp plugins/* ~/.local/share/GameDek/plugins/ -r && mkdir -p ~/.local/share/GameDek/themes && cp themes/* ~/.local/share/GameDek/themes/ -r"
},
"dependencies": {
"@electron/remote": "^1.1.0",
"command-line-parser": "^0.2.10",
"debug": "^4.3.1",
"electron-default-menu": "^1.0.2",
"mkdirp": "^1.0.4",
"platform-folders": "^0.5.2",
"rimraf": "^3.0.2"
},
"build": {
"appId": "it.magius.gamedek",
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
"files": [
"!archlinux-aur",
"!dist",
"!.github",
"!.gitmodules",
"!.vscode",
"!appData",
"!out",
"!themes",
"!plugins",
"!Snippets.md",
"!deploy.travis.sh"
],
"linux": {
"asar": false,
"category": "Game",
"packageCategory": "Game",
"executableName": "gamedek",
"synopsis": "GameDek",
"description": "Fancy themable panel to place all game links.",
"desktop": {
"Name": "GameDek",
"Comment": "Fancy themable panel to place all game links.",
"StartupWMClass": "GameDek"
},
"target": [
"deb",
"rpm",
"tar.gz",
"AppImage"
]
},
"win": {
"target": "7z",
"asar": true
}
},
"devDependencies": {
"electron": "^21",
"electron-builder": "^23.5.0"
}
}