From e479f1dac9a7639304d20116583034861635b2b1 Mon Sep 17 00:00:00 2001 From: Felipe Santos Date: Sat, 24 Apr 2021 17:37:41 -0300 Subject: [PATCH] docs: mention `directories.bin` in `bin` PR-URL: https://github.com/npm/cli/pull/3146 Credit: @felipecrs Close: #3146 Reviewed-by: @wraithgar --- docs/content/configuring-npm/package-json.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/content/configuring-npm/package-json.md b/docs/content/configuring-npm/package-json.md index f3a186f436e02..f5519f62bb32e 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