From 4ddfaca8ce8b6e7b61560f22738d4973512646bb Mon Sep 17 00:00:00 2001 From: Alexander Kachkaev Date: Thu, 7 Dec 2023 15:13:42 +0000 Subject: [PATCH 1/2] Fix repository link --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9db70013..c6789e5b 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "react-hotkeys-hook", "description": "React hook for handling keyboard shortcuts", "version": "4.4.1", - "repository": "https://JohannesKlauss@github.com/JohannesKlauss/react-keymap-hook.git", + "repository": "https://github.com/JohannesKlauss/react-keymap-hook.git", "homepage": "https://johannesklauss.github.io/react-hotkeys-hook/", "author": "Johannes Klauss", "main": "dist/index.js", From b2719cf87cb1b6f5f34a42aa474a0cc1a7ff6fdd Mon Sep 17 00:00:00 2001 From: Alexander Kachkaev Date: Thu, 7 Dec 2023 15:25:17 +0000 Subject: [PATCH 2/2] Convert URL into object --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c6789e5b..c1202226 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,10 @@ "name": "react-hotkeys-hook", "description": "React hook for handling keyboard shortcuts", "version": "4.4.1", - "repository": "https://github.com/JohannesKlauss/react-keymap-hook.git", + "repository": { + "type": "git", + "url": "https://github.com/JohannesKlauss/react-keymap-hook.git" + }, "homepage": "https://johannesklauss.github.io/react-hotkeys-hook/", "author": "Johannes Klauss", "main": "dist/index.js",