forked from Enrico204/Whatsapp-Desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·37 lines (37 loc) · 2.45 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
{
"name": "whatsapp-desktop",
"version": "0.5.0",
"repository": "https://github.com/Enrico204/Whatsapp-Desktop.git",
"description": "Unofficial WhatsApp Desktop Client. Build with Electron.",
"main": "main.js",
"scripts": {
"dev": "electron --debug=5858 ./app",
"preinstall": "cd app && yarn",
"gettext": "xgettext app/*.js -j --omit-header -o app/locale/messages.pot && xgettext app/html/*.html -L JavaScript -j --omit-header -o app/locale/messages.pot",
"clean": "node clean.js",
"build:win": "electron-packager ./app \"WhatsApp\" --out=dist --package-manager=yarn --platform=win32 --arch=x64 --electron-version=1.7.8 --icon=assets/win/whatsapp.ico",
"build:osx": "electron-packager ./app \"WhatsApp\" --out=dist --package-manager=yarn --platform=darwin --arch=x64 --electron-version=1.7.8 --icon=assets/osx/whatsapp.icns",
"build:linux": "electron-packager ./app \"WhatsApp\" --out=dist --package-manager=yarn --platform=linux --arch=x64 --electron-version=1.7.8 --icon=assets/win/whatsapp.ico",
"build:linux32": "electron-packager ./app \"WhatsApp\" --out=dist --package-manager=yarn --platform=linux --arch=ia32 --electron-version=1.7.8 --icon=assets/win/whatsapp.ico",
"build:linuxarmv7l": "electron-packager ./app \"WhatsApp\" --out=dist --package-manager=yarn --platform=linux --arch=armv7l --electron-version=1.7.8 --icon=assets/win/whatsapp.ico",
"build:appimage": "electron-packager ./app \"whatsapp-desktop\" --out=dist --package-manager=yarn --platform=linux --arch=x64 --electron-version=1.7.8 --icon=assets/win/whatsapp.ico && ./node_modules/.bin/electron-builder --publish=never --pd dist/whatsapp-desktop-linux-x64/ --linux AppImage",
"build:flatpak64": "electron-packager ./app \"whatsapp-desktop\" --out=dist --package-manager=yarn --platform=linux --arch=x64 --electron-version=1.7.8 --icon=assets/win/whatsapp.ico && cp it.enrico204.whatsapp-desktop.appdata.xml dist/whatsapp-desktop-linux-x64/ && electron-installer-flatpak --src dist/whatsapp-desktop-linux-x64/ --dest dist/ --arch x64 --config flatpak.config.json"
},
"devDependencies": {
"electron": "^1.7.8",
"electron-installer-flatpak": "^0.8.0",
"electron-packager": "^8.5.0"
},
"build": {
"appId": "it.enrico204.whatsapp-desktop",
"linux": {
"category": "Utility",
"icon": "assets/lnx/"
}
},
"dependencies": {
"electron-builder": "^19.50.0",
"process-nextick-args": "^1.0.7",
"util-deprecate": "^1.0.2"
}
}