From d6f5308909099bfed0382f8256fb1ac8e0f7fcc4 Mon Sep 17 00:00:00 2001 From: Scott Vandehey Date: Wed, 26 Aug 2026 11:10:30 -0700 Subject: [PATCH] Remove stray top-level prepare key from package.json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit npm only reads lifecycle scripts from `scripts`, so this key never ran. It was also self-referential — `npm run prepare` calling `prepare` — so anyone moving it into `scripts` to "fix" it would have replaced the working script with an infinite loop. Verified inert: `npm pack --dry-run` lists the same nine files before and after, and the real `scripts.prepare` still runs. --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index 7db1ab2..dddc0bb 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,6 @@ "type": "module", "homepage": "https://image-compare-component.netlify.app/", "main": "dist/index.js", - "prepare": "npm run prepare", "files": [ "dist", "manifests"