{"_id":"karma-ember-preprocessor-flexible","_rev":"28-d672f2346b54b25601a0ba324a56dc91","name":"karma-ember-preprocessor-flexible","description":"A Karma plugin. Compile handlebars templates for ember.js on the fly. Also gives more flexibility by allowing templates to have any name by not forcing strict file naming convention. Also allows multiple templates to be within one file.","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"karma-ember-preprocessor-flexible","version":"1.0.0","description":"A Karma plugin. Compile handlebars templates for ember.js on the fly.","main":"./lib/main","bin":{"karma-ember-preprocessor":"./bin/preprocessor"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/jamesmgg/karma-ember-preprocessor.git"},"keywords":["karma-plugin","karma-preprocessor","ember","handlebars"],"author":{"name":"toran billups","email":"toranb@gmail.com"},"contributors":[{"name":"Jaime Guajardo","email":"jaimemguajardo@gmail.com","url":"http://www.jaimeguajardo.com"}],"licenses":["MIT"],"dependencies":{"ember-template-compiler":"1.3.0"},"peerDependencies":{"karma":">=0.9"},"devDependencies":{},"optionalDependencies":{},"bugs":{"url":"https://github.com/jamesmgg/karma-ember-preprocessor/issues"},"homepage":"https://github.com/jamesmgg/karma-ember-preprocessor","_id":"karma-ember-preprocessor-flexible@1.0.0","dist":{"shasum":"7d9327827b36aec7e0686c8b45423c598e187b21","tarball":"https://registry.npmjs.org/karma-ember-preprocessor-flexible/-/karma-ember-preprocessor-flexible-1.0.0.tgz","integrity":"sha512-yGrVot6snEYPgoQu7rTANgGKwySFIM1qeayzZbjL31NIMq2AT5Ykm2/9OAMMMQKAGSj27l0EiFpV/8d8/Z8fuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIGfQkFf26nFpCRmbAoaXiI7VcFohFLEqeG01YFnpfJgIgHNKNa/QoBfKjEBJJ9elcBk3xINu+AwB9QJ/Ttg0TZHs="}]},"_from":"../karma-ember-preprocessor-flexible/","_npmVersion":"1.3.14","_npmUser":{"name":"jamesmgg","email":"jaimemguajardo@gmail.com"},"maintainers":[{"name":"jamesmgg","email":"jaimemguajardo@gmail.com"}]},"1.0.1":{"name":"karma-ember-preprocessor-flexible","version":"1.0.1","description":"A Karma plugin. Compile handlebars templates for ember.js on the fly. Also gives more fleixbility by allowing templates to have any name and not have to follow a strict file path naming convention. Also allows multiple templates to be within one file.","main":"./lib/main","bin":{"karma-ember-preprocessor":"./bin/preprocessor"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/jamesmgg/karma-ember-preprocessor.git"},"keywords":["karma-plugin","karma-preprocessor","ember","handlebars"],"author":{"name":"toran billups","email":"toranb@gmail.com"},"contributors":[{"name":"Jaime Guajardo","email":"jaimemguajardo@gmail.com","url":"http://www.jaimeguajardo.com"}],"licenses":["MIT"],"dependencies":{"ember-template-compiler":"1.3.0"},"peerDependencies":{"karma":">=0.9"},"devDependencies":{},"optionalDependencies":{},"bugs":{"url":"https://github.com/jamesmgg/karma-ember-preprocessor/issues"},"homepage":"https://github.com/jamesmgg/karma-ember-preprocessor","_id":"karma-ember-preprocessor-flexible@1.0.1","dist":{"shasum":"30f59037ca9fc4875d7eff77618664d7b4510b6a","tarball":"https://registry.npmjs.org/karma-ember-preprocessor-flexible/-/karma-ember-preprocessor-flexible-1.0.1.tgz","integrity":"sha512-5jSGG3mLpQbeSwUYUxxbgVd937AcSjsIzKlDqdFCQ4nZBhINsWUnnp1lnt+q02BPICiPgjaeCi7jvpgSKTpIiw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFKlmZSpuYTogEbWdMvILGDHv+pgCeGKbg0BK4/gzsIuAiBjFRM3VeWJJfaC7zZd08LZsD1N6G8g5BUo1UmMWftv5w=="}]},"_from":"../karma-ember-preprocessor-flexible/","_npmVersion":"1.3.14","_npmUser":{"name":"jamesmgg","email":"jaimemguajardo@gmail.com"},"maintainers":[{"name":"jamesmgg","email":"jaimemguajardo@gmail.com"}]},"1.0.2":{"name":"karma-ember-preprocessor-flexible","version":"1.0.2","description":"A Karma plugin. Compile handlebars templates for ember.js on the fly. Also gives more flexibility by allowing templates to have any name by not forcing strict file naming convention. Also allows multiple templates to be within one file.","main":"./lib/main","bin":{"karma-ember-preprocessor":"./bin/preprocessor"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/jamesmgg/karma-ember-preprocessor.git"},"keywords":["karma-plugin","karma-preprocessor","ember","handlebars"],"author":{"name":"toran billups","email":"toranb@gmail.com"},"contributors":[{"name":"Jaime Guajardo","email":"jaimemguajardo@gmail.com","url":"http://www.jaimeguajardo.com"}],"licenses":["MIT"],"dependencies":{"ember-template-compiler":"1.3.0"},"peerDependencies":{"karma":">=0.9"},"devDependencies":{},"optionalDependencies":{},"bugs":{"url":"https://github.com/jamesmgg/karma-ember-preprocessor/issues"},"homepage":"https://github.com/jamesmgg/karma-ember-preprocessor","_id":"karma-ember-preprocessor-flexible@1.0.2","dist":{"shasum":"0b38ac3a7481d989f02ed72cca61af0834880ea8","tarball":"https://registry.npmjs.org/karma-ember-preprocessor-flexible/-/karma-ember-preprocessor-flexible-1.0.2.tgz","integrity":"sha512-92NQOHcZU8TVBx5kxzGrjOKVNzQ/HwH48jX5vzOoce4hayZyhqK+YyAALU7qErd8j6qBlZKK24j27C3bGBk0pA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGa07QQxrjnXlj581uewoJUopHDDFp75/22SjxvYxVegAiATeooXoMUOU3NAKbk+fFj/0qPXqhF5EzsPnBBI7y6htw=="}]},"_from":"../karma-ember-preprocessor-flexible/","_npmVersion":"1.3.14","_npmUser":{"name":"jamesmgg","email":"jaimemguajardo@gmail.com"},"maintainers":[{"name":"jamesmgg","email":"jaimemguajardo@gmail.com"}]},"1.0.3":{"name":"karma-ember-preprocessor-flexible","version":"1.0.3","description":"A Karma plugin. Compile handlebars templates for ember.js on the fly. Also gives more flexibility by allowing templates to have any name by not forcing strict file naming convention. Also allows multiple templates to be within one file.","main":"./lib/main","bin":{"karma-ember-preprocessor":"./bin/preprocessor"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/jamesmgg/karma-ember-preprocessor.git"},"keywords":["karma-plugin","karma-preprocessor","ember","handlebars"],"author":{"name":"toran billups","email":"toranb@gmail.com"},"contributors":[{"name":"Jaime Guajardo","email":"jaimemguajardo@gmail.com","url":"http://www.jaimeguajardo.com"}],"licenses":["MIT"],"dependencies":{"ember-template-compiler":"1.3.0"},"peerDependencies":{"karma":">=0.9"},"devDependencies":{},"optionalDependencies":{},"bugs":{"url":"https://github.com/jamesmgg/karma-ember-preprocessor/issues"},"homepage":"https://github.com/jamesmgg/karma-ember-preprocessor","_id":"karma-ember-preprocessor-flexible@1.0.3","dist":{"shasum":"161ebced077910208e839fbf255f8f77d2abb280","tarball":"https://registry.npmjs.org/karma-ember-preprocessor-flexible/-/karma-ember-preprocessor-flexible-1.0.3.tgz","integrity":"sha512-OVd3YfnC/MQzWrRRWXAu3CQl+8lDxurTOX3rpiRj9/FRHMeIzFbHLdW1jQR7mcbLejmiQnSs2ScgITNiiBkFLA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8e5hjbgBL3kKwNkpiKmpHI46w9aSWapfAIyZSChZrjgIgc+67hHb5LbKpRRW27kog6g0EGaOIm1Q2F0UkwTGje7Q="}]},"_from":"../karma-ember-preprocessor-flexible/","_npmVersion":"1.3.14","_npmUser":{"name":"jamesmgg","email":"jaimemguajardo@gmail.com"},"maintainers":[{"name":"jamesmgg","email":"jaimemguajardo@gmail.com"}]},"1.0.4":{"name":"karma-ember-preprocessor-flexible","version":"1.0.4","description":"A Karma plugin. Compile handlebars templates for ember.js on the fly. Also gives more flexibility by allowing templates to have any name by not forcing strict file naming convention. Also allows multiple templates to be within one file.","main":"./lib/main","bin":{"karma-ember-preprocessor":"./bin/preprocessor"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/jamesmgg/karma-ember-preprocessor.git"},"keywords":["karma-plugin","karma-preprocessor","ember","handlebars"],"author":{"name":"toran billups","email":"toranb@gmail.com"},"contributors":[{"name":"Jaime Guajardo","email":"jaimemguajardo@gmail.com","url":"http://www.jaimeguajardo.com"}],"licenses":["MIT"],"dependencies":{"ember-template-compiler":"1.3.0"},"peerDependencies":{"karma":">=0.9"},"optionalDependencies":{},"bugs":{"url":"https://github.com/jamesmgg/karma-ember-preprocessor/issues"},"homepage":"https://github.com/jamesmgg/karma-ember-preprocessor","_id":"karma-ember-preprocessor-flexible@1.0.4","dist":{"shasum":"6aebae02fd413d33075b377224bbb634f48f8f37","tarball":"https://registry.npmjs.org/karma-ember-preprocessor-flexible/-/karma-ember-preprocessor-flexible-1.0.4.tgz","integrity":"sha512-UPU7T5yxIu+fdmeKw44Typac7Imr8MbhlROIbo8dWWc9FCLFSoRyLmHGo/iJGHW1r4ZyEKVFa8P1bYgRjC8GbQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFfr4/9aPVGCVuMQIjwZ3gReVBYuXkdqnq8r8KFI6HTwIhAOUl/nfTXD+3WwqgDU6XkvMs3vg66Uy2yBrHeffs8DSf"}]},"_from":"./","_npmVersion":"1.3.14","_npmUser":{"name":"jamesmgg","email":"jaimemguajardo@gmail.com"},"maintainers":[{"name":"jamesmgg","email":"jaimemguajardo@gmail.com"}]},"1.0.5":{"name":"karma-ember-preprocessor-flexible","version":"1.0.5","description":"A Karma plugin. Compile handlebars templates for ember.js on the fly. Also gives more flexibility by allowing templates to have any name by not forcing strict file naming convention. Also allows multiple templates to be within one file.","main":"./lib/main","bin":{"karma-ember-preprocessor":"./bin/preprocessor"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/jamesmgg/karma-ember-preprocessor.git"},"keywords":["karma-plugin","karma-preprocessor","ember","handlebars"],"author":{"name":"toran billups","email":"toranb@gmail.com"},"contributors":[{"name":"Jaime Guajardo","email":"jaimemguajardo@gmail.com","url":"http://www.jaimeguajardo.com"}],"licenses":["MIT"],"dependencies":{"ember-template-compiler":"1.3.0"},"peerDependencies":{"karma":">=0.9"},"optionalDependencies":{},"bugs":{"url":"https://github.com/jamesmgg/karma-ember-preprocessor/issues"},"homepage":"https://github.com/jamesmgg/karma-ember-preprocessor","_id":"karma-ember-preprocessor-flexible@1.0.5","dist":{"shasum":"2f1b1ae849823e5744ad6ecd48938c49756dec8e","tarball":"https://registry.npmjs.org/karma-ember-preprocessor-flexible/-/karma-ember-preprocessor-flexible-1.0.5.tgz","integrity":"sha512-flk3swk7UPZXxkbS5RAJtJUfM92jm0LE36YW4Ja+LwfW9RX5eQdw6wnT+zy95Ie8+R3iUykj2G8Es1Iku2O+3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpgObNh7GnROYuj7eQry7fxaLR1fXdRx6tQVR1OTTLzQIhAJwo+Kb9phRzXnHSdEj8BjNSUI3JFups2shAqZLV7Ojv"}]},"_from":"./","_npmVersion":"1.3.14","_npmUser":{"name":"jamesmgg","email":"jaimemguajardo@gmail.com"},"maintainers":[{"name":"jamesmgg","email":"jaimemguajardo@gmail.com"}]}},"readme":"# karma-ember-preprocessor-flexible\n\n> A Karma plugin. Compile handlebars templates for ember.js on the fly. Also gives more flexibility by allowing templates to have any name by not forcing strict file naming convention. Also allows multiple templates to be within one file.\n\nFor more information on Karma see the [homepage].\n\nRequires Karma 0.9+\n\nTo use this with karma, first you will need to install it with npm\n\n    npm install karma-ember-preprocessor-flexible\n\nNext you need to create a configuration file using karma init\n\n\n    module.exports = function(karma) {\n        karma.set({\n            basePath: 'js',\n\n            files: [\n              \"vendor/jquery/jquery.min.js\",\n              \"vendor/handlebars/handlebars.js\",\n              \"vendor/ember/ember.js\",\n              \"app.js\",\n              \"tests/*.js\",\n              \"templates/*.handlebars\"\n            ],\n\n            logLevel: karma.LOG_ERROR,\n            browsers: ['PhantomJS'],\n            singleRun: true,\n            autoWatch: false,\n\n            frameworks: [\"qunit\"],\n\n            plugins: [\n                'karma-qunit',\n                'karma-chrome-launcher',\n                'karma-ember-preprocessor-flexible',\n                'karma-phantomjs-launcher'\n            ],\n\n            preprocessors: {\n                \"**/*.handlebars\": 'ember'\n            }\n        });\n    };\n\n\nThis forked version gives a bit more flexibility that the original:\n- Handlebar file can have multiple templates defined within it\n- Template names do not have to match file path hierarchy\n\ne.g.\nin file: templates/app/events/event.hbs\n\nTemplate name (or id) can be \"events\" or \"anything\" instead of having to be \"app/events/event\". In addition, multiple templates can exist within the file.\n\n```html\n// templates/app/events/events.hbs\n<script type=\"text/x-handlebars\" id=\"events\">\n  {{view Blocks.EventsContainerView  startEventBinding=\"startEvent\"  endEventBinding=\"endEvent\"}}\n</script>\n<script type=\"text/x-handlebars\" data-template-name=\"somethingelse\">\n  // Something else\n</script>\n```\n\n[homepage]: http://karma-runner.github.com","maintainers":[{"name":"jamesmgg","email":"jaimemguajardo@gmail.com"}],"time":{"modified":"2022-06-19T07:56:53.926Z","created":"2014-02-20T00:28:00.956Z","1.0.0":"2014-02-20T00:28:01.588Z","1.0.1":"2014-02-20T00:30:23.987Z","1.0.2":"2014-02-20T20:41:39.407Z","1.0.3":"2014-02-20T20:42:57.648Z","1.0.4":"2014-02-21T21:11:46.297Z","1.0.5":"2014-02-21T21:20:39.305Z"},"readmeFilename":"README.md","author":{"name":"toran billups","email":"toranb@gmail.com"},"repository":{"type":"git","url":"https://github.com/jamesmgg/karma-ember-preprocessor.git"},"homepage":"https://github.com/jamesmgg/karma-ember-preprocessor","keywords":["karma-plugin","karma-preprocessor","ember","handlebars"],"contributors":[{"name":"Jaime Guajardo","email":"jaimemguajardo@gmail.com","url":"http://www.jaimeguajardo.com"}],"bugs":{"url":"https://github.com/jamesmgg/karma-ember-preprocessor/issues"}}