{"name":"bs-snippet-injector","version":"0.0.7","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.7","dist":{"shasum":"fab6a4603b37105d134aa2fbfc7540ac7ea85b4e","tarball":"http://registry-npm.ywwl.com/bs-snippet-injector/download/bs-snippet-injector-0.0.7.tgz","integrity":"sha512-ermMpWi6NuF5uT53+dFe12IENHVJiExKAAqk1llY/AwYEQ1gT6lhEZOUIPUDuhpEzf6aDW6CJjVK/+aVpmuvzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzAp+2LhnZrXi0u4svau13ozWusanPJE/7sS9ZuAltJQIhAKXtWtBkLbfqtd6PMIS9L6aSRLc0ttJI7yM1KEsSO7d8"}],"size":2036,"noattachment":false,"key":"/bs-snippet-injector/-/bs-snippet-injector-0.0.7.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":1407695731769,"_cnpm_publish_time":1407695731769,"dist-tags":{"latest":"2.0.1"}}