
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
grunt-electron-builder
Advanced tools
Grunt plugin to build your electron app
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');
The plugin actually only build for Linux and Windows electron app. Mac support should come soon.
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
},
},
});
electron_builder: {
options: {
appName: 'My awesome Electron app'
},
dist: {
options: {
src: __dirname+'/app/',
dest: './build',
platforms: ['win32-x64']
}
},
},
FAQs
Grunt plugin to build your electron app
We found that grunt-electron-builder demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.