Socket
Socket
Sign inDemoInstall

react-geosuggest

Package Overview
Dependencies
36
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.2

2

bower.json
{
"name": "geosuggest",
"version": "1.0.0",
"version": "1.0.2",
"description": "A React autosuggest for the Google Maps Places API.",

@@ -5,0 +5,0 @@ "main": "dist/geosuggest.min.js",

@@ -10,5 +10,5 @@ var React = require('react'),

var fixtures = [
{label: 'Old Elbe Tunnel, Hamburg', location: {lat: 53.5459, lng: 9.966576}},
{label: 'Reeperbahn, Hamburg', location: {lat: 53.5495629, lng: 9.9625838}},
{label: 'Alster, Hamburg', location: {lat: 53.5610398, lng: 10.0259135}}
{label: 'New York', location: {lat: 40.7033127, lng: -73.979681}},
{label: 'Rio', location: {lat: -22.066452, lng: -42.9232368}},
{label: 'Tokyo', location: {lat: 35.673343, lng: 139.710388}}
];

@@ -24,3 +24,3 @@

</div>
)
);
},

@@ -27,0 +27,0 @@

var gulp = require('gulp'),
git = require('gulp-git'),
initGulpTasks = require('react-component-gulp-tasks');

@@ -25,1 +26,25 @@

initGulpTasks(gulp, config);
gulp.task('serve', ['dev']);
gulp.task('publish:tag', function(done) {
var version = require('./package.json').version;
var message = 'Release ' + version;
return gulp.src('./*.json')
.pipe(git.add())
.pipe(git.commit('chore(release): ' + version));
git.tag(version, message, function (err) {
if (err) throw err;
git.push('origin', 'master', function (err) {
if (err) throw err;
done();
});
});
});
gulp.task('release', ['bump', 'build', 'publish:tag', 'publish:npm', 'publish:examples']);
gulp.task('release:patch', ['release']);
gulp.task('release:minor', ['bump:minor', 'build', 'publish:tag', 'publish:npm', 'publish:examples']);
gulp.task('release:major', ['bump:major', 'build', 'publish:tag', 'publish:npm', 'publish:examples']);
{
"name": "react-geosuggest",
"version": "1.0.0",
"version": "1.0.2",
"description": "A React autosuggest for the Google Maps Places API.",

@@ -20,4 +20,5 @@ "main": "src/Geosuggest.jsx",

"devDependencies": {
"react-component-gulp-tasks": "^0.1.1",
"gulp": "^3.8.10"
"gulp": "^3.8.10",
"gulp-git": "^1.0.0",
"react-component-gulp-tasks": "^0.1.1"
},

@@ -24,0 +25,0 @@ "browser": "src/Geosuggest.jsx",

@@ -6,16 +6,7 @@ # React Geosuggest

## Demo & Examples
## Demo
Live demo: [ubilabs.github.io/react-geosuggest](http://ubilabs.github.io/react-geosuggest/)
To build the examples locally, run:
```
npm install
gulp dev
```
Then open [`localhost:8000`](http://localhost:8000) in a browser.
## Installation

@@ -136,2 +127,25 @@

## Contributing
### Development
To build the examples locally, run:
```
npm install
gulp serve
```
Then open [`localhost:8000`](http://localhost:8000) in a browser.
### Deployment
To release & deploy, run the following
```
gulp release:patch|minor|major
```
## License

@@ -138,0 +152,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc