From 407338a4b59b20665968c65e8d3ac68b7a8380f1 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Thu, 14 May 2015 18:31:45 -0400 Subject: [PATCH] add prepublish hook --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3bbf64d..359e4a8 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "scripts": { "test": "mocha", "pretest": "npm run build", - "build": "gobble build -f dist" + "build": "gobble build -f dist", + "prepublish": "npm test" }, "repository": { "type": "git",