File tree 7 files changed +31
-11
lines changed
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
25
25
# Dependency directory
26
26
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
27
27
node_modules
28
- lib
Original file line number Diff line number Diff line change 1
1
node_modules
2
- src
2
+ test
3
+ coverage
4
+ LICENSE
5
+ example.js
3
6
. *
Original file line number Diff line number Diff line change @@ -7,3 +7,6 @@ notifications:
7
7
email : false
8
8
services :
9
9
- redis-server
10
+ after_success :
11
+ - npm run coveralls
12
+ - npm run codeclimate
Original file line number Diff line number Diff line change 1
1
The MIT License (MIT)
2
2
3
- Copyright (c) 2015 Leonardo Gatica
3
+ Copyright (c) 2016 Leonardo Gatica
4
4
5
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 2
2
3
3
[ ![ npm version] ( https://img.shields.io/npm/v/simple-reverse-geocoder.svg?style=flat-square )] ( https://www.npmjs.com/package/simple-reverse-geocoder )
4
4
[ ![ 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 )
6
5
[ ![ 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 )
7
9
[ ![ 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 )
9
10
10
- Get address from a point
11
+ > Get address from a point
11
12
12
13
## Installation
13
14
@@ -32,3 +33,7 @@ rg.setCache(client);
32
33
const loc = {type: ' Point' , coordinates: [- 70.5171743 , - 33.3608387 ]};
33
34
rg .getAddress (loc).then (console .log ); // 'Del Candil 665-701, Lo Barnechea'
34
35
```
36
+
37
+ ## License
38
+
39
+ [ MIT] ( https://tldrlegal.com/license/mit-license )
Original file line number Diff line number Diff line change 4
4
"description" : " Get address from a point" ,
5
5
"main" : " src" ,
6
6
"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"
9
14
},
10
15
"engines" : {
11
16
"node" : " >=4"
30
35
},
31
36
"devDependencies" : {
32
37
"chai" : " ^3.5.0" ,
38
+ "codeclimate-test-reporter" : " ^0.3.3" ,
39
+ "coveralls" : " ^2.11.9" ,
33
40
"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"
37
45
},
38
46
"eslintConfig" : {
39
47
"env" : {
You can’t perform that action at this time.
0 commit comments