aboutsummaryrefslogtreecommitdiff
path: root/node_modules/global-modules
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/global-modules')
-rw-r--r--node_modules/global-modules/LICENSE21
-rw-r--r--node_modules/global-modules/README.md65
-rw-r--r--node_modules/global-modules/index.js18
-rw-r--r--node_modules/global-modules/package.json66
4 files changed, 170 insertions, 0 deletions
diff --git a/node_modules/global-modules/LICENSE b/node_modules/global-modules/LICENSE
new file mode 100644
index 000000000..1e49edf81
--- /dev/null
+++ b/node_modules/global-modules/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2015-2016, Jon Schlinkert.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/node_modules/global-modules/README.md b/node_modules/global-modules/README.md
new file mode 100644
index 000000000..4c8280ed0
--- /dev/null
+++ b/node_modules/global-modules/README.md
@@ -0,0 +1,65 @@
+# global-modules [![NPM version](https://img.shields.io/npm/v/global-modules.svg?style=flat)](https://www.npmjs.com/package/global-modules) [![NPM downloads](https://img.shields.io/npm/dm/global-modules.svg?style=flat)](https://npmjs.org/package/global-modules) [![Build Status](https://img.shields.io/travis/jonschlinkert/global-modules.svg?style=flat)](https://travis-ci.org/jonschlinkert/global-modules)
+
+The directory used by npm for globally installed npm modules.
+
+## Install
+
+Install with [npm](https://www.npmjs.com/):
+
+```sh
+$ npm install --save global-modules
+```
+
+## Usage
+
+```js
+var dir = require('global-modules');
+//=> '/usr/local/lib/node_modules' (depends on OS)
+```
+
+## About
+
+### Related projects
+
+* [contains-path](https://www.npmjs.com/package/contains-path): Return true if a file path contains the given path. | [homepage](https://github.com/jonschlinkert/contains-path "Return true if a file path contains the given path.")
+* [git-config-path](https://www.npmjs.com/package/git-config-path): Resolve the path to the user's global .gitconfig. | [homepage](https://github.com/jonschlinkert/git-config-path "Resolve the path to the user's global .gitconfig.")
+* [global-prefix](https://www.npmjs.com/package/global-prefix): Get the npm global path prefix. | [homepage](https://github.com/jonschlinkert/global-prefix "Get the npm global path prefix.")
+* [npm-paths](https://www.npmjs.com/package/npm-paths): Returns an array of unique "npm" directories based on the user's platform and environment. | [homepage](https://github.com/jonschlinkert/npm-paths "Returns an array of unique "npm" directories based on the user's platform and environment.")
+
+### Contributing
+
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
+
+### Building docs
+
+_(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_
+
+To generate the readme and API documentation with [verb](https://github.com/verbose/verb):
+
+```sh
+$ npm install -g verb verb-generate-readme && verb
+```
+
+### Running tests
+
+Install dev dependencies:
+
+```sh
+$ npm install -d && npm test
+```
+
+### Author
+
+**Jon Schlinkert**
+
+* [github/jonschlinkert](https://github.com/jonschlinkert)
+* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
+
+### License
+
+Copyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).
+Released under the [MIT license](https://github.com/jonschlinkert/global-modules/blob/master/LICENSE).
+
+***
+
+_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on July 26, 2016._ \ No newline at end of file
diff --git a/node_modules/global-modules/index.js b/node_modules/global-modules/index.js
new file mode 100644
index 000000000..5fbab5743
--- /dev/null
+++ b/node_modules/global-modules/index.js
@@ -0,0 +1,18 @@
+/*!
+ * global-modules <https://github.com/jonschlinkert/global-modules>
+ *
+ * Copyright (c) 2015 Jon Schlinkert.
+ * Licensed under the MIT license.
+ */
+
+'use strict';
+
+var path = require('path');
+var prefix = require('global-prefix');
+var isWindows = require('is-windows');
+
+if (isWindows()) {
+ module.exports = path.resolve(prefix, 'node_modules');
+} else {
+ module.exports = path.resolve(prefix, 'lib/node_modules');
+}
diff --git a/node_modules/global-modules/package.json b/node_modules/global-modules/package.json
new file mode 100644
index 000000000..420e870ce
--- /dev/null
+++ b/node_modules/global-modules/package.json
@@ -0,0 +1,66 @@
+{
+ "name": "global-modules",
+ "description": "The directory used by npm for globally installed npm modules.",
+ "version": "0.2.3",
+ "homepage": "https://github.com/jonschlinkert/global-modules",
+ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
+ "repository": "jonschlinkert/global-modules",
+ "bugs": {
+ "url": "https://github.com/jonschlinkert/global-modules/issues"
+ },
+ "license": "MIT",
+ "files": [
+ "index.js"
+ ],
+ "main": "index.js",
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "dependencies": {
+ "global-prefix": "^0.1.4",
+ "is-windows": "^0.2.0"
+ },
+ "devDependencies": {
+ "fs-exists-sync": "^0.1.0",
+ "gulp-format-md": "^0.1.9",
+ "mocha": "^2.5.3"
+ },
+ "keywords": [
+ "directory",
+ "dirname",
+ "global",
+ "module",
+ "package",
+ "path",
+ "prefix",
+ "resolve"
+ ],
+ "verb": {
+ "run": true,
+ "toc": false,
+ "layout": "default",
+ "tasks": [
+ "readme"
+ ],
+ "plugins": [
+ "gulp-format-md"
+ ],
+ "related": {
+ "list": [
+ "global-prefix",
+ "git-config-path",
+ "npm-paths",
+ "contains-path"
+ ]
+ },
+ "reflinks": [
+ "verb"
+ ],
+ "lint": {
+ "reflinks": true
+ }
+ }
+}