--
This commit is contained in:
parent
24f3d27984
commit
6b60015c02
9588 changed files with 1149251 additions and 49 deletions
18
node_modules/global-modules/index.js
generated
vendored
Normal file
18
node_modules/global-modules/index.js
generated
vendored
Normal file
|
|
@ -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');
|
||||
}
|
||||
Loading…
Reference in a new issue