{"name":"bs-snippet-injector","version":"0.0.5","description":"Write & Remove the BrowserSync Snippet to a file","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git@github.com:shakyShane/bs-snippet-injector.git"},"keywords":["browser","sync"],"author":{"name":"Shane Osbourne"},"license":"MIT","bugs":{"url":"https://github.com/shakyShane/bs-snippet-injector/issues"},"homepage":"https://github.com/shakyShane/bs-snippet-injector","dependencies":{"tfunk":"0.0.2"},"devDependencies":{"browser-sync":"^1.3.3"},"_id":"bs-snippet-injector@0.0.5","dist":{"shasum":"7a1d033318fedee665157fd48efa566086865d8f","tarball":"http://registry-npm.ywwl.com/bs-snippet-injector/download/bs-snippet-injector-0.0.5.tgz","integrity":"sha512-onSXdEHj6w7KmiNbWh1e9z37MlXtdPq63x2k5Oq7wKPPQb1mq6C9Sox0kXLHXNmSNLG98UISXFxx9fJZdfWjeQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCy9URAurOIhsdQe24v0Uq+PaOWMWaBIVPNJIT+yEVJpwIgdIlJGDxcpVEAI2WGhQFxd4JGo9Qyymw5pAfE4iDVSGI="}],"size":1737,"noattachment":false,"key":"/bs-snippet-injector/-/bs-snippet-injector-0.0.5.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"shakyshane","email":"shakyshane@gmail.com"},"maintainers":[{"name":"shakyshane","email":"shakyshane@gmail.com"}],"directories":{},"readme":"###bs-snippet-injector\nWrite & Remove the BrowserSync Snippet to a file\n\nThis is an alternative to using the BrowserSync proxy.\n\n##Install \n\n```bash\n$ npm install browser-sync bs-snippet-injector\n```\n\n###Example\n\n```js\n// requires version 1.3.3 of BrowserSync or higher.\nvar browserSync = require(\"browser-sync\");\n\n// register the plugin\nbrowserSync.use(require(\"bs-snippet-injector\"), {\n    // path to the file containing the closing </body> tag\n    file: \"app/design/frontend/project/template/page/1column.phtml\" \n});\n\n// now run BrowserSync, wathching CSS files.\nbrowserSync({\n  files: \"skin/frontend/project/assets/css/*.css\"\n});\n```","publish_time":1407270310073,"_cnpm_publish_time":1407270310073,"dist-tags":{"latest":"2.0.1"}}