diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-03-27 21:01:33 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-03-27 21:01:33 +0100 |
commit | cc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 (patch) | |
tree | 92c5d88706a6ffc654d1b133618d357890e7096b /node_modules/global-modules | |
parent | 3771b4d6b67b34c130f3a9a1a15f42deefdb2eda (diff) |
remove node_modules
Diffstat (limited to 'node_modules/global-modules')
-rw-r--r-- | node_modules/global-modules/LICENSE | 21 | ||||
-rw-r--r-- | node_modules/global-modules/README.md | 75 | ||||
-rw-r--r-- | node_modules/global-modules/index.js | 31 | ||||
-rw-r--r-- | node_modules/global-modules/package.json | 72 |
4 files changed, 0 insertions, 199 deletions
diff --git a/node_modules/global-modules/LICENSE b/node_modules/global-modules/LICENSE deleted file mode 100644 index c0d7f1362..000000000 --- a/node_modules/global-modules/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015-2017, 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.
\ No newline at end of file diff --git a/node_modules/global-modules/README.md b/node_modules/global-modules/README.md deleted file mode 100644 index a076f65c0..000000000 --- a/node_modules/global-modules/README.md +++ /dev/null @@ -1,75 +0,0 @@ -# global-modules [![NPM version](https://img.shields.io/npm/v/global-modules.svg?style=flat)](https://www.npmjs.com/package/global-modules) [![NPM monthly downloads](https://img.shields.io/npm/dm/global-modules.svg?style=flat)](https://npmjs.org/package/global-modules) [![NPM total downloads](https://img.shields.io/npm/dt/global-modules.svg?style=flat)](https://npmjs.org/package/global-modules) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/global-modules.svg?style=flat&label=Travis)](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 globalModules = require('global-modules'); -console.log(globalModules); -//=> '/usr/local/lib/node_modules' -``` -_(Note that this path might be different based on OS or user defined configuration settings)_ - -## About - -### Related projects - -* [git-config-path](https://www.npmjs.com/package/git-config-path): Resolve the path to the user's local or global .gitconfig. | [homepage](https://github.com/jonschlinkert/git-config-path "Resolve the path to the user's local or 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.") -* [homedir-polyfill](https://www.npmjs.com/package/homedir-polyfill): Node.js os.homedir polyfill for older versions of node.js. | [homepage](https://github.com/doowb/homedir-polyfill "Node.js os.homedir polyfill for older versions of node.js.") -* [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). - -### Contributors - -| **Commits** | **Contributor** | -| --- | --- | -| 14 | [jonschlinkert](https://github.com/jonschlinkert) | -| 1 | [jason-chang](https://github.com/jason-chang) | -| 1 | [Kikobeats](https://github.com/Kikobeats) | - -### Building docs - -_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_ - -To generate the readme, run the following command: - -```sh -$ npm install -g verbose/verb#dev verb-generate-readme && verb -``` - -### Running tests - -Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command: - -```sh -$ npm install && npm test -``` - -### Author - -**Jon Schlinkert** - -* [github/jonschlinkert](https://github.com/jonschlinkert) -* [twitter/jonschlinkert](https://twitter.com/jonschlinkert) - -### License - -Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert). -Released under the [MIT License](LICENSE). - -*** - -_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on June 28, 2017._
\ No newline at end of file diff --git a/node_modules/global-modules/index.js b/node_modules/global-modules/index.js deleted file mode 100644 index e4c2b8b1a..000000000 --- a/node_modules/global-modules/index.js +++ /dev/null @@ -1,31 +0,0 @@ -/*! - * global-modules <https://github.com/jonschlinkert/global-modules> - * - * Copyright (c) 2015-2017 Jon Schlinkert. - * Licensed under the MIT license. - */ - -'use strict'; - -var path = require('path'); -var prefix = require('global-prefix'); -var isWindows = require('is-windows'); -var gm; - -function getPath() { - if (isWindows()) { - return path.resolve(prefix, 'node_modules'); - } - return path.resolve(prefix, 'lib/node_modules'); -} - -/** - * Expose `global-modules` path - */ - -Object.defineProperty(module, 'exports', { - enumerable: true, - get: function() { - return gm || (gm = getPath()); - } -}); diff --git a/node_modules/global-modules/package.json b/node_modules/global-modules/package.json deleted file mode 100644 index 35430bb18..000000000 --- a/node_modules/global-modules/package.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "name": "global-modules", - "description": "The directory used by npm for globally installed npm modules.", - "version": "1.0.0", - "homepage": "https://github.com/jonschlinkert/global-modules", - "author": "Jon Schlinkert (https://github.com/jonschlinkert)", - "contributors": [ - "JasonChang (https://packagist.org/packages/jason-chang)", - "Jon Schlinkert (http://twitter.com/jonschlinkert)", - "Kiko Beats (https://kikobeats.com)" - ], - "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": "^1.0.1", - "is-windows": "^1.0.1", - "resolve-dir": "^1.0.0" - }, - "devDependencies": { - "gulp-format-md": "^0.1.12", - "mocha": "^3.4.2" - }, - "keywords": [ - "directory", - "dirname", - "global", - "module", - "modules", - "package", - "path", - "prefix", - "resolve" - ], - "verb": { - "run": true, - "toc": false, - "layout": "default", - "tasks": [ - "readme" - ], - "plugins": [ - "gulp-format-md" - ], - "related": { - "list": [ - "homedir-polyfill", - "git-config-path", - "global-prefix", - "npm-paths" - ] - }, - "reflinks": [ - "verb" - ], - "lint": { - "reflinks": true - } - } -} |