{"name":"browser-sync","description":"Live CSS Reload & Browser Syncing","version":"2.27.1","homepage":"https://browsersync.io/","author":{"name":"Shane Osbourne"},"repository":{"type":"git","url":"git+https://github.com/BrowserSync/browser-sync.git"},"license":"Apache-2.0","main":"dist/index.js","bin":{"browser-sync":"dist/bin.js"},"engines":{"node":">= 8.0.0"},"scripts":{"build":"npm run build:server","build:server":"tsc","build:watch":"tsc --watch","env":"node ./test/env.js","lodash":"lodash include=isUndefined,isFunction,toArray,includes,union,each,isString,merge,isObject,set exports=node","prepublishOnly":"npm run build","prettier":"prettier 'lib/**/*' 'examples/*' 'test/specs/**/*.js' --tab-width 4","prettier:fix":"npm run prettier -- --write","test":"npm run build && npm run env && npm run unit","unit":"mocha --recursive test/specs --timeout 10000 --bail --exit"},"dependencies":{"browser-sync-client":"^2.27.1","browser-sync-ui":"^2.27.1","bs-recipes":"1.3.4","bs-snippet-injector":"^2.0.1","chokidar":"^3.5.1","connect":"3.6.6","connect-history-api-fallback":"^1","dev-ip":"^1.0.1","easy-extender":"^2.3.4","eazy-logger":"3.1.0","etag":"^1.8.1","fresh":"^0.5.2","fs-extra":"3.0.1","http-proxy":"^1.18.1","immutable":"^3","localtunnel":"^2.0.1","micromatch":"^4.0.2","opn":"5.3.0","portscanner":"2.1.1","qs":"6.2.3","raw-body":"^2.3.2","resp-modifier":"6.0.2","rx":"4.1.0","send":"0.16.2","serve-index":"1.9.1","serve-static":"1.13.2","server-destroy":"1.0.1","socket.io":"2.4.0","ua-parser-js":"^0.7.18","yargs":"^15.4.1"},"devDependencies":{"@types/node":"^8","bs-snippet-injector":"^2.0.1","chai":"^3","chalk":"1.1.3","generate-changelog":"^1.7.0","graceful-fs":"4.1.9","http2":"^3.3.6","mocha":"^8.2.0","prettier":"^1.9.2","q":"1.4.1","request":"^2","requirejs":"^2.3.5","rimraf":"2.5.4","sinon":"^1","socket.io-client":"^2.4.0","source-map-support":"^0.5.0","supertest":"^3","typescript":"3.0.3","vinyl":"1.2.0"},"keywords":["browser sync","css","live reload","sync"],"gitHead":"a4aa8ebf65abda69c47667573b3be5aaf79b63eb","bugs":{"url":"https://github.com/BrowserSync/browser-sync/issues"},"_id":"browser-sync@2.27.1","_nodeVersion":"14.16.1","_npmVersion":"lerna/3.22.1/node@v14.16.1+x64 (darwin)","dist":{"integrity":"sha512-pw2hUeFPAfR75+fEMz0J4T+QtxC3x6hyc/W4FCiai8+b3BO5lqpwIOX3t6VDQyRDRcAFWsiIBZVZ0LCNZfEE+g==","shasum":"2be671d44ce03562b989d13167238ad275f3e2b2","tarball":"http://registry-npm.ywwl.com/browser-sync/download/browser-sync-2.27.1.tgz","fileCount":132,"unpackedSize":572672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg1LhGCRA9TVsSAnZWagAAlUEP/25oyqOlnX8KHij77qak\n+L1TlbqJf1+WFIUMVeLhoUXBVyJNyY8BPExhoNj5Xqa65ucPkZVWlP1zhx1f\n96HOTWfVWvmlefZOd3/DyfoTp6Z0SQvjbSPUAwe6JfKH08mWc5cJkghQwePi\nou75+vJxSAKEith2H6Ww/Zb/NIVD/cjq+9OwVQuWRN5PU6oen74wZMgWP9VC\nrgpkTb7NFbhvMryFcNP51zlfHG4c3foVwkkvrGUW+bPueFwa5eKtYBarzNwK\nDqAjkta1zsAIjaT5FTtRlrBJz8WngSHptH5culcbpez0/cWEs0m5KxAYj3Ww\nNQiECKKpR53y76yUgdve4BWUPBCsPr/YeAA3WthWEodUB67AuumAiD51jpLA\nyDG1NJXB3GraMkpw4UCFwURBTwUQt3rBUH8/B0PyWR9Kn2RfKIZOZFqTIX0K\nttSAlMYmFNbf9fE+LDVqCPRrn4Ih54G6bXH6VbWOcIz9GOd938tWM2MfFOLL\nMTQwHaAvS3rCbrWzIvE+e/LLaIhJudDj0HxQ/JD4cPlyUUO8iAJXwaiid461\nOuhE1QUnITBm+mezSBkoGI8JiM7OCeIxKkL0tD+WjBrbiOId3+/VqwLWA78X\nBxYv7Qo2YpoQP1JJTjwnAVKI9F93QF4Fs1cFKGuxrdIoay9AOl/Z9LRopaCD\nhBi5\r\n=jaMN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDFvU932/TrtzkkAxyCd1wjEhb/aN7GYMUHoPhUX5ImLAiEA2ivyn5EfmPZADuysfCiiqoH65noiQHIq7P+RKyJleK0="}],"size":126107,"noattachment":false,"key":"/browser-sync/-/browser-sync-2.27.1.tgz"},"_npmUser":{"name":"shakyshane","email":"shakyshane@gmail.com"},"directories":{},"maintainers":[{"name":"shakyshane","email":"shakyshane@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/browser-sync_2.27.1_1624553542402_0.21686534759145104"},"_hasShrinkwrap":false,"readme":"<p align=\"center\">\n<a href=\"https://travis-ci.org/BrowserSync/browser-sync\" title=\"Travis branch\">\n <img src=\"https://img.shields.io/travis/BrowserSync/browser-sync/master.svg?style=flat-square&label=linux\" />\n</a><a href=\"https://www.npmjs.com/package/browser-sync\">\n <img src=\"https://img.shields.io/npm/dm/browser-sync.svg?style=flat-square\" />\n</a>\n</p>\n<p align=\"center\">\n<a href=\"https://www.npmjs.com/package/browser-sync\" title=\"NPM version\">\n <img src=\"https://img.shields.io/npm/v/browser-sync.svg?style=flat-square\" />\n</a>\n</p>\n<p align=\"center\"><a href=\"https://www.browsersync.io\"><img src=\"https://raw.githubusercontent.com/BrowserSync/browsersync.github.io/master/public/img/logo-gh.png\" /></a></p>\n<p align=\"center\">Keep multiple browsers & devices in sync when building websites.</p>\n\n<p align=\"center\">Follow <a href=\"https://twitter.com/browsersync\">@Browsersync</a> on twitter for news & updates.</p>\n\n## Features\n\nPlease visit [browsersync.io](https://browsersync.io) for a full run-down of features\n\n## Requirements\n\nBrowsersync works by injecting an asynchronous script tag (`<script async>...</script>`) right after the `<body>` tag\nduring initial request. In order for this to work properly the `<body>` tag must be present. Alternatively you\ncan provide a custom rule for the snippet using [snippetOptions](https://www.browsersync.io/docs/options/#option-snippetOptions)\n\n## Upgrading from 1.x to 2.x ?\nProviding you haven't accessed any internal properties, everything will just work as\nthere are no breaking changes to the public API. Internally however, we now use an\nimmutable data structure for storing/retrieving options. So whereas before you could access urls like this...\n\n```js\nbrowserSync({server: true}, function(err, bs) {\n    console.log(bs.options.urls.local);\n});\n```\n\n... you now access them in the following way:\n\n```js\nbrowserSync({server: true}, function(err, bs) {\n    console.log(bs.options.getIn([\"urls\", \"local\"]));\n});\n```\n\n## Install and trouble shooting\n\n[browsersync.io docs](https://browsersync.io)\n\n## Integrations / recipes\n\n[Browsersync recipes](https://github.com/Browsersync/recipes)\n\n\n## Support\n\nIf you've found Browser-sync useful and would like to contribute to its continued development & support, please feel free to send a donation of any size - it would be greatly appreciated!\n\n[Support via PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=shakyshane%40gmail%2ecom&lc=US&item_name=browser%2dsync)\n\n## Supported by\n\nOriginally supported by [JH](https://www.wearejh.com) - they provided financial support as well as access to a professional designer to help with Branding.\n\nApache 2\nCopyright (c) 2021 Shane Osbourne\n","publish_time":1624553542538,"_cnpm_publish_time":1624553542538,"dist-tags":{"latest":"3.0.4","next":"3.0.0-alpha.2","rc":"2.24.3-rc1","trim-deps":"2.29.1-alpha.0"}}