From 2355f325d0365fa1823e5dac8b433c4138d69b94 Mon Sep 17 00:00:00 2001 From: Mistralys Date: Mon, 8 Oct 2018 10:28:17 +0200 Subject: [PATCH 1/2] Create composer.json Added the composer.json to be able to install the library via the Composer package manager. --- composer.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 composer.json diff --git a/composer.json b/composer.json new file mode 100644 index 00000000..0c328a39 --- /dev/null +++ b/composer.json @@ -0,0 +1,6 @@ +{ + "name": "ccampbell/mousetrap", + "description": "Mousetrap - Keyboard shortcuts in JavaScript", + "type": "library", + "license": "Apache-2.0" +} From 9ccc2de2732f5babdfef7268e98a926f4743de65 Mon Sep 17 00:00:00 2001 From: Mistralys Date: Wed, 15 Mar 2023 19:11:39 +0100 Subject: [PATCH 2/2] Added information. --- composer.json | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 0c328a39..b4fb14fa 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,20 @@ { "name": "ccampbell/mousetrap", - "description": "Mousetrap - Keyboard shortcuts in JavaScript", + "description": "Simple library for handling keyboard shortcuts in Javascript", "type": "library", - "license": "Apache-2.0" + "license": "Apache-2.0", + "homepage": "https://craig.is/killing/mice", + "keywords": [ + "javascript", + "keyboard", + "keyboard-shortcuts", + "mousetrap" + ], + "authors": [ + { + "name": "Craig Campbell", + "homepage": "https://craig.is", + "role": "Lead" + } + ] }