From 9fdf7d95442054f5eff57bfff82d0decb7301252 Mon Sep 17 00:00:00 2001 From: Joschka Date: Thu, 17 Dec 2015 18:37:40 +0100 Subject: [PATCH 1/6] Configure library to be installable via Bower --- bower.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 bower.json diff --git a/bower.json b/bower.json new file mode 100644 index 0000000..e44b96e --- /dev/null +++ b/bower.json @@ -0,0 +1,29 @@ +{ + "name": "ti-auth.js", + "description": "", + "dependncies": {}, + "devDependncies": {}, + "moduleType": [ + "globals" + ], + "keywords": [ + "authentication", + "travel-intelligence", + "amadeus" + ], + "authors": [ + { + "name": "Joschka Kintscher", + "email": "joschka@kintscher.me" + } + ], + "ignore": [ + "**/*", + "!dist/*" + ], + "repository": { + "type": "git", + "url": "git@github.com:travel-intelligence/ti-auth.js.git" + }, + "private": false +} From 4ce604fb139b50f3962b6c89191efcfb5492ab8c Mon Sep 17 00:00:00 2001 From: Joschka Date: Thu, 17 Dec 2015 18:55:22 +0100 Subject: [PATCH 2/6] Specify main entry point to library MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mainly to suppress the `invalid-meta` warnings when installing the library with Bower. It’s still totally valid to use the minified version. --- bower.json | 1 + 1 file changed, 1 insertion(+) diff --git a/bower.json b/bower.json index e44b96e..021797d 100644 --- a/bower.json +++ b/bower.json @@ -21,6 +21,7 @@ "**/*", "!dist/*" ], + "main": "dist/ti-auth.js", "repository": { "type": "git", "url": "git@github.com:travel-intelligence/ti-auth.js.git" From f301362ed6a51bb5a812065c4253991d0cf2ac84 Mon Sep 17 00:00:00 2001 From: Joschka Date: Thu, 17 Dec 2015 18:57:21 +0100 Subject: [PATCH 3/6] Fix typo in Bower configuration --- bower.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bower.json b/bower.json index 021797d..7b43267 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "ti-auth.js", "description": "", - "dependncies": {}, + "dependencies": {}, "devDependncies": {}, "moduleType": [ "globals" From c271760c6e2f6ca9754f4ace50f20e629bc17676 Mon Sep 17 00:00:00 2001 From: Joschka Date: Thu, 17 Dec 2015 18:57:39 +0100 Subject: [PATCH 4/6] Provide a description to Bower --- bower.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bower.json b/bower.json index 7b43267..1ba4304 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "ti-auth.js", - "description": "", + "description": "The official authentication library to use in your Travel Intelligence modules", "dependencies": {}, "devDependncies": {}, "moduleType": [ From 2604311c4be6b30ec1593f809718805d4dc4dbe0 Mon Sep 17 00:00:00 2001 From: Joschka Date: Thu, 17 Dec 2015 18:58:23 +0100 Subject: [PATCH 5/6] Remove keywords from Bower configuration --- bower.json | 5 ----- 1 file changed, 5 deletions(-) diff --git a/bower.json b/bower.json index 1ba4304..6a35db8 100644 --- a/bower.json +++ b/bower.json @@ -6,11 +6,6 @@ "moduleType": [ "globals" ], - "keywords": [ - "authentication", - "travel-intelligence", - "amadeus" - ], "authors": [ { "name": "Joschka Kintscher", From a4f84f66630d7c553c351b38fe3d7a04a0011d82 Mon Sep 17 00:00:00 2001 From: Joschka Date: Thu, 17 Dec 2015 18:58:38 +0100 Subject: [PATCH 6/6] Clean up Bower configuration --- bower.json | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/bower.json b/bower.json index 6a35db8..a760d5d 100644 --- a/bower.json +++ b/bower.json @@ -3,23 +3,19 @@ "description": "The official authentication library to use in your Travel Intelligence modules", "dependencies": {}, "devDependncies": {}, - "moduleType": [ - "globals" - ], - "authors": [ - { - "name": "Joschka Kintscher", - "email": "joschka@kintscher.me" - } - ], "ignore": [ "**/*", "!dist/*" ], "main": "dist/ti-auth.js", + "moduleType": "globals", + "private": false, "repository": { "type": "git", "url": "git@github.com:travel-intelligence/ti-auth.js.git" }, - "private": false + "authors": [{ + "name": "Joschka Kintscher", + "email": "joschka@kintscher.me" + }] }