Skip to content

Commit

Permalink
Upd: Build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ollm committed Jan 13, 2020
1 parent 6599577 commit 0e93002
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,30 @@
"scripts": {
"start": "npm run prebuild && electron scripts/main.js",
"rebuild": "electron-rebuild -f -w sharp",
"rebuild2": "electron-builder node-gyp-rebuild",
"prebuild": "node scripts/build.js",
"build": "npm run prebuild && electron-builder build",
"build-dist": "npm run prebuild && electron-builder --x64 --linux deb rpm tar.gz && electron-builder --arm64 --linux deb rpm tar.gz && electron-builder --arm64 --mac zip tar.gz",
"build-dist": "npm run prebuild && electron-builder --x64 --linux deb rpm 7z && electron-builder --arm64 --linux deb rpm 7z && electron-builder --arm64 --mac 7z",
"build-linux": "npm run prebuild && electron-builder --x64 --linux deb rpm snap AppImage tar.gz",
"build-deb": "npm run prebuild && electron-builder --x64 --linux deb",
"build-rpm": "npm run prebuild && electron-builder --x64 --linux rpm",
"build-snap": "npm run prebuild && electron-builder --x64 --linux snap",
"build-appimage": "npm run prebuild && electron-builder --x64 --linux AppImage",
"build-tar": "npm run prebuild && electron-builder --x64 --linux tar.gz",
"build-zip": "npm run prebuild && electron-builder --x64 --linux zip",
"build-7z": "npm run prebuild && electron-builder --x64 --linux 7z",
"build-nsis": "npm run prebuild && electron-builder --win nsis",
"build-mac-tar": "npm run prebuild && electron-builder --mac tar.gz",
"build-mac-zip": "npm run prebuild && electron-builder --mac zip",
"build-mac-7z": "npm run prebuild && electron-builder --mac 7z",
"build-linux-arm": "npm run prebuild && electron-builder --arm64 --linux deb rpm snap AppImage tar.gz",
"build-deb-arm": "npm run prebuild && electron-builder --arm64 --linux deb",
"build-rpm-arm": "npm run prebuild && electron-builder --arm64 --linux rpm",
"build-snap-arm": "npm run prebuild && electron-builder --arm64 --linux snap",
"build-appimage-arm": "npm run prebuild && electron-builder --arm64 --linux AppImage",
"build-tar-arm": "npm run prebuild && electron-builder --arm64 --linux tar.gz",
"build-zip-arm": "npm run prebuild && electron-builder --arm64 --linux zip",
"build-7z-arm": "npm run prebuild && electron-builder --arm64 --linux 7z",
"snapcraft": "npm run prebuild && node ./scripts/snapcraft.js && cd dist/__snap-x64/ && snapcraft",
"snapcraft-arm": "npm run prebuild && node ./scripts/snapcraft.js && cd dist/__snap-arm64/ && snapcraft --target-arch=arm64",
"postinstall": "electron-builder install-app-deps"
Expand Down

0 comments on commit 0e93002

Please sign in to comment.