diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/files/package.json.md | 4 |
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 |