From dd02ae1485b60200023828f3c8a9b6b83e8a7bfb Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Thu, 17 Jun 2021 15:36:44 +0200 Subject: [PATCH] ensure we `npm install` before publishing --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9a4900be0c74..227bc1161c88 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "babelify": "babel src --out-dir lib --copy-files", "postbabelify": "ncc build lib/cli-peer-dependencies.js -o peers", "rebuild-fixtures": "npm run babelify && babel-node scripts/rebuildFixtures.js", - "prepublishOnly": "npm run babelify && babel-node scripts/build.js && node scripts/build-plugins.js", + "prepublishOnly": "npm install --force && npm run babelify && babel-node scripts/build.js && node scripts/build-plugins.js", "style": "eslint .", "test": "cross-env TAILWIND_MODE=build jest", "test:integrations": "npm run test --prefix ./integrations",