From 72afe3c6a58e472923801a7afb96847c24e20a50 Mon Sep 17 00:00:00 2001 From: Thibaud Colas Date: Mon, 26 Feb 2018 19:25:06 +0200 Subject: [PATCH] Enforce running the build before prepublish --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index dd0aa211..97de8889 100644 --- a/package.json +++ b/package.json @@ -180,6 +180,7 @@ "test:watch:coverage": "jest --watch --coverage", "report:coverage": "open coverage/lcov-report/index.html", "report:build": "open webpack/webpack-stats.html", - "test:ci": "npm run lint -s && npm run test:coverage -s && npm run dist -s && npm run test:integration -s" + "test:ci": "npm run lint -s && npm run test:coverage -s && npm run dist -s && npm run test:integration -s", + "prepublishOnly": "npm run dist -s" } }