From 74c8eec52153ba5460cb1d57a0690d7567f5427d Mon Sep 17 00:00:00 2001 From: Shawn Erquhart Date: Wed, 26 Jul 2017 22:16:27 -0400 Subject: [PATCH] add prepublishOnly build command --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 920cec65..fa7ffa5d 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,8 @@ "lint:css:fix": "stylefmt --recursive src/", "lint:staged": "lint-staged", "deps": "npm-check -s", - "deps:update": "npm-check -u" + "deps:update": "npm-check -u", + "prepublishOnly": "npm run build" }, "lint-staged": { "*.js": [