From 29e73f7d07af7ef95fa5026dc952fed38deaf493 Mon Sep 17 00:00:00 2001 From: Samuel Gratzl Date: Tue, 20 Dec 2016 12:14:17 +0100 Subject: [PATCH] add prepublish step --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 32b93e69b..b3ad556b5 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,8 @@ "release:minor": "npm version minor && npm publish && git push --follow-tags", "release:patch": "npm version patch && npm publish && git push --follow-tags", "predist": "npm run build && npm run docs", - "dist": "mkdirp dist && cd build && tar cvzf ../dist/lineupjs.tar.gz *" + "dist": "mkdirp dist && cd build && tar cvzf ../dist/lineupjs.tar.gz *", + "prepublish": "npm run dist" }, "repository": { "type": "git",