From 3f72560f983b1b1d22f70edffbc06d08b240576c Mon Sep 17 00:00:00 2001 From: "Andreas (AK)" Date: Wed, 29 Nov 2023 22:15:36 +0100 Subject: [PATCH] Refactor deprecated prepublish to prepack --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 08bf66a..044be9e 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "lint:js:fix": "eslint . --fix", "lint:md": "prettier --check \"**/*.{html,md,yaml,yml}\"", "lint:md:fix": "prettier --write \"**/*.{html,md,yaml,yml}\"", - "prepublish": "rollup -c && tsc dist/*.js --declaration --allowJs --emitDeclarationOnly", + "prepack": "rollup -c && tsc dist/*.js --declaration --allowJs --emitDeclarationOnly", "release": "dotenv release-it --", "test": "ava", "test:watch": "ava --watch"