{"_id":"@boxgames/react-street-view","_rev":"5-3ce97aeb066abcabaea4ba0a3e5084e5","name":"@boxgames/react-street-view","dist-tags":{"latest":"1.1.4"},"versions":{"1.1.1":{"name":"@boxgames/react-street-view","version":"1.1.1","description":"@boxgames/react-street-view","main":"lib/ReactStreetview.js","author":{"name":"Oliverio Alonso"},"homepage":"https://github.com/boxgames1/react-street-view","repository":{"type":"git","url":"git+https://github.com/boxgames1/react-street-view.git"},"bugs":{"url":"https://github.com/boxgames1/react-street-view/issues"},"dependencies":{"classnames":"^2.1.2","react-async-loader":"^0.1.2"},"devDependencies":{"babel-eslint":"^4.1.3","eslint":"^1.6.0","eslint-plugin-react":"^3.5.1","gulp":"^3.9.0","prop-types":"^15.5.10","react":"^0.14.0","react-component-gulp-tasks":"^0.7.6","react-dom":"^0.14.0"},"peerDependencies":{"react":"^0.14.0 || ^15.x"},"browserify-shim":{"react":"global:React"},"scripts":{"build":"gulp clean && SET NODE_ENV=production && gulp build","examples":"gulp dev:server","lint":"eslint src/**","publish:site":"SET NODE_ENV=production && gulp publish:examples","release":"SET NODE_ENV=production && gulp release","start":"gulp dev","test":"echo \"no tests yet\" && exit 0","watch":"gulp watch:lib"},"keywords":["react","react-component"],"directories":{"example":"example","lib":"lib"},"license":"ISC","gitHead":"3576ae9af8cb502891e425d2121f1bef7f33a080","_id":"@boxgames/react-street-view@1.1.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"boxgames","email":"alonso.oliverio@gmail.com"},"dist":{"integrity":"sha512-nlGCqGbHFIQQyxY50lZjAZqEJUAMMbgyBcUb8ANM6slKQIkqMWE4dPP/cRA50hGJxqhy7LP0ZIdlexulG3tSjQ==","shasum":"c2a4600757c9274d7fb41b25e83421370275408a","tarball":"https://registry.npmjs.org/@boxgames/react-street-view/-/react-street-view-1.1.1.tgz","fileCount":15,"unpackedSize":37820,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHo90FfDhkYQu0x/1IeqaS88jzFQGOucxdLKL1DBmfSFAiEAnXC5y5YHo/I4dYHyBXCsyac6Ng+URRVE/MCE1PhCmMM="}]},"maintainers":[{"name":"boxgames","email":"alonso.oliverio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-street-view_1.1.1_1522754186105_0.1483161748739208"},"_hasShrinkwrap":false},"1.1.2":{"name":"@boxgames/react-street-view","version":"1.1.2","description":"@boxgames/react-street-view","main":"lib/ReactStreetview.js","author":{"name":"Oliverio Alonso"},"homepage":"https://github.com/boxgames1/react-street-view","repository":{"type":"git","url":"git+https://github.com/boxgames1/react-street-view.git"},"bugs":{"url":"https://github.com/boxgames1/react-street-view/issues"},"dependencies":{"classnames":"^2.1.2","react-async-loader":"^0.1.2"},"devDependencies":{"babel-eslint":"^4.1.3","eslint":"^1.6.0","eslint-plugin-react":"^3.5.1","gulp":"^3.9.0","prop-types":"^15.5.10","react":"^0.14.0","react-component-gulp-tasks":"^0.7.6","react-dom":"^0.14.0"},"peerDependencies":{"react":"^0.14.0 || ^15.x"},"browserify-shim":{"react":"global:React"},"scripts":{"build":"gulp clean && SET NODE_ENV=production && gulp build","examples":"gulp dev:server","lint":"eslint src/**","publish:site":"SET NODE_ENV=production && gulp publish:examples","release":"SET NODE_ENV=production && gulp release","start":"gulp dev","test":"echo \"no tests yet\" && exit 0","watch":"gulp watch:lib"},"keywords":["react","react-component"],"directories":{"example":"example","lib":"lib"},"license":"ISC","gitHead":"8d923e0bbb14f64dfc0c48aed7ee29d885f4daa3","_id":"@boxgames/react-street-view@1.1.2","_npmVersion":"5.6.0","_nodeVersion":"9.1.0","_npmUser":{"name":"boxgames","email":"alonso.oliverio@gmail.com"},"dist":{"integrity":"sha512-bRBU9U3y2Oqgk8IXgNOzfVBAlWD33Y0kolYVxOyjWOJYbhkFzyjgt2LH7/vx3uxBt6hxIiOqcc61i/Nwa93agw==","shasum":"1b33e10f8a124883284980bcd8a6f0ea7ecf30c1","tarball":"https://registry.npmjs.org/@boxgames/react-street-view/-/react-street-view-1.1.2.tgz","fileCount":15,"unpackedSize":39174,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHgeGjynQE4+VFMkXWOjAE16B5Db1DEy261yXMaxd1zgIhALSO0f2PXmdLX411/4z3BPGRpTbM66CRtFRM+0gYpeSz"}]},"maintainers":[{"name":"boxgames","email":"alonso.oliverio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-street-view_1.1.2_1523017557692_0.7891578463031808"},"_hasShrinkwrap":false},"1.1.3":{"name":"@boxgames/react-street-view","version":"1.1.3","description":"@boxgames/react-street-view","main":"lib/ReactStreetview.js","author":{"name":"Oliverio Alonso"},"homepage":"https://github.com/boxgames1/react-street-view","repository":{"type":"git","url":"git+https://github.com/boxgames1/react-street-view.git"},"bugs":{"url":"https://github.com/boxgames1/react-street-view/issues"},"dependencies":{"classnames":"^2.1.2","react-async-loader":"^0.1.2"},"devDependencies":{"babel-eslint":"^4.1.3","eslint":"^1.6.0","eslint-plugin-react":"^3.5.1","gulp":"^3.9.0","prop-types":"^15.5.10","react":"^0.14.0","react-component-gulp-tasks":"^0.7.6","react-dom":"^0.14.0"},"peerDependencies":{"react":"^0.14.0 || ^15.x"},"browserify-shim":{"react":"global:React"},"scripts":{"build":"gulp clean && SET NODE_ENV=production && gulp build","examples":"gulp dev:server","lint":"eslint src/**","publish:site":"SET NODE_ENV=production && gulp publish:examples","release":"SET NODE_ENV=production && gulp release","start":"gulp dev","test":"echo \"no tests yet\" && exit 0","watch":"gulp watch:lib"},"keywords":["react","react-component"],"directories":{"example":"example","lib":"lib"},"license":"ISC","gitHead":"dd53fc0f269fe12fe97e6f96ca2a8d16aaf63637","_id":"@boxgames/react-street-view@1.1.3","_npmVersion":"5.6.0","_nodeVersion":"9.1.0","_npmUser":{"name":"boxgames","email":"alonso.oliverio@gmail.com"},"dist":{"integrity":"sha512-IEaP5WFUbGUmC+EZe2fALiy1xp3aw1VVGsa3wqoRkYOQvkEMWNtsCKtDMGK9Xxpf95NBW/QVzY7OWEIojoQFPA==","shasum":"ddb3c63aa187d1ce26808cd107a7f78feb7cfc82","tarball":"https://registry.npmjs.org/@boxgames/react-street-view/-/react-street-view-1.1.3.tgz","fileCount":15,"unpackedSize":39192,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDL55i/fIisYCB8lp5tMqElftrENXqwyLTQycIZaKOFxwIgRlh+dA2r1P2wOl99QaThXJN7jLYd6nj8y9W6L9redzE="}]},"maintainers":[{"name":"boxgames","email":"alonso.oliverio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-street-view_1.1.3_1523017959170_0.04260253856962626"},"_hasShrinkwrap":false},"1.1.4":{"name":"@boxgames/react-street-view","version":"1.1.4","description":"@boxgames/react-street-view","main":"lib/ReactStreetview.js","author":{"name":"Oliverio Alonso"},"homepage":"https://github.com/boxgames1/react-street-view","repository":{"type":"git","url":"git+https://github.com/boxgames1/react-street-view.git"},"bugs":{"url":"https://github.com/boxgames1/react-street-view/issues"},"dependencies":{"classnames":"^2.1.2","react-async-loader":"^0.1.2"},"devDependencies":{"babel-eslint":"^4.1.3","eslint":"^1.6.0","eslint-plugin-react":"^3.5.1","gulp":"^3.9.0","prop-types":"^15.5.10","react":"^0.14.0","react-component-gulp-tasks":"^0.7.6","react-dom":"^0.14.0"},"peerDependencies":{"react":"^0.14.0 || ^15.x"},"browserify-shim":{"react":"global:React"},"scripts":{"build":"gulp clean && SET NODE_ENV=production && gulp build","examples":"gulp dev:server","lint":"eslint src/**","publish:site":"SET NODE_ENV=production && gulp publish:examples","release":"SET NODE_ENV=production && gulp release","start":"gulp dev","test":"echo \"no tests yet\" && exit 0","watch":"gulp watch:lib"},"keywords":["react","react-component"],"directories":{"example":"example","lib":"lib"},"license":"ISC","gitHead":"f4313c7243888ee70e29adec919fe124d3a12927","_id":"@boxgames/react-street-view@1.1.4","_npmVersion":"5.6.0","_nodeVersion":"9.1.0","_npmUser":{"name":"boxgames","email":"alonso.oliverio@gmail.com"},"dist":{"integrity":"sha512-KdySPQSHydR9taB/IB4+awVewAfMRCOWQQgssIesHVKjtdgSnBdgjsE5lmBmM9dwHdHKo64O18lJz4hc7sEG2A==","shasum":"e5d884cbcf37d7eeaa3b8192d39ae4b20f5901d2","tarball":"https://registry.npmjs.org/@boxgames/react-street-view/-/react-street-view-1.1.4.tgz","fileCount":15,"unpackedSize":39192,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCsxrzwr7k5/j7wtuQSUcJvlGDlMpqXNIhhx4GEx39sWQIhAKiWTTdBKWrckgUNGA29CRtpyzmtxwWBycNqx8xOQ4h9"}]},"maintainers":[{"name":"boxgames","email":"alonso.oliverio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-street-view_1.1.4_1523018135950_0.9643153326335085"},"_hasShrinkwrap":false}},"time":{"created":"2018-04-03T11:16:26.041Z","1.1.1":"2018-04-03T11:16:26.217Z","modified":"2022-04-04T20:18:01.483Z","1.1.2":"2018-04-06T12:25:57.767Z","1.1.3":"2018-04-06T12:32:39.224Z","1.1.4":"2018-04-06T12:35:36.013Z"},"maintainers":[{"name":"boxgames","email":"alonso.oliverio@gmail.com"}],"description":"@boxgames/react-street-view","homepage":"https://github.com/boxgames1/react-street-view","keywords":["react","react-component"],"repository":{"type":"git","url":"git+https://github.com/boxgames1/react-street-view.git"},"author":{"name":"Oliverio Alonso"},"bugs":{"url":"https://github.com/boxgames1/react-street-view/issues"},"license":"ISC","readme":"# react-streetview\r\n\r\nSimple React.js component for Google Street View\r\n\r\n## Demo & Examples\r\n\r\nLive demo: [elcsiga.github.io/react-streetview](http://elcsiga.github.io/react-streetview/)\r\n\r\n## Installation\r\n\r\nThe easiest way to use react-streetview is to install it from NPM and include it in your own React build process (using [Browserify](http://browserify.org), [Webpack](http://webpack.github.io/), etc).\r\n\r\n```\r\nnpm install @boxgames/react-street-view --save\r\n```\r\n\r\nYou can also use the standalone build by including `dist/react-streetview.js` in your page. If you use this, make sure you have already included React, and it is available as a global variable.\r\n\r\n## Usage\r\n\r\n``` javascript\r\nimport React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport ReactStreetview from 'react-streetview';\r\n\r\nclass App extends React.Component {\r\n\r\n\trender() {\r\n\t\t// see https://developers.google.com/maps/documentation/javascript\r\n\t\tconst googleMapsApiKey = 'YOUR_API_KEY';\r\n\r\n\t\t// see https://developers.google.com/maps/documentation/javascript/3.exp/reference#StreetViewPanoramaOptions\r\n\t\tconst streetViewPanoramaOptions = {\r\n\t\t\tposition: {lat: 46.9171876, lng: 17.8951832},\r\n\t\t\tpov: {heading: 100, pitch: 0},\r\n\t\t\tzoom: 1\r\n\t\t};\r\n\r\n\t\t//Google Libraries\r\n\t\tconst libraries=\"places\";\r\n\r\n\t\treturn (\r\n\t\t\t<div style={{\r\n\t\t\t\twidth: '800px',\r\n\t\t\t\theight: '450px',\r\n\t\t\t\tbackgroundColor: '#eeeeee'\r\n\t\t\t}}>\r\n\t\t\t\t<ReactStreetview\r\n\t\t\t\t\tapiKey={googleMapsApiKey}\r\n\t\t\t\t\tlibraries={libraries}\r\n\t\t\t\t\tstreetViewPanoramaOptions={streetViewPanoramaOptions}\r\n\t\t\t\t/>\r\n\t\t\t</div>\r\n\t\t);\r\n\t}\r\n}\r\n\r\nReactDOM.render(<App />, document.getElementById('app'));\r\n```\r\n\r\n## Development (`src`, `lib` and the build process)\r\n\r\nTo build the examples locally, run:\r\n\r\n```\r\nnpm install\r\nnpm start\r\n```\r\n\r\nThen open [`localhost:8000`](http://localhost:8000) in a browser.\r\n\r\n**NOTE:** The source code for the component is in `src`. A transpiled CommonJS version (generated with Babel) is available in `lib` for use with node.js, browserify and webpack. A UMD bundle is also built to `dist`, which can be included without the need for any build system.\r\n\r\nTo build, watch and serve the examples (which will also watch the component source), run `npm start`. If you just want to watch changes to `src` and rebuild `lib`, run `npm run watch` (this is useful if you are working with `npm link`).\r\n\r\n## License\r\n\r\nMIT\r\n\r\n","readmeFilename":"README.md"}