diff options
author | Felipe Santos <felipecassiors@gmail.com> | 2021-04-24 23:37:41 +0300 |
---|---|---|
committer | nlf <quitlahok@gmail.com> | 2021-04-29 22:36:55 +0300 |
commit | e479f1dac9a7639304d20116583034861635b2b1 (patch) | |
tree | 5ce5051e1a098418047974a54e7e0f5ed53abb5e | |
parent | c371f183ebe833c2439e98b679f14e7a59f22c34 (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.md | 2 |
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 |