node_modules/which/bin/which000077500000001731151113272660012133 0ustar00#!/usr/bin/env node var which = require("../") if (process.argv.length < 3) usage() function usage () { console.error('usage: which [-as] program ...') process.exit(1) } var all = false var silent = false var dashdash = false var args = process.argv.slice(2).filter(function (arg) { if (dashdash || !/^-/.test(arg)) return true if (arg === '--') { dashdash = true return false } var flags = arg.substr(1).split('') for (var f = 0; f < flags.length; f++) { var flag = flags[f] switch (flag) { case 's': silent = true break case 'a': all = true break default: console.error('which: illegal option -- ' + flag) usage() } } return false }) process.exit(args.reduce(function (pv, current) { try { var f = which.sync(current, { all: all }) if (all) f = f.join('\n') if (!silent) console.log(f) return pv; } catch (e) { return 1; } }, 0)) node_modules/global-prefix/LICENSE000066400000002103151113272660012763 0ustar00The MIT License (MIT) Copyright (c) 2015-present, 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. node_modules/global-prefix/README.md000066400000007534151113272660013252 0ustar00# global-prefix [![NPM version](https://img.shields.io/npm/v/global-prefix.svg?style=flat)](https://www.npmjs.com/package/global-prefix) [![NPM monthly downloads](https://img.shields.io/npm/dm/global-prefix.svg?style=flat)](https://npmjs.org/package/global-prefix) [![NPM total downloads](https://img.shields.io/npm/dt/global-prefix.svg?style=flat)](https://npmjs.org/package/global-prefix) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/global-prefix.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/global-prefix) [![Windows Build Status](https://img.shields.io/appveyor/ci/jonschlinkert/global-prefix.svg?style=flat&label=AppVeyor)](https://ci.appveyor.com/project/jonschlinkert/global-prefix) > Get the npm global path prefix. Please consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support. ## Install Install with [npm](https://www.npmjs.com/): ```sh $ npm install --save global-prefix ``` This is partially based on the code used by npm internally to resolve the global prefix. ## Usage ```js var prefix = require('global-prefix'); //=> '/usr/local' (this path will differ by system and user-defined config) ``` ## About
Contributing Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
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 ```
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 ```
### Related projects You might also be interested in these projects: * [global-modules](https://www.npmjs.com/package/global-modules): The directory used by npm for globally installed npm modules. | [homepage](https://github.com/jonschlinkert/global-modules "The directory used by npm for globally installed npm modules.") * [global-paths](https://www.npmjs.com/package/global-paths): Returns an array of unique "global" directories based on the user's platform and environment. The… [more](https://github.com/jonschlinkert/global-paths) | [homepage](https://github.com/jonschlinkert/global-paths "Returns an array of unique "global" directories based on the user's platform and environment. The resulting paths can be used for doing lookups for generators or other globally installed npm packages. Node.js / JavaScript.") ### Contributors | **Commits** | **Contributor** | | --- | --- | | 23 | [jonschlinkert](https://github.com/jonschlinkert) | | 15 | [doowb](https://github.com/doowb) | | 2 | [phated](https://github.com/phated) | | 1 | [rmbaad](https://github.com/rmbaad) | | 1 | [avengerpenguin](https://github.com/avengerpenguin) | | 1 | [jorrit](https://github.com/jorrit) | | 1 | [mathiasvr](https://github.com/mathiasvr) | | 1 | [tunnckoCore](https://github.com/tunnckoCore) | ### Author **Jon Schlinkert** * [GitHub Profile](https://github.com/jonschlinkert) * [Twitter Profile](https://twitter.com/jonschlinkert) * [LinkedIn Profile](https://linkedin.com/in/jonschlinkert) ### License Copyright © 2018, [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 October 11, 2018._node_modules/global-prefix/index.js000066400000003720151113272660013431 0ustar00/*! * global-prefix * * Copyright (c) 2015-present Jon Schlinkert. * Licensed under the MIT license. */ 'use strict'; const fs = require('fs'); const os = require('os'); const path = require('path'); const ini = require('ini'); let prefix; const getPrefix = () => { if (process.env.PREFIX) return process.env.PREFIX; if (prefix) return prefix; // Start by checking if the global prefix is set by the user let home = os.homedir(); // os.homedir() returns undefined if $HOME is not set; path.resolve requires strings if (home) { prefix = tryConfigPath(path.resolve(home, '.npmrc')); } if (prefix) { return prefix; } // Otherwise find the path of npm let npm = tryNpmPath(); if (npm) { // Check the built-in npm config file prefix = tryConfigPath(path.resolve(npm, '..', '..', 'npmrc')); if (prefix) { // Now the global npm config can also be checked. prefix = tryConfigPath(path.resolve(prefix, 'etc', 'npmrc')) || prefix; } } if (!prefix) { let { APPDATA, DESTDIR, OSTYPE } = process.env; // c:\node\node.exe --> prefix=c:\node\ if (process.platform === 'win32' || OSTYPE === 'msys' || OSTYPE === 'cygwin') { prefix = APPDATA ? path.join(APPDATA, 'npm') : path.dirname(process.execPath); return prefix; } // /usr/local/bin/node --> prefix=/usr/local prefix = path.dirname(path.dirname(process.execPath)); // destdir only is respected on Unix if (DESTDIR) { prefix = path.join(DESTDIR, prefix); } } return prefix; } function tryNpmPath() { try { return fs.realpathSync(require('which').sync('npm')); } catch (err) { /* do nothing */ } } function tryConfigPath(configPath) { try { return ini.parse(fs.readFileSync(configPath, 'utf-8')).prefix; } catch (err) { /* do nothing */ } } /** * Expose `prefix` */ Reflect.defineProperty(module, 'exports', { get() { return getPrefix(); } }); node_modules/global-prefix/package.json000066400000004632151113272660014255 0ustar00{ "_args": [ [ "global-prefix@3.0.0", "/home/freeclou/app.optimyar.com/backend" ] ], "_from": "global-prefix@3.0.0", "_id": "global-prefix@3.0.0", "_inBundle": false, "_integrity": "sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==", "_location": "/global-modules/global-prefix", "_phantomChildren": {}, "_requested": { "type": "version", "registry": true, "raw": "global-prefix@3.0.0", "name": "global-prefix", "escapedName": "global-prefix", "rawSpec": "3.0.0", "saveSpec": null, "fetchSpec": "3.0.0" }, "_requiredBy": [ "/global-modules" ], "_resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-3.0.0.tgz", "_spec": "3.0.0", "_where": "/home/freeclou/app.optimyar.com/backend", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "bugs": { "url": "https://github.com/jonschlinkert/global-prefix/issues" }, "contributors": [ { "name": "Alexandr Bogachev", "url": "https://github.com/rmbaad" }, { "name": "Brian Woodward", "url": "https://twitter.com/doowb" }, { "name": "Charlike Mike Reagent", "url": "https://i.am.charlike.online" }, { "name": "JasonChang", "url": "https://packagist.org/packages/jason-chang" }, { "name": "Jon Schlinkert", "url": "http://twitter.com/jonschlinkert" }, { "name": "Jorrit Schippers", "url": "https://www.ncode.nl" }, { "name": "Mathias Rasmussen", "url": "chrome://dino" }, { "name": "Ross Fenning", "url": "http://rossfenning.co.uk" } ], "dependencies": { "ini": "^1.3.5", "kind-of": "^6.0.2", "which": "^1.3.1" }, "description": "Get the npm global path prefix.", "devDependencies": { "gulp-format-md": "^2.0.0", "mocha": "^5.2.0" }, "engines": { "node": ">=6" }, "files": [ "index.js" ], "homepage": "https://github.com/jonschlinkert/global-prefix", "keywords": [ "global", "module", "modules", "npm", "path", "prefix", "resolve" ], "license": "MIT", "main": "index.js", "name": "global-prefix", "repository": { "type": "git", "url": "git+https://github.com/jonschlinkert/global-prefix.git" }, "scripts": { "test": "mocha" }, "version": "3.0.0" } node_modules/which/CHANGELOG.md000066400000004610151113272660012143 0ustar00# Changes ## 1.3.1 * update deps * update travis ## v1.3.0 * Add nothrow option to which.sync * update tap ## v1.2.14 * appveyor: drop node 5 and 0.x * travis-ci: add node 6, drop 0.x ## v1.2.13 * test: Pass missing option to pass on windows * update tap * update isexe to 2.0.0 * neveragain.tech pledge request ## v1.2.12 * Removed unused require ## v1.2.11 * Prevent changelog script from being included in package ## v1.2.10 * Use env.PATH only, not env.Path ## v1.2.9 * fix for paths starting with ../ * Remove unused `is-absolute` module ## v1.2.8 * bullet items in changelog that contain (but don't start with) # ## v1.2.7 * strip 'update changelog' changelog entries out of changelog ## v1.2.6 * make the changelog bulleted ## v1.2.5 * make a changelog, and keep it up to date * don't include tests in package * Properly handle relative-path executables * appveyor * Attach error code to Not Found error * Make tests pass on Windows ## v1.2.4 * Fix typo ## v1.2.3 * update isexe, fix regression in pathExt handling ## v1.2.2 * update deps, use isexe module, test windows ## v1.2.1 * Sometimes windows PATH entries are quoted * Fixed a bug in the check for group and user mode bits. This bug was introduced during refactoring for supporting strict mode. * doc cli ## v1.2.0 * Add support for opt.all and -as cli flags * test the bin * update travis * Allow checking for multiple programs in bin/which * tap 2 ## v1.1.2 * travis * Refactored and fixed undefined error on Windows * Support strict mode ## v1.1.1 * test +g exes against secondary groups, if available * Use windows exe semantics on cygwin & msys * cwd should be first in path on win32, not last * Handle lower-case 'env.Path' on Windows * Update docs * use single-quotes ## v1.1.0 * Add tests, depend on is-absolute ## v1.0.9 * which.js: root is allowed to execute files owned by anyone ## v1.0.8 * don't use graceful-fs ## v1.0.7 * add license to package.json ## v1.0.6 * isc license ## 1.0.5 * Awful typo ## 1.0.4 * Test for path absoluteness properly * win: Allow '' as a pathext if cmd has a . in it ## 1.0.3 * Remove references to execPath * Make `which.sync()` work on Windows by honoring the PATHEXT variable. * Make `isExe()` always return true on Windows. * MIT ## 1.0.2 * Only files can be exes ## 1.0.1 * Respect the PATHEXT env for win32 support * should 0755 the bin * binary * guts * package * 1st node_modules/which/LICENSE000066400000001375151113272660011344 0ustar00The ISC License Copyright (c) Isaac Z. Schlueter and Contributors Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. node_modules/which/README.md000066400000002352151113272660011612 0ustar00# which Like the unix `which` utility. Finds the first instance of a specified executable in the PATH environment variable. Does not cache the results, so `hash -r` is not needed when the PATH changes. ## USAGE ```javascript var which = require('which') // async usage which('node', function (er, resolvedPath) { // er is returned if no "node" is found on the PATH // if it is found, then the absolute path to the exec is returned }) // sync usage // throws if not found var resolved = which.sync('node') // if nothrow option is used, returns null if not found resolved = which.sync('node', {nothrow: true}) // Pass options to override the PATH and PATHEXT environment vars. which('node', { path: someOtherPath }, function (er, resolved) { if (er) throw er console.log('found at %j', resolved) }) ``` ## CLI USAGE Same as the BSD `which(1)` binary. ``` usage: which [-as] program ... ``` ## OPTIONS You may pass an options object as the second argument. - `path`: Use instead of the `PATH` environment variable. - `pathExt`: Use instead of the `PATHEXT` environment variable. - `all`: Return all matches, instead of just the first one. Note that this means the function returns an array of strings instead of a single string. node_modules/which/package.json000066400000003331151113272660012617 0ustar00{ "_args": [ [ "which@1.3.1", "/home/freeclou/app.optimyar.com/backend" ] ], "_from": "which@1.3.1", "_id": "which@1.3.1", "_inBundle": false, "_integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", "_location": "/global-modules/which", "_phantomChildren": {}, "_requested": { "type": "version", "registry": true, "raw": "which@1.3.1", "name": "which", "escapedName": "which", "rawSpec": "1.3.1", "saveSpec": null, "fetchSpec": "1.3.1" }, "_requiredBy": [ "/global-modules/global-prefix" ], "_resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", "_spec": "1.3.1", "_where": "/home/freeclou/app.optimyar.com/backend", "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", "url": "http://blog.izs.me" }, "bin": { "which": "bin/which" }, "bugs": { "url": "https://github.com/isaacs/node-which/issues" }, "dependencies": { "isexe": "^2.0.0" }, "description": "Like which(1) unix command. Find the first instance of an executable in the PATH.", "devDependencies": { "mkdirp": "^0.5.0", "rimraf": "^2.6.2", "tap": "^12.0.1" }, "files": [ "which.js", "bin/which" ], "homepage": "https://github.com/isaacs/node-which#readme", "license": "ISC", "main": "which.js", "name": "which", "repository": { "type": "git", "url": "git://github.com/isaacs/node-which.git" }, "scripts": { "changelog": "bash gen-changelog.sh", "postversion": "npm run changelog && git add CHANGELOG.md && git commit -m 'update changelog - '${npm_package_version}", "test": "tap test/*.js --cov" }, "version": "1.3.1" } node_modules/which/which.js000066400000006160151113272660011774 0ustar00module.exports = which which.sync = whichSync var isWindows = process.platform === 'win32' || process.env.OSTYPE === 'cygwin' || process.env.OSTYPE === 'msys' var path = require('path') var COLON = isWindows ? ';' : ':' var isexe = require('isexe') function getNotFoundError (cmd) { var er = new Error('not found: ' + cmd) er.code = 'ENOENT' return er } function getPathInfo (cmd, opt) { var colon = opt.colon || COLON var pathEnv = opt.path || process.env.PATH || '' var pathExt = [''] pathEnv = pathEnv.split(colon) var pathExtExe = '' if (isWindows) { pathEnv.unshift(process.cwd()) pathExtExe = (opt.pathExt || process.env.PATHEXT || '.EXE;.CMD;.BAT;.COM') pathExt = pathExtExe.split(colon) // Always test the cmd itself first. isexe will check to make sure // it's found in the pathExt set. if (cmd.indexOf('.') !== -1 && pathExt[0] !== '') pathExt.unshift('') } // If it has a slash, then we don't bother searching the pathenv. // just check the file itself, and that's it. if (cmd.match(/\//) || isWindows && cmd.match(/\\/)) pathEnv = [''] return { env: pathEnv, ext: pathExt, extExe: pathExtExe } } function which (cmd, opt, cb) { if (typeof opt === 'function') { cb = opt opt = {} } var info = getPathInfo(cmd, opt) var pathEnv = info.env var pathExt = info.ext var pathExtExe = info.extExe var found = [] ;(function F (i, l) { if (i === l) { if (opt.all && found.length) return cb(null, found) else return cb(getNotFoundError(cmd)) } var pathPart = pathEnv[i] if (pathPart.charAt(0) === '"' && pathPart.slice(-1) === '"') pathPart = pathPart.slice(1, -1) var p = path.join(pathPart, cmd) if (!pathPart && (/^\.[\\\/]/).test(cmd)) { p = cmd.slice(0, 2) + p } ;(function E (ii, ll) { if (ii === ll) return F(i + 1, l) var ext = pathExt[ii] isexe(p + ext, { pathExt: pathExtExe }, function (er, is) { if (!er && is) { if (opt.all) found.push(p + ext) else return cb(null, p + ext) } return E(ii + 1, ll) }) })(0, pathExt.length) })(0, pathEnv.length) } function whichSync (cmd, opt) { opt = opt || {} var info = getPathInfo(cmd, opt) var pathEnv = info.env var pathExt = info.ext var pathExtExe = info.extExe var found = [] for (var i = 0, l = pathEnv.length; i < l; i ++) { var pathPart = pathEnv[i] if (pathPart.charAt(0) === '"' && pathPart.slice(-1) === '"') pathPart = pathPart.slice(1, -1) var p = path.join(pathPart, cmd) if (!pathPart && /^\.[\\\/]/.test(cmd)) { p = cmd.slice(0, 2) + p } for (var j = 0, ll = pathExt.length; j < ll; j ++) { var cur = p + pathExt[j] var is try { is = isexe.sync(cur, { pathExt: pathExtExe }) if (is) { if (opt.all) found.push(cur) else return cur } } catch (ex) {} } } if (opt.all && found.length) return found if (opt.nothrow) return null throw getNotFoundError(cmd) } LICENSE000066400000002103151113272660005553 0ustar00The MIT License (MIT) Copyright (c) 2015-present, 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. README.md000066400000006661151113272660006042 0ustar00# 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. Please consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support. ## Install Install with [npm](https://www.npmjs.com/): ```sh $ npm install --save global-modules ``` ## Usage ```js const globalModules = require('global-modules'); console.log(globalModules); //=> '/usr/local/lib/node_modules' ``` _(Note that this path might be different based on platform, user-defined configuration settings, etc)_ ## About
Contributing Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
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 ```
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 ```
### Related projects You might also be interested in these 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.") * [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.") ### Contributors | **Commits** | **Contributor** | | --- | --- | | 20 | [jonschlinkert](https://github.com/jonschlinkert) | | 1 | [Kikobeats](https://github.com/Kikobeats) | ### Author **Jon Schlinkert** * [GitHub Profile](https://github.com/jonschlinkert) * [Twitter Profile](https://twitter.com/jonschlinkert) * [LinkedIn Profile](https://linkedin.com/in/jonschlinkert) ### License Copyright © 2018, [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.8.0, on December 14, 2018._index.js000066400000001161151113272660006216 0ustar00/*! * global-modules * * Copyright (c) 2015-2017 Jon Schlinkert. * Licensed under the MIT license. */ 'use strict'; const path = require('path'); const prefix = require('global-prefix'); let gm; function getPath() { if (process.platform === 'win32' || process.env.OSTYPE === 'msys' || process.env.OSTYPE === 'cygwin') { return path.resolve(prefix, 'node_modules'); } return path.resolve(prefix, 'lib/node_modules'); } /** * Expose `global-modules` path */ Reflect.defineProperty(module, 'exports', { get() { return gm || (gm = getPath()); } }); package.json000066400000004605151113272660007045 0ustar00{ "_args": [ [ "global-modules@2.0.0", "/home/freeclou/app.optimyar.com/backend" ] ], "_from": "global-modules@2.0.0", "_id": "global-modules@2.0.0", "_inBundle": false, "_integrity": "sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==", "_location": "/global-modules", "_phantomChildren": { "ini": "1.3.8", "isexe": "2.0.0", "kind-of": "6.0.3" }, "_requested": { "type": "version", "registry": true, "raw": "global-modules@2.0.0", "name": "global-modules", "escapedName": "global-modules", "rawSpec": "2.0.0", "saveSpec": null, "fetchSpec": "2.0.0" }, "_requiredBy": [ "/webpack-cli" ], "_resolved": "https://registry.npmjs.org/global-modules/-/global-modules-2.0.0.tgz", "_spec": "2.0.0", "_where": "/home/freeclou/app.optimyar.com/backend", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "bugs": { "url": "https://github.com/jonschlinkert/global-modules/issues" }, "contributors": [ { "name": "JasonChang", "url": "https://packagist.org/packages/jason-chang" }, { "name": "Jon Schlinkert", "url": "http://twitter.com/jonschlinkert" }, { "name": "Kiko Beats", "url": "https://kikobeats.com" } ], "dependencies": { "global-prefix": "^3.0.0" }, "description": "The directory used by npm for globally installed npm modules.", "devDependencies": { "gulp-format-md": "^2.0.0", "mocha": "^5.2.0" }, "engines": { "node": ">=6" }, "files": [ "index.js" ], "homepage": "https://github.com/jonschlinkert/global-modules", "keywords": [ "directory", "dirname", "global", "module", "modules", "package", "path", "prefix", "resolve" ], "license": "MIT", "main": "index.js", "name": "global-modules", "repository": { "type": "git", "url": "git+https://github.com/jonschlinkert/global-modules.git" }, "scripts": { "test": "mocha" }, "verb": { "run": true, "toc": false, "layout": "default", "tasks": [ "readme" ], "plugins": [ "gulp-format-md" ], "related": { "list": [ "git-config-path", "global-prefix", "npm-paths" ] }, "lint": { "reflinks": true } }, "version": "2.0.0" }