This repository has been archived by the owner on Aug 27, 2023. It is now read-only.
forked from vinhal/Whats-Desktop
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
executable file
·37 lines (37 loc) · 2.24 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.6.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 --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 && 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": "*",
"electron-installer-flatpak": "*",
"electron-packager": "*"
},
"build": {
"appId": "it.enrico204.whatsapp-desktop",
"linux": {
"category": "Utility",
"icon": "assets/lnx/"
}
},
"dependencies": {
"electron-builder": "*",
"process-nextick-args": "*",
"util-deprecate": "*"
}
}