New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

grunt-electron-builder

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-electron-builder

Grunt plugin to build your electron app

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

grunt-electron-builder

Grunt plugin to build your electron app

Getting Started

This plugin requires Grunt ~0.4.5

npm install grunt-electron-builder --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-electron-builder');

Important note:

The plugin actually only build for Linux and Windows electron app. Mac support should come soon.

The "electron_builder" task

Overview

In your project's Gruntfile, add a section named electron_builder to the data object passed into grunt.initConfig().

grunt.initConfig({
  electron_builder: {
    options: {
      // Task-specific options go here.
      appName: 'My appName',
      dest: './build', // Build folder you want to use. './build' by default
      src: __dirname+'/app', // Relative path to your electron app folder
      platforms: ['linux-x64'] // Array of platforms on which you want your app to run. Actually only support 'linux-64' and 'win32-x64'
    },
    your_target: {
      // Target-specific file lists and/or options go here.
      // Same as options
    },
  },
});

Usage Examples

electron_builder: {
  options: {
    appName: 'My awesome Electron app'
  },
  dist: {
    options: {
      src: __dirname+'/app/',
      dest: './build',
      platforms: ['win32-x64']
    }
  },
},

Keywords

FAQs

Package last updated on 03 Aug 2015

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