From baf4af67745c36a2dc41ab2c4fe4916460f4c693 Mon Sep 17 00:00:00 2001 From: Brian Chen Date: Wed, 8 Dec 2021 10:19:05 +1100 Subject: [PATCH] add prepublish script --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 1700f30..c79e54f 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,9 @@ "eslint", "eslintconfig" ], + "scripts": { + "prepublishOnly": "node ./scripts/genStyleguide.js" + }, "peerDependencies": { "@babel/core": "^7.0.0", "@babel/eslint-parser": "^7.12.0",