Skip to content

Commit e69994f

Browse files
committed
Published to bower and npm
1 parent 32c2296 commit e69994f

3 files changed

Lines changed: 48 additions & 2 deletions

File tree

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,20 @@ See the [example](//consbio.github.io/Leaflet.Geonames).
1111
*Tested with Leaflet 0.7.x*
1212

1313

14+
## Install
15+
16+
From Bower:
17+
18+
```
19+
bower install Leaflet.Geonames
20+
```
21+
22+
23+
From NPM:
24+
25+
```
26+
npm install leaflet-geonames
27+
```
1428

1529

1630
## Usage

bower.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"name": "Leaflet.Geonames",
3+
"version": "0.1.0",
4+
"homepage": "https://github.com/consbio/Leaflet.Geonames",
5+
"authors": [
6+
"Brendan Ward <bcward@consbio.org>"
7+
],
8+
"description": "GeoNames geocoding search control for Leaflet",
9+
"main": [
10+
"L.Control.Geonames.min.js",
11+
"L.Control.Geonames.css"
12+
],
13+
"moduleType": [
14+
"globals"
15+
],
16+
"keywords": [
17+
"Leaflet"
18+
],
19+
"license": "ISC",
20+
"ignore": [
21+
"**/.*",
22+
"node_modules",
23+
"bower_components",
24+
"test",
25+
"tests"
26+
],
27+
"devDependencies": {
28+
"uglify-js": "~2.4.16",
29+
"jake": "~8.0.10",
30+
"node-minify": "~1.0.1"
31+
}
32+
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "Leaflet.Geonames",
3-
"version": "0.0.1",
2+
"name": "leaflet-geonames",
3+
"version": "0.1.0",
44
"description": "Geonames Geocoding Search Control for Leaflet",
55
"homepage": "http://github.com/consbio/Leaflet.Geonames",
66
"author": {

0 commit comments

Comments
 (0)