Socket
Book a DemoInstallSign in
Socket

grunt-nw-builder

Package Overview
Dependencies
Maintainers
3
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-nw-builder

Build NW.js applications for Mac, Windows and Linux using Grunt.

latest
Source
npmnpm
Version
4.13.2
Version published
Weekly downloads
838
187.97%
Maintainers
3
Weekly downloads
 
Created
Source

grunt-nw-builder

npm Join the chat at https://gitter.im/nwjs/nw-builder

Installation

Install package via npm:

npm install grunt-nw-builder

Refer to nw-builder's Installation Guide for more options.

Usage

nwjs.src is passed into options.srcDir internally. Hence you don't need to specify nwjs.srcDir.

When globbing is enabled:

grunt.initConfig({
  nwjs: {
    get: {
      options: {
        mode: "build",
-       srcDir: "./package.json ./app/**/*",
      },
+     src: [ "./package.json", "./app/**/*" ],
    },
  },
});

When globbing is disabled:

grunt.initConfig({
  nwjs: {
    get: {
      options: {
        mode: "get",
-       srcDir: "./app",
        glob: false,
      },
+     src: "./app",
    },
  },
});

Refer to nw-builder's docs to learn what options to input.

Keywords

NW.js

FAQs

Package last updated on 13 Jul 2025

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