🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

pear-build

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pear-build

Create project deployment folder

latest
npmnpm
Version
1.1.0
Version published
Weekly downloads
1.2K
-8.27%
Maintainers
1
Weekly downloads
 
Created
Source

pear-build

Build appling for a Pear application

npm install -g pear-build

Usage

Create a build dir outside the project root.

pear-build \
    --package=./my-app/package.json \
    --darwin-arm64-app ./my-app/MyApp-darwin-arm64/MyApp.app \
    --linux-x64-app=./my-app/MyApp-linux-x64/MyApp.AppImage \
    --target=./my-build

Example

node bin.js \
    --package ./test/fixtures/hello-pear-electron/package.json \
    --darwin-arm64-app ./test/fixtures/hello-pear-electron/out/HelloPear-darwin-arm64/HelloPear.app \
    --darwin-x64-app ./test/fixtures/hello-pear-electron/out/HelloPear-darwin-x64/HelloPear.app \
    --linux-arm64-app ./test/fixtures/hello-pear-electron/out/HelloPear-linux-arm64/HelloPear.AppImage \
    --linux-x64-app ./test/fixtures/hello-pear-electron/out/HelloPear-linux-x64/HelloPear.AppImage \
    --win32-x64-app ./test/fixtures/hello-pear-electron/out/HelloPear-win32-x64/HelloPear.msix \
    --ios-arm64 ./test/fixtures/hello-pear-react-native/ota/ios/HelloPear \
    --ios-arm64-simulator ./test/fixtures/hello-pear-react-native/ota/ios/HelloPear \
    --ios-x64-simulator ./test/fixtures/hello-pear-react-native/ota/ios/HelloPear \
    --android-arm64 ./test/fixtures/hello-pear-react-native/ota/android/HelloPear \
    --target ./my-build

$ tree my-build/

my-build
├── by-arch
│   ├── android-arm64
│   │   └── app
│   │       └── HelloPear
│   │           └── app.bundle
│   ├── darwin-arm64
│   │   └── app
│   │       └── HelloPear.app
│   ├── darwin-x64
│   │   └── app
│   │       └── HelloPear.app
│   ├── ios-arm64
│   │   └── app
│   │       └── HelloPear
│   │           └── app.bundle
│   ├── ios-arm64-simulator
│   │   └── app
│   │       └── HelloPear
│   │           └── app.bundle
│   ├── ios-x64-simulator
│   │   └── app
│   │       └── HelloPear
│   │           └── app.bundle
│   ├── linux-arm64
│   │   └── app
│   │       └── HelloPear.AppImage
│   ├── linux-x64
│   │   └── app
│   │       └── HelloPear.AppImage
│   └── win32-x64
│       └── app
│           └── HelloPear.msix
└── package.json

License

Apache-2.0

FAQs

Package last updated on 20 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts