From 173d94f019a2da7aeccd53e6fe11d7532fd500e9 Mon Sep 17 00:00:00 2001 From: zsjforcn Date: Wed, 27 Feb 2013 14:23:52 +0800 Subject: [PATCH] [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 7bc0ef4f47..d4e7272f78 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"} }