{"name":"bs-snippet-injector","version":"2.0.1","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","devDependencies":{"browser-sync":"2.4.0"},"gitHead":"a134c2ee7149fdbb723235fb8d1b322f1ad9a9c5","_id":"bs-snippet-injector@2.0.1","_shasum":"61b5393f11f52559ed120693100343b6edb04dd5","_from":".","_npmVersion":"2.7.3","_nodeVersion":"0.10.26","_npmUser":{"name":"shakyshane","email":"shakyshane@gmail.com"},"maintainers":[{"name":"shakyshane","email":"shakyshane@gmail.com"}],"dist":{"shasum":"61b5393f11f52559ed120693100343b6edb04dd5","tarball":"http://registry-npm.ywwl.com/bs-snippet-injector/download/bs-snippet-injector-2.0.1.tgz","integrity":"sha512-4u8IgB+L9L+S5hknOj3ddNSb42436gsnGm1AuM15B7CdbkpQTyVWgIM5/JUBiKiRwGOR86uo0Lu/OsX+SAlJmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID5qC61nwczk1MaSwZEhLczTKypcwo1w/kDQ+xojUUPdAiArpxbdKzIkp1T4prMcuxC32sx37TpY/tRLmjEG51PdQQ=="}],"size":1898,"noattachment":false,"key":"/bs-snippet-injector/-/bs-snippet-injector-2.0.1.tgz"},"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":1428004161554,"_cnpm_publish_time":1428004161554,"dist-tags":{"latest":"2.0.1"}}