JavaScript MIT

grunt-nw-builder

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

N

nwjs

Dernière activité 29 sept. 2026
nwjs/grunt-nw-builder

793

étoiles

138

forks

0

issues ouvertes

Ce README est souvent en anglais.

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.

Projets similaires

Build NW.js applications for Linux, MacOS and Windows

JavaScriptnode-webkitnwjs
Nnwutils
1,7 k étoiles301

Node.js JavaScript runtime ✨🐢🚀✨

JavaScriptjavascriptjslinux
Nnodejs
122,2 k étoiles38,3 k

Call all Node.js modules directly from DOM/WebWorker and enable a new way of writing applications with all Web technologies.

JavaScriptdesktopjavascriptnode-webkit
Nnwjs
41,2 k étoiles3,9 k