From 4052279108efc1aa553d1eb8c32b125bbd04eba4 Mon Sep 17 00:00:00 2001 From: TZ Date: Mon, 10 Oct 2016 03:05:17 +0200 Subject: [PATCH] test: exports mocha bin --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 44c1a627..4cc71073 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "egg developer tool", "main": "index.js", "bin": { - "egg-bin": "bin/egg-bin.js" + "egg-bin": "bin/egg-bin.js", + "mocha": "node_modules/.bin/mocha" }, "dependencies": { "childprocess": "^2.0.2", @@ -12,7 +13,7 @@ "common-bin": "^1.0.0", "debug": "^2.2.0", "egg-utils": "^1.0.0", - "glob": "^7.1.0", + "glob": "^7.1.1", "istanbul": "^0.4.0", "mkdirp": "^0.5.1", "mocha": "^3.0.0",