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:
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