From 76b207d1826d359ca773f9e2b9b83b3b1ce71c8c Mon Sep 17 00:00:00 2001 From: John Duggan Date: Fri, 15 Jul 2016 15:32:26 -0400 Subject: [PATCH] Prepare for release on Bower To prepare for a release on Bower, added bower.json describing the project. In the future, if new layers are added, they can be added to the main list. This is only for the 1.0.0-rc.1 version of Leaflet, as specified in the dependencies. Also added a .gitignore to ignore the bower_components directory (and also test directories while I'm at it). --- .gitignore | 3 +++ bower.json | 29 +++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 .gitignore create mode 100644 bower.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4bac16b --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +bower_components +test +tests diff --git a/bower.json b/bower.json new file mode 100644 index 0000000..c58b184 --- /dev/null +++ b/bower.json @@ -0,0 +1,29 @@ +{ + "name": "glayers.leaflet", + "description": "Generic map layers for Leaflet 1.0.0-rc.1", + "keywords": [ + "leaflet", + "plugin", + "canvas", + "layer" + ], + "homepage": "https://github.com/sumbera/glayers.leaflet", + "authors": [ + "Stanislav Sumbera" + ], + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "leaflet": ">= 1.0.0-rc.1" + }, + "main": [ + "L.CanvasLayer.js" + ], + "ignore": [ + "**/.*", + "node_modules", + "bower_components", + "test", + "tests" + ] +}