From 375d1ca08d652ffcc0b4f00b6ed2001dbf592e02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=CC=81=20Storhaug?= Date: Thu, 4 Apr 2019 17:45:28 +0200 Subject: [PATCH] Add prepublish script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c580672..9ad36ae 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "scripts": { "build": "babel src -d lib", "test": "jest", - "coverage": "jest --coverage" + "coverage": "jest --coverage", + "prepublish": "npm run build" }, "repository": { "type": "git",