From 7c0ee5b5377bcdb5d359060f9b730be78132cdde Mon Sep 17 00:00:00 2001 From: Pelle Wessman Date: Tue, 2 Apr 2024 15:40:46 +0200 Subject: [PATCH] Use `prepack` instead of `prepublishOnly` See https://github.com/eslint-community/eslint-plugin-n/pull/169#discussion_r1547910331 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fe82fd6..469ae6c 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "clean:declarations-lib": "rm -rf $(find lib -type f -name '*.d.ts*' ! -name '*-types.d.ts')", "clean": "run-p clean:*", "prepare": "husky", - "prepublishOnly": "run-s build", + "prepack": "run-s build", "test:mocha": "c8 --reporter=lcov --reporter text mocha 'test/**/*.spec.js'", "test-ci": "run-s test:*", "test": "run-s check test:*"