[Pkg-javascript-commits] [node-acorn-jsx] 104/484: [package] Add "bin" property to package.json for npm to auto generate exection files.

Bastien Roucariès rouca at moszumanska.debian.org
Sat Aug 19 14:20:11 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-acorn-jsx.

commit 173d94f019a2da7aeccd53e6fe11d7532fd500e9
Author: zsjforcn <zhangsanji at gmail.com>
Date:   Wed Feb 27 14:23:52 2013 +0800

    [package] Add "bin" property to package.json for npm to auto generate exection files.
---
 package.json | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package.json b/package.json
index 7bc0ef4..d4e7272 100644
--- a/package.json
+++ b/package.json
@@ -14,5 +14,6 @@
                       "url": "https://github.com/marijnh/acorn.git"}],
     "licenses": [{"type": "MIT",
                   "url": "http://marijnhaverbeke.nl/acorn/LICENSE"}],
-    "scripts": {"test": "node test/run.js"}
+    "scripts": {"test": "node test/run.js"},
+    "bin": {"acorn": "./bin/acorn"}
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-acorn-jsx.git



More information about the Pkg-javascript-commits mailing list