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:
-rw-r--r--doc/files/package.json.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/files/package.json.md b/doc/files/package.json.md
index c67dfa419..f58343604 100644
--- a/doc/files/package.json.md
+++ b/doc/files/package.json.md
@@ -248,6 +248,10 @@ would be the same as this:
, "version": "1.2.5"
, "bin" : { "my-program" : "./path/to/program" } }
+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!
+
## man
Specify either a single file or an array of filenames to put in place for the