This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var npm = require('npm'); | |
var cb = funtion (error) { | |
if (error) { | |
console.log('Failed to remove devDependencies'); | |
} else { | |
console.log('devDependencies removed from node_modules'); | |
} | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> runas@3.1.0 install C:\electron\spec\node_modules\runas | |
> node-gyp rebuild | |
eran.t@MCEHQ180 C:\electron\spec\node_modules\runas | |
> if not defined npm_config_node_gyp (node "C:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild ) | |
gyp info it worked if it ends with ok | |
gyp verb cli [ 'node', | |
gyp verb cli 'C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js', | |
gyp verb cli 'rebuild' ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.alphasort = alphasort | |
exports.alphasorti = alphasorti | |
exports.isAbsolute = process.platform === "win32" ? absWin : absUnix | |
exports.setopts = setopts | |
exports.ownProp = ownProp | |
exports.makeAbs = makeAbs | |
exports.finish = finish | |
exports.mark = mark | |
exports.isIgnored = isIgnored | |
exports.childrenIgnored = childrenIgnored |