2017-07-05 7 views

Antwort

1

Sie sind ein Synonym für /home/.npmrc.

Quellcode prüfen NPM auf GitHub: Der Code des set Befehl ist kurz und ruft config ‚s set.

https://github.com/npm/npm/blob/master/lib/set.js

module.exports = set 

set.usage = 'npm set <key> <value> (See `npm config`)' 

var npm = require('./npm.js') 

set.completion = npm.commands.config.completion 

function set (args, cb) { 
    if (!args.length) return cb(set.usage) 
    npm.commands.config(['set'].concat(args), cb) 
} 

config Befehl: https://github.com/npm/npm/blob/master/lib/config.js

Verwandte Themen