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
diff options
context:
space:
mode:
authorFelipe Santos <felipecassiors@gmail.com>2021-04-24 23:37:41 +0300
committernlf <quitlahok@gmail.com>2021-04-29 22:36:55 +0300
commite479f1dac9a7639304d20116583034861635b2b1 (patch)
tree5ce5051e1a098418047974a54e7e0f5ed53abb5e
parentc371f183ebe833c2439e98b679f14e7a59f22c34 (diff)
docs: mention `directories.bin` in `bin`
PR-URL: https://github.com/npm/cli/pull/3146 Credit: @felipecrs Close: #3146 Reviewed-by: @wraithgar
-rw-r--r--docs/content/configuring-npm/package-json.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/content/configuring-npm/package-json.md b/docs/content/configuring-npm/package-json.md
index f3a186f43..f5519f62b 100644
--- a/docs/content/configuring-npm/package-json.md
+++ b/docs/content/configuring-npm/package-json.md
@@ -386,6 +386,8 @@ Please make sure that your file(s) referenced in `bin` starts with
`#!/usr/bin/env node`, otherwise the scripts are started without the node
executable!
+Note that you can also set the executable files using [directories.bin](#directoriesbin).
+
### man
Specify either a single file or an array of filenames to put in place for