{"name":"bs-snippet-injector","version":"0.0.2","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"},"_id":"bs-snippet-injector@0.0.2","dist":{"shasum":"e46b01c4e39e29aea706bbf2da492f29da7f00c5","tarball":"http://registry-npm.ywwl.com/bs-snippet-injector/download/bs-snippet-injector-0.0.2.tgz","integrity":"sha512-csY9cvVpcggzc7dsKbf2w0ejcbieeXatOipa5pYHIY3roR/Lv5daf/W0XwSALV8phMxcCi4OV5p6seScv3pJbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPaA1cRAbzkHulURONJ0D8W1gPZNbwOZiNa9bL462AZgIhAIQ1azbPrmDZorYZcuHqPVuSjZ4Of+UyrNEaomblPLtl"}],"size":1614,"noattachment":false,"key":"/bs-snippet-injector/-/bs-snippet-injector-0.0.2.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":1406020559688,"_cnpm_publish_time":1406020559688,"dist-tags":{"latest":"2.0.1"}}