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:
authorJan Schär <jscissr@gmail.com>2016-01-21 20:51:18 +0300
committerRebecca Turner <me@re-becca.org>2016-02-04 22:02:32 +0300
commitc67521dc6c1e41d39d02c74105e41442851d23bb (patch)
tree55b06a7cc7f361ac98d69725efb35a6249101d7c /doc
parent7ef6793cd191cc8d88340f7e1ce9c9e3d6f0b2f4 (diff)
docs: update included/excluded files
This updates #9002 PR-URL: https://github.com/npm/npm/pull/11348 Credit: @jscissr
Diffstat (limited to 'doc')
-rw-r--r--doc/files/package.json.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/files/package.json.md b/doc/files/package.json.md
index cebcc29b7..50d268f32 100644
--- a/doc/files/package.json.md
+++ b/doc/files/package.json.md
@@ -186,9 +186,12 @@ works just like a `.gitignore`.
Certain files are always included, regardless of settings:
* `package.json`
-* `README` (and its variants)
-* `CHANGELOG` (and its variants)
+* `README`
+* `CHANGES` / `CHANGELOG` / `HISTORY`
* `LICENSE` / `LICENCE`
+* The file in the "main" field
+
+`README`, `CHANGES` & `LICENSE` can have any case and extension.
Conversely, some files are always ignored:
@@ -198,10 +201,11 @@ Conversely, some files are always ignored:
* `.hg`
* `.lock-wscript`
* `.wafpickle-N`
-* `*.swp`
+* `.*.swp`
* `.DS_Store`
* `._*`
* `npm-debug.log`
+* `.npmrc`
## main