Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorForrest L Norvell <ogd@aoaioxxysz.net>2015-01-23 13:20:02 +0300
committerForrest L Norvell <forrest@npmjs.com>2015-01-23 15:53:43 +0300
commita6794046994743ab50dd9eea446a904e0ab0ea3c (patch)
treea7130778180ee81f159bdd591a4958b488fb1bfa /doc
parentc963eb295cf766921b1680f4a71fd0ed3e1bcad8 (diff)
add access qualifier to publishing
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/npm-config.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/misc/npm-config.md b/doc/misc/npm-config.md
index 7aaaffb8d..1772b34ec 100644
--- a/doc/misc/npm-config.md
+++ b/doc/misc/npm-config.md
@@ -107,6 +107,16 @@ See package.json(5) for more information.
## Config Settings
+### access
+
+* Default: `restricted`
+* Type: Access
+
+When publishing scoped packages, the access level defaults to `restricted`. If
+you want your scoped package to be publicly viewable (and installable) set
+`--access=public`. The only valid values for `access` are `public` and
+`restricted`. Unscoped packages _always_ have an access level of `public`.
+
### always-auth
* Default: false