-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
95 lines (95 loc) · 3.43 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
91
92
93
94
95
{
"name": "saox",
"version": "2.8.9",
"description": "Sanook Music (Or JOOX) Web App",
"main": "index.js",
"scripts": {
"start": "electron .",
"oldstart": "electron-builder -wl --publish always || npm install http-server --save-dev || http-server dist -p 8080",
"oldbuild": "yum –y groupinstall 'Development Tools' && yum install libX11-devel freetype-devel zlib-devel libxcb-devel libxslt-devel libgcrypt-devel libxml2-devel gnutls-devel libpng-devel libjpeg-turbo-devel libtiff-devel gstreamer-devel dbus-devel fontconfig-devel -y && yum install wget -y && cd /tmp && wget https://dl.winehq.org/wine/source/4.0/wine-4.0.tar.xz && tar –xvf wine-4.0.tar.xz –C /tmp/ && cd wine-4.0/ && ./configure && make && make install && wine --version && npm i -g electron-builder && electron-builder -wl --publish always && npm install http-server --save-dev && http-server dist -p 8080",
"buildwin": "electron-packager . --overwrite --asar=true --platform=win32 --arch=ia32 --icon=img/saoxlogo.ico --prune=true --version-string.CompanyName=\"Quad B Software\" --version-string.FileDescription=SAOX --version-string.ProductName=\"SAOX\"",
"pack": "electron-builder --dir",
"dist-all": "electron-builder -mwl",
"dist-win": "electron-builder --win",
"dist-lin": "electron-builder --linux",
"distandpuhall": "electron-builder -wl --publish \"always\" -c.snap.publish=github",
"distandpuhwin": "electron-builder --win --publish \"always\" -c.snap.publish=github",
"postinstall": "electron-builder install-app-deps",
"build": "electron-builder --windows --linux",
"release": "electron-builder --windows --linux --publish always",
"make": "electron-builder --linux --publish always",
"winmake": "electron-builder --windows --publish always"
},
"repository": {
"type": "git",
"url": "https://github.com/quad-b/saox.git"
},
"keywords": [
"Music Player App"
],
"author": "Quad-B",
"license": "ISC",
"bugs": {
"url": "https://github.com/quad-b/saox/issues"
},
"build": {
"productName": "saox",
"appId": "com.quadb.saox",
"artifactName": "${productName}.${ext}",
"copyright": "copyright © 2021 Quad B Software",
"win": {
"target": [
"nsis",
"portable",
"zip"
],
"compression": "maximum",
"publisherName": "Quad B Software",
"verifyUpdateCodeSignature": false,
"signingHashAlgorithms": [
"sha1"
]
},
"nsis": {
"artifactName": "${productName}-Setup.${ext}",
"oneClick": true,
"perMachine": false,
"allowToChangeInstallationDirectory": false,
"differentialPackage": false
},
"linux": {
"target": [
"AppImage"
],
"category": "Network",
"compression": "maximum"
},
"publish": [
{
"provider": "github",
"owner": "quad-b",
"repo": "saox",
"vPrefixedTagName": false
}
]
},
"snap": {
"confinement": "strict",
"grade": "stable",
"summary": "Unofficial JOOX Web App"
},
"homepage": "https://github.com/quad-b/saox#readme",
"dependencies": {
"@electron/remote": "^2.0.1",
"custom-electron-titlebar": "^4.0.0-beta.1",
"discord-rpc": "^4.0.1",
"electron-json-storage": "^4.5.0",
"electron-updater": "^6.1.1",
"nucleus-nodejs": "^3.0.8",
"os-locale": "^6.0.2"
},
"devDependencies": {
"electron": "^30.0.0",
"electron-builder": "^24.4.0"
}
}