{"name":"bs-snippet-injector","version":"0.0.4","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.4","dist":{"shasum":"fcaea4f7b241945b384e1daf28040402c8b33a0c","tarball":"http://registry-npm.ywwl.com/bs-snippet-injector/download/bs-snippet-injector-0.0.4.tgz","integrity":"sha512-y9YROlxyjykcIipAfHBf9NSOZqnGNdhXAzjm2SKt2eGiOnvfXcB/cn3DvqMNuHkwTHhyJJDykU93HQN+lqOOYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAM25iksRojEzvgS2n20V+J9Zzlp2NuF5rUFQgkE16S/AiB/Ur/dK6i/8R+07PwR8SVCT28bfUmMSW8ayS843dUZuA=="}],"size":1561,"noattachment":false,"key":"/bs-snippet-injector/-/bs-snippet-injector-0.0.4.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":1407269195668,"_cnpm_publish_time":1407269195668,"dist-tags":{"latest":"2.0.1"}}