Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@crabnebula/packager

Package Overview
Dependencies
Maintainers
0
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@crabnebula/packager

Executable packager and bundler distributed as a CLI and library

  • 0.11.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-78.95%
Maintainers
0
Weekly downloads
 
Created
Source

@crabnebula/packager

Executable packager, bundler and updater. A cli tool and library to generate installers or app bundles for your executables. It also comes with useful addons:

  • an updater
  • a resource resolver
Supported packages:
  • macOS
    • DMG (.dmg)
    • Bundle (.app)
  • Linux
    • Debian package (.deb)
    • AppImage (.AppImage)
    • Pacman (.tar.gz and PKGBUILD)
  • Windows
    • NSIS (.exe)
    • MSI using WiX Toolset (.msi)

CLI

The packager is distributed on NPM as a CLI, you can install it:

# pnpm
pnpm add -D @crabnebula/packager
# yarn
yarn add -D @crabnebula/packager
# npm
npm i -D @crabnebula/packager

You then need to configure your app so the CLI can recognize it. Configuration can be done in Packager.toml or packager.json in your project or packager key in packager.json Once, you are done configuring your app, run:

# pnpm
pnpm packager
# yarn
yarn packager
# npm
npx packager

Configuration

By default, the packager reads its configuration from Packager.toml or packager.json if it exists, and from packager.json key in packager.json, You can also specify a custom configuration using the -c/--config cli argument.

For a full list of configuration options, see https://docs.rs/cargo-packager/latest/cargo_packager/config/struct.Config.html.

You could also use the schema file from GitHub to validate your configuration or have auto completions in your IDE.

Building your application before packaging

By default, the packager doesn't build your application, so if your app requires a compilation step, the packager has an option to specify a shell command to be executed before packaing your app, beforePackagingCommand.

Library

The packager is also a library that you can import and integrate into your tooling.

Licenses

MIT or MIT/Apache 2.0 where applicable.

FAQs

Package last updated on 10 Oct 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc