You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

109 lines
12 KiB

{
"_args": [
[
{
"raw": "node-gyp@3.6.0",
"scope": null,
"escapedName": "node-gyp",
"name": "node-gyp",
"rawSpec": "3.6.0",
"spec": "3.6.0",
"type": "version"
},
"/Users/rebecca/code/npm"
]
],
"_from": "node-gyp@3.6.0",
"_hasShrinkwrap": false,
"_id": "node-gyp@3.6.0",
"_location": "/node-gyp",
"_phantomChildren": {
"abbrev": "1.1.0"
},
"_requested": {
"raw": "node-gyp@3.6.0",
"scope": null,
"escapedName": "node-gyp",
"name": "node-gyp",
"rawSpec": "3.6.0",
"spec": "3.6.0",
"type": "version"
},
"_requiredBy": [
"#USER",
"/"
],
"_resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.6.0.tgz",
"_shasum": "7474f63a3a0501161dda0b6341f022f14c423fa6",
"_shrinkwrap": null,
"_spec": "node-gyp@3.6.0",
"_where": "/Users/rebecca/code/npm",
"author": {
"name": "Nathan Rajlich",
"email": "nathan@tootallnate.net",
"url": "http://tootallnate.net"
},
"bin": {
"node-gyp": "./bin/node-gyp.js"
},
"bugs": {
"url": "https://github.com/nodejs/node-gyp/issues"
},
"dependencies": {
"fstream": "^1.0.0",
"glob": "^7.0.3",
"graceful-fs": "^4.1.2",
"minimatch": "^3.0.2",
"mkdirp": "^0.5.0",
"nopt": "2 || 3",
"npmlog": "0 || 1 || 2 || 3 || 4",
"osenv": "0",
"request": "2",
"rimraf": "2",
"semver": "~5.3.0",
"tar": "^2.0.0",
"which": "1"
},
"description": "Node.js native addon build tool",
"devDependencies": {
"bindings": "~1.2.1",
"nan": "^2.0.0",
"require-inject": "~1.3.0",
"tape": "~4.2.0"
},
"directories": {},
"dist": {
"shasum": "7474f63a3a0501161dda0b6341f022f14c423fa6",
"tarball": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.6.0.tgz"
},
"engines": {
"node": ">= 0.8.0"
},
"homepage": "https://github.com/nodejs/node-gyp#readme",
"installVersion": 9,
"keywords": [
"native",
"addon",
"module",
"c",
"c++",
"bindings",
"gyp"
],
"license": "MIT",
"main": "./lib/node-gyp.js",
"name": "node-gyp",
"optionalDependencies": {},
"preferGlobal": true,
"readme": "node-gyp\n=========\n### Node.js native addon build tool\n\n`node-gyp` is a cross-platform command-line tool written in Node.js for compiling\nnative addon modules for Node.js. It bundles the [gyp](https://gyp.gsrc.io)\nproject used by the Chromium team and takes away the pain of dealing with the\nvarious differences in build platforms. It is the replacement to the `node-waf`\nprogram which is removed for node `v0.8`. If you have a native addon for node that\nstill has a `wscript` file, then you should definitely add a `binding.gyp` file\nto support the latest versions of node.\n\nMultiple target versions of node are supported (i.e. `0.8`, ..., `4`, `5`, `6`,\netc.), regardless of what version of node is actually installed on your system\n(`node-gyp` downloads the necessary development files or headers for the target version).\n\n#### Features:\n\n * Easy to use, consistent interface\n * Same commands to build your module on every platform\n * Supports multiple target versions of Node\n\n\nInstallation\n------------\n\nYou can install with `npm`:\n\n``` bash\n$ npm install -g node-gyp\n```\n\nYou will also need to install:\n\n * On Unix:\n * `python` (`v2.7` recommended, `v3.x.x` is __*not*__ supported)\n * `make`\n * A proper C/C++ compiler toolchain, like [GCC](https://gcc.gnu.org)\n * On Mac OS X:\n * `python` (`v2.7` recommended, `v3.x.x` is __*not*__ supported) (already installed on Mac OS X)\n * [Xcode](https://developer.apple.com/xcode/download/)\n * You also need to install the `Command Line Tools` via Xcode. You can find this under the menu `Xcode -> Preferences -> Downloads`\n * This step will install `gcc` and the related toolchain containing `make`\n * On Windows:\n * Option 1: Install all the required tools and configurations using Microsoft's [windows-build-tools](https://github.com/felixrieseberg/windows-build-tools) using `npm install --global --production windows-build-tools` from an elevated PowerShell or CMD.exe (run as Administrator).\n * Option 2: Install tools and configuration manually:\n * Visual C++ Build Environment:\n * Option 1: Install [Visual C++ Build Tools](http://landinghub.visualstudio.com/visual-cpp-build-tools) using the **Default Install** option.\n\n * Option 2: Install [Visual Studio 2015](https://www.visualstudio.com/products/visual-studio-community-vs) (or modify an existing installation) and select *Common Tools for Visual C++* during setup. This also works with the free Community and Express for Desktop editions.\n\n > :bulb: [Windows Vista / 7 only] requires [.NET Framework 4.5.1](http://www.microsoft.com/en-us/download/details.aspx?id=40773)\n\n * Install [Python 2.7](https://www.python.org/downloads/) (`v3.x.x` is not supported), and run `npm config set python python2.7` (or see below for further instructions on specifying the proper Python version and path.)\n * Launch cmd, `npm config set msvs_version 2015`\n\n If the above steps didn't work for you, please visit [Microsoft's Node.js Guidelines for Windows](https://github.com/Microsoft/nodejs-guidelines/blob/master/windows-environment.md#compiling-native-addon-modules) for additional tips.\n\nIf you have multiple Python versions installed, you can identify which Python\nversion `node-gyp` uses by setting the '--python' variable:\n\n``` bash\n$ node-gyp --python /path/to/python2.7\n```\n\nIf `node-gyp` is called by way of `npm` *and* you have multiple versions of\nPython installed, then you can set `npm`'s 'python' config key to the appropriate\nvalue:\n\n``` bash\n$ npm config set python /path/to/executable/python2.7\n```\n\nNote that OS X is just a flavour of Unix and so needs `python`, `make`, and C/C++.\nAn easy way to obtain these is to install XCode from Apple,\nand then use it to install the command line tools (under Preferences -> Downloads).\n\nHow to Use\n----------\n\nTo compile your native addon, first go to its root directory:\n\n``` bash\n$ cd my_node_addon\n```\n\nThe next step is to generate the appropriate project build f
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/nodejs/node-gyp.git"
},
"scripts": {
"test": "tape test/test-*"
},
"version": "3.6.0"
}