From 0adb6ca20e2d01b9dbc30b84887c72c784160320 Mon Sep 17 00:00:00 2001 From: Conor Date: Wed, 15 Jun 2022 09:59:56 -0400 Subject: [PATCH] Compile assets before publishing (npm v8) (#552) * Migrate from deprecated script * Bump patch --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 86d39237..a242e240 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@launchpadlab/lp-components", - "version": "6.0.2", + "version": "6.0.3", "engines": { "node": "^14.19 || ^16.14" }, @@ -25,7 +25,7 @@ "clean": "rm -rf lib esm", "docs": "documentation build src/index.js -f md -o docs.md", "lint": "eslint src --max-warnings=0", - "prepublish": "yarn run clean && yarn run build", + "prepublishOnly": "yarn run clean && yarn run build", "storybook": "yarn && start-storybook -p 6006", "test": "jest --coverage", "size": "yarn build && size-limit",