diff options
Diffstat (limited to 'deps/npm/lib/config/defaults.js')
-rw-r--r-- | deps/npm/lib/config/defaults.js | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/deps/npm/lib/config/defaults.js b/deps/npm/lib/config/defaults.js index 96499d1718..517d82ae1e 100644 --- a/deps/npm/lib/config/defaults.js +++ b/deps/npm/lib/config/defaults.js @@ -106,6 +106,7 @@ Object.defineProperty(exports, 'defaults', {get: function () { defaults = { access: null, + 'allow-same-version': false, 'always-auth': false, also: null, 'auth-type': 'legacy', @@ -152,6 +153,7 @@ Object.defineProperty(exports, 'defaults', {get: function () { 'ham-it-up': false, heading: 'npm', 'if-present': false, + 'ignore-prepublish': false, 'ignore-scripts': false, 'init-module': path.resolve(home, '.npm-init.js'), 'init-author-name': '', @@ -164,7 +166,7 @@ Object.defineProperty(exports, 'defaults', {get: function () { 'legacy-bundling': false, link: false, 'local-address': undefined, - loglevel: 'warn', + loglevel: 'notice', logstream: process.stderr, 'logs-max': 10, long: false, @@ -172,10 +174,13 @@ Object.defineProperty(exports, 'defaults', {get: function () { message: '%s', 'metrics-registry': null, 'node-version': process.version, + 'offline': false, 'onload-script': false, only: null, optional: true, parseable: false, + 'prefer-offline': false, + 'prefer-online': false, prefix: globalPrefix, production: process.env.NODE_ENV === 'production', 'progress': !process.env.TRAVIS && !process.env.CI, @@ -189,7 +194,7 @@ Object.defineProperty(exports, 'defaults', {get: function () { 'rebuild-bundle': true, registry: 'https://registry.npmjs.org/', rollback: true, - save: false, + save: true, 'save-bundle': false, 'save-dev': false, 'save-exact': false, @@ -210,6 +215,7 @@ Object.defineProperty(exports, 'defaults', {get: function () { 'strict-ssl': true, tag: 'latest', 'tag-version-prefix': 'v', + timing: false, tmp: temp, unicode: hasUnicode(), 'unsafe-perm': process.platform === 'win32' || @@ -233,6 +239,7 @@ Object.defineProperty(exports, 'defaults', {get: function () { exports.types = { access: [null, 'restricted', 'public'], + 'allow-same-version': Boolean, 'always-auth': Boolean, also: [null, 'dev', 'development'], 'auth-type': ['legacy', 'sso', 'saml', 'oauth'], @@ -270,6 +277,7 @@ exports.types = { 'ham-it-up': Boolean, 'heading': String, 'if-present': Boolean, + 'ignore-prepublish': Boolean, 'ignore-scripts': Boolean, 'init-module': path, 'init-author-name': String, @@ -284,7 +292,7 @@ exports.types = { // local-address must be listed as an IP for a local network interface // must be IPv4 due to node bug 'local-address': getLocalAddresses(), - loglevel: ['silent', 'error', 'warn', 'http', 'info', 'verbose', 'silly'], + loglevel: ['silent', 'error', 'warn', 'notice', 'http', 'timing', 'info', 'verbose', 'silly'], logstream: Stream, 'logs-max': Number, long: Boolean, @@ -292,10 +300,13 @@ exports.types = { message: String, 'metrics-registry': [null, String], 'node-version': [null, semver], + offline: Boolean, 'onload-script': [null, String], only: [null, 'dev', 'development', 'prod', 'production'], optional: Boolean, parseable: Boolean, + 'prefer-offline': Boolean, + 'prefer-online': Boolean, prefix: path, production: Boolean, progress: Boolean, @@ -324,6 +335,7 @@ exports.types = { 'sso-type': [null, 'oauth', 'saml'], 'strict-ssl': Boolean, tag: String, + timing: Boolean, tmp: path, unicode: Boolean, 'unsafe-perm': Boolean, |