From 4fea91e9360bce072d9d6f1c2b64e4a3913cd890 Mon Sep 17 00:00:00 2001 From: Antoine Vandecreme Date: Tue, 26 Jan 2016 18:32:08 -0500 Subject: [PATCH] Add build as pre-publish step to npm. Fix #784 --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b4586534..7da958cc 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "qunitjs": "^1.20.0" }, "scripts": { - "test": "grunt test" + "test": "grunt test", + "prepublish": "grunt build" } }