File tree Expand file tree Collapse file tree 7 files changed +31
-11
lines changed Expand file tree Collapse file tree 7 files changed +31
-11
lines changed Original file line number Diff line number Diff line change 1+ coverage
2+ example.js
Original file line number Diff line number Diff line change @@ -25,4 +25,3 @@ build/Release
2525# Dependency directory
2626# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
2727node_modules
28- lib
Original file line number Diff line number Diff line change 11node_modules
2- src
2+ test
3+ coverage
4+ LICENSE
5+ example.js
36. *
Original file line number Diff line number Diff line change @@ -7,3 +7,6 @@ notifications:
77 email : false
88services :
99 - redis-server
10+ after_success :
11+ - npm run coveralls
12+ - npm run codeclimate
Original file line number Diff line number Diff line change 11The MIT License (MIT)
22
3- Copyright (c) 2015 Leonardo Gatica
3+ Copyright (c) 2016 Leonardo Gatica
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 22
33[ ![ npm version] ( https://img.shields.io/npm/v/simple-reverse-geocoder.svg?style=flat-square )] ( https://www.npmjs.com/package/simple-reverse-geocoder )
44[ ![ npm downloads] ( https://img.shields.io/npm/dm/simple-reverse-geocoder.svg?style=flat-square )] ( https://www.npmjs.com/package/simple-reverse-geocoder )
5- [ ![ dependency Status] ( https://img.shields.io/david/lgaticaq/simple-reverse-geocoder.svg?style=flat-square )] ( https://david-dm.org/lgaticaq/simple-reverse-geocoder#info=dependencies )
65[ ![ Build Status] ( https://img.shields.io/travis/lgaticaq/simple-reverse-geocoder.svg?style=flat-square )] ( https://travis-ci.org/lgaticaq/simple-reverse-geocoder )
6+ [ ![ Coverage Status] ( https://img.shields.io/coveralls/lgaticaq/simple-reverse-geocoder/master.svg?style=flat-square )] ( https://coveralls.io/github/lgaticaq/simple-reverse-geocoder?branch=master )
7+ [ ![ Code Climate] ( https://img.shields.io/codeclimate/github/lgaticaq/simple-reverse-geocoder.svg?style=flat-square )] ( https://codeclimate.com/github/lgaticaq/simple-reverse-geocoder )
8+ [ ![ dependency Status] ( https://img.shields.io/david/lgaticaq/simple-reverse-geocoder.svg?style=flat-square )] ( https://david-dm.org/lgaticaq/simple-reverse-geocoder#info=dependencies )
79[ ![ devDependency Status] ( https://img.shields.io/david/dev/lgaticaq/simple-reverse-geocoder.svg?style=flat-square )] ( https://david-dm.org/lgaticaq/simple-reverse-geocoder#info=devDependencies )
8- [ ![ Join the chat at https://gitter.im/lgaticaq/simple-reverse-geocoder ] ( https://img.shields.io/badge/gitter-join%20chat%20%E2%86%92-brightgreen.svg?style=flat-square )] ( https://gitter.im/lgaticaq/simple-reverse-geocoder?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge )
910
10- Get address from a point
11+ > Get address from a point
1112
1213## Installation
1314
@@ -32,3 +33,7 @@ rg.setCache(client);
3233const loc = {type: ' Point' , coordinates: [- 70.5171743 , - 33.3608387 ]};
3334rg .getAddress (loc).then (console .log ); // 'Del Candil 665-701, Lo Barnechea'
3435```
36+
37+ ## License
38+
39+ [ MIT] ( https://tldrlegal.com/license/mit-license )
Original file line number Diff line number Diff line change 44 "description" : " Get address from a point" ,
55 "main" : " src" ,
66 "scripts" : {
7- "lint" : " eslint src" ,
8- "test" : " mocha"
7+ "pretest" : " eslint ." ,
8+ "test" : " istanbul cover _mocha" ,
9+ "coveralls" : " coveralls < coverage/lcov.info" ,
10+ "codeclimate" : " codeclimate-test-reporter < coverage/lcov.info" ,
11+ "release:major" : " changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major && git push origin && git push origin --tags && npm publish" ,
12+ "release:minor" : " changelog -m && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor && git push origin && git push origin --tags && npm publish" ,
13+ "release:patch" : " changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags && npm publish"
914 },
1015 "engines" : {
1116 "node" : " >=4"
3035 },
3136 "devDependencies" : {
3237 "chai" : " ^3.5.0" ,
38+ "codeclimate-test-reporter" : " ^0.3.3" ,
39+ "coveralls" : " ^2.11.9" ,
3340 "eslint" : " 2.12.0" ,
34- "mocha" : " ^2.4.5" ,
35- "redis" : " ^2.4.2" ,
36- "rimraf" : " ^2.5.2"
41+ "generate-changelog" : " ^1.0.2" ,
42+ "istanbul" : " ^0.4.3" ,
43+ "mocha" : " ^2.5.3" ,
44+ "redis" : " ^2.4.2"
3745 },
3846 "eslintConfig" : {
3947 "env" : {
You can’t perform that action at this time.
0 commit comments