From 43dd49c9782848c25e5b03448c8a0f923f13c158 Mon Sep 17 00:00:00 2001
From: Kat Marchán
npm install semver
to use it yourself.)
More on version numbers and ranges at semver(7).
-Put a description in it. It's a string. This helps people discover your
package, as it's listed in npm search
.
direc
object. If you look at npm's package.json,
you'll see that it has directories for doc, lib, and man.
In the future, this information may be used in other creative ways.
-directories.lib
+directories.lib
Tell people where the bulk of your library is. Nothing special is done
with the lib folder in any way, but it's useful meta info.
-directories.bin
+directories.bin
If you specify a bin
directory in directories.bin
, all the files in
that folder will be added.
Because of the way the bin
directive works, specifying both a
bin
path and setting directories.bin
is an error. If you want to
specify individual files, use bin
, and for all the files in an
existing bin
directory, use directories.bin
.
-directories.man
+directories.man
A folder that is full of man pages. Sugar to generate a "man" array by
walking the folder.
-directories.doc
+directories.doc
Put markdown files in here. Eventually, these will be displayed nicely,
maybe, someday.
-directories.example
+directories.example
Put example scripts in here. Someday, it might be exposed in some clever way.
-directories.test
+directories.test
Put your tests in here. It is currently not exposed, but it might be in the
future.
repository
@@ -574,5 +574,5 @@ ignored.
-
+
--
cgit v1.2.3