Gathering detailed insights and metrics for grunt-nw-gyp
Gathering detailed insights and metrics for grunt-nw-gyp
Gathering detailed insights and metrics for grunt-nw-gyp
Gathering detailed insights and metrics for grunt-nw-gyp
npm install grunt-nw-gyp
Typescript
Module System
Min. Node Version
NPM Version
CoffeeScript (96.34%)
C++ (3.66%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
110 Commits
1 Forks
1 Watchers
3 Branches
1 Contributors
Updated on Jan 13, 2015
Latest Version
0.5.0
Package Id
grunt-nw-gyp@0.5.0
Size
4.15 kB
NPM Version
1.4.28
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
1
Run nw-gyp commands from Grunt.
This plugin requires Grunt ~0.4.0
If you haven’t used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you’re familiar with that process, you may install this plugin with this command:
1$ npm install grunt-nw-gyp --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
1grunt.loadNpmTasks('grunt-nw-gyp');
For nw-gyp to work you’ll have to install all necessary build tools for your platform, see nw-gyp’s README.md for that matter. However, you do not have to install nw-gyp globally as it is already included with grunt-nw-gyp.
In your project’s Gruntfile, add a section named gyp
to the data object passed into grunt.initConfig()
.
1grunt.initConfig({
2 gyp: {
3 options: {
4 // Task-specific options go here.
5 },
6 your_target: {
7 // Target-specific file lists and/or options go here.
8 }
9 }
10})
Type: String
Default value: rebuild
Specify nw-gyp command to execute.
Supported values are configure
, build
, clean
and rebuild
. See nw-gyp’s README.md for command descriptions.
Type: Boolean
Default value: false
Create a debug build.
Type: String
Default value: Your processor’s architecture
Set the target architecture: ia32
, x64
or arm
.
This would be equivalent to nw-gyp rebuild
.
1$ grunt gyp:addon
1grunt.initConfig({ 2 gyp: { 3 addon: {} 4 } 5})
This would be equivalent to nw-gyp configure --debug
.
1$ grunt gyp:customTarget
1grunt.initConfig({ 2 gyp: { 3 customTarget: { 4 command: 'configure', 5 options: { 6 debug: true 7 } 8 } 9 } 10})
This would be equivalent to nw-gyp build --arch=arm
.
1$ grunt gyp:arm
1grunt.initConfig({ 2 gyp: { 3 arm: { 4 command: 'build', 5 options: { 6 arch: 'arm' 7 } 8 } 9 } 10})
First, install all dependencies:
1$ npm install
Then run the tests:
1$ grunt test
Testing might take a while as compiling takes time. You may need to install the node development header files before by executing:
1$ ./node_modules/.bin/nw-gyp install
arch
optionnw-gyp
to v1.x
nw-gyp
to v0.13.x
gyp.js
nw-gyp
to v0.12.x
grunt-nw-gyp
is licensed under the BSD 2-clause license. See LICENSE for the full license.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More