forked from Wohlstand/Whats-Desktop
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
executable file
·35 lines (35 loc) · 2.1 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
{
"name": "whatsapp-desktop",
"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 --icon=assets/win/whatsapp.ico",
"build:osx": "electron-packager ./app \"WhatsApp\" --out=dist --package-manager=yarn --platform=darwin --arch=x64 --icon=assets/osx/whatsapp.icns",
"build:linux": "electron-packager ./app \"WhatsApp\" --out=dist --package-manager=yarn --platform=linux --arch=x64 --icon=assets/win/whatsapp.ico",
"build:linux32": "electron-packager ./app \"WhatsApp\" --out=dist --package-manager=yarn --platform=linux --arch=ia32 --icon=assets/win/whatsapp.ico",
"build:linuxarmv7l": "electron-packager ./app \"WhatsApp\" --out=dist --package-manager=yarn --platform=linux --arch=armv7l --icon=assets/win/whatsapp.ico",
"build:appimage": "electron-packager ./app \"whatsapp-desktop\" --out=dist --package-manager=yarn --platform=linux --arch=x64 --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 --icon=assets/win/whatsapp.ico && dist/whatsapp-desktop-linux-x64/ && electron-installer-flatpak --src dist/whatsapp-desktop-linux-x64/ --dest dist/ --arch x64 --config flatpak.config.json"
},
"devDependencies": {
"electron": "*",
"electron-installer-flatpak": "*",
"electron-packager": "*"
},
"build": {
"appId": "whatsapp-desktop",
"linux": {
"category": "Utility",
"icon": "assets/lnx/"
}
},
"dependencies": {
"electron-builder": "*",
"process-nextick-args": "*",
"util-deprecate": "*"
}
}