{"_id":"gulp-inline-angular-templates","_rev":"27-1a374920c28de31965ef2da5711d999f","name":"gulp-inline-angular-templates","description":"Inline angular templates into an HTML file","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.0":{"name":"gulp-inline-angular-templates","version":"0.1.0","description":"> Inline angular templates into an HTML file","license":"MIT","repository":{"type":"git","url":"git://github.com/wmluke/gulp-inline-angular-templates"},"author":{"name":"wmluke","email":"wmlukeb@gmail.com","url":"https://github.com/wmluke"},"engines":{"node":">=0.10.0"},"scripts":{"test":"./node_modules/mocha/bin/mocha"},"files":["./src/index.js"],"keywords":["gulpplugin angular templates cache"],"dependencies":{"cheerio":"^0.17.0","event-stream":"^3.1.5","gulp-util":"~2.2.14","lodash":"^2.4.1","through2":"~0.4.1","vinyl-fs":"^0.1.4","vinyl-source-stream":"^0.1.1"},"devDependencies":{"mocha":"*","graceful-fs":"~3.0.2"},"bugs":{"url":"https://github.com/wmluke/gulp-inline-angular-templates/issues"},"_id":"gulp-inline-angular-templates@0.1.0","dist":{"shasum":"36fc98c064524e174c4ba69f3d957eabd67988fe","tarball":"https://registry.npmjs.org/gulp-inline-angular-templates/-/gulp-inline-angular-templates-0.1.0.tgz","integrity":"sha512-v32Oo9R+cg7HwdRzReEO/F06tGkqvyvE+VMHVer9cL4uz2WmY4XLv4Bs+g6UMudgmMDB0G0DXl75TmJ5bEm9Jw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHDd7si3kFMpRqZxeZxsfFSZyJo53Lc9pWta2XfBb/cgIgEn0YggX3DYWtnT/Zgxx3OXblfBkWwsrSTuAxLuxYb6g="}]},"_from":"./","_npmVersion":"1.3.11","_npmUser":{"name":"wmluke","email":"wmlukeb@gmail.com"},"maintainers":[{"name":"wmluke","email":"wmlukeb@gmail.com"}]},"0.1.1":{"name":"gulp-inline-angular-templates","version":"0.1.1","description":"Inline angular templates into an HTML file","license":"MIT","repository":{"type":"git","url":"git://github.com/wmluke/gulp-inline-angular-templates"},"author":{"name":"wmluke","email":"wmlukeb@gmail.com","url":"https://github.com/wmluke"},"engines":{"node":">=0.10.0"},"scripts":{"test":"./node_modules/mocha/bin/mocha"},"main":"./src/index.js","files":["./src/index.js"],"keywords":["gulpplugin angular templates cache"],"dependencies":{"cheerio":"^0.17.0","event-stream":"^3.1.5","gulp-util":"~2.2.14","lodash":"^2.4.1","through2":"~0.4.1","vinyl-fs":"^0.1.4","vinyl-source-stream":"^0.1.1"},"devDependencies":{"mocha":"*","graceful-fs":"~3.0.2"},"bugs":{"url":"https://github.com/wmluke/gulp-inline-angular-templates/issues"},"_id":"gulp-inline-angular-templates@0.1.1","dist":{"shasum":"79805b42cfd7437604a6b2b9c57173cd0f88629b","tarball":"https://registry.npmjs.org/gulp-inline-angular-templates/-/gulp-inline-angular-templates-0.1.1.tgz","integrity":"sha512-TL8zWz5JSIyZbaUrNvO676KwIpTOd0MPKzTc8S/j/KgKmsHaHbaKcXCrcOnA6lcwK/VS8A4OKj0piGTMr7Or4A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFbHvoYZOs3tCMhKjrpC42koeC64qRX9kB+y15gvgSarAiEA4nT4AXLHJQS5Sf/3mV//4rGDjI+kRIxrtmx3cFK8FJU="}]},"_from":"./","_npmVersion":"1.3.11","_npmUser":{"name":"wmluke","email":"wmlukeb@gmail.com"},"maintainers":[{"name":"wmluke","email":"wmlukeb@gmail.com"}]},"0.1.2":{"name":"gulp-inline-angular-templates","version":"0.1.2","description":"Inline angular templates into an HTML file","license":"MIT","repository":{"type":"git","url":"git://github.com/wmluke/gulp-inline-angular-templates.git"},"author":{"name":"wmluke","email":"wmlukeb@gmail.com","url":"https://github.com/wmluke"},"engines":{"node":">=0.10.0"},"scripts":{"test":"./node_modules/mocha/bin/mocha"},"main":"./src/index.js","files":["./src/index.js"],"keywords":["gulpplugin angular templates cache"],"dependencies":{"cheerio":"^0.17.0","event-stream":"^3.1.5","gulp-util":"~2.2.14","lodash":"^2.4.1","through2":"~0.4.1","vinyl-fs":"^0.1.4","vinyl-source-stream":"^0.1.1"},"devDependencies":{"mocha":"*","graceful-fs":"~3.0.2"},"bugs":{"url":"https://github.com/wmluke/gulp-inline-angular-templates/issues"},"_id":"gulp-inline-angular-templates@0.1.2","dist":{"shasum":"94ab0f16f2df31cbfab4b64e88d2c3a3c2977f02","tarball":"https://registry.npmjs.org/gulp-inline-angular-templates/-/gulp-inline-angular-templates-0.1.2.tgz","integrity":"sha512-8HQaa4BzZ181Si9Ti0iQZH/huFCwlXshBhHevrDIbieRq9mvGPbDO9vEBPfenFRjWf1KZkXaIJyVM54tFGjabw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGvCUQ9GgHx06bmJeOaHA/7A404EB1xbgupiWLGykEtpAiEA8B84K8kLd80k85R2mkHRoLgMO57NG2R5f3xxD8OevAU="}]},"_from":"./","_npmVersion":"1.3.11","_npmUser":{"name":"wmluke","email":"wmlukeb@gmail.com"},"maintainers":[{"name":"wmluke","email":"wmlukeb@gmail.com"}]},"0.1.3":{"name":"gulp-inline-angular-templates","version":"0.1.3","description":"Inline angular templates into an HTML file","license":"MIT","repository":{"type":"git","url":"git://github.com/wmluke/gulp-inline-angular-templates.git"},"author":{"name":"wmluke","email":"wmlukeb@gmail.com","url":"https://github.com/wmluke"},"engines":{"node":">=0.10.0"},"scripts":{"test":"./node_modules/mocha/bin/mocha"},"main":"./src/index.js","files":["./src/index.js"],"keywords":["gulpplugin angular templates cache"],"dependencies":{"cheerio":"^0.17.0","event-stream":"^3.1.5","gulp-util":"~2.2.14","lodash":"^2.4.1","through2":"~0.4.1","vinyl-fs":"^0.1.4","vinyl-source-stream":"^0.1.1"},"devDependencies":{"mocha":"*","graceful-fs":"~3.0.2"},"bugs":{"url":"https://github.com/wmluke/gulp-inline-angular-templates/issues"},"_id":"gulp-inline-angular-templates@0.1.3","dist":{"shasum":"bfeb2511972cdc2e59f99afc2e254488d69cc0f2","tarball":"https://registry.npmjs.org/gulp-inline-angular-templates/-/gulp-inline-angular-templates-0.1.3.tgz","integrity":"sha512-Ix1TyeZgcLti4ShBMwlEGG6UkfxJuRyNc2rB42imd8a4UbcRKUVKCHUlWpRMhZQt5QJZ/67WKy1B6bvNnF2sFw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBSdinIf5TPBq/lSz5VgBJAjUGP7yPwT9v0Y0XaZirKgAiEAmSGH1Q5QMQDFZNmMUxaXwzA9tc7QaDzRDqzVmua/V34="}]},"_from":"./","_npmVersion":"1.3.11","_npmUser":{"name":"wmluke","email":"wmlukeb@gmail.com"},"maintainers":[{"name":"wmluke","email":"wmlukeb@gmail.com"}]},"0.1.4":{"name":"gulp-inline-angular-templates","version":"0.1.4","description":"Inline angular templates into an HTML file","license":"MIT","repository":{"type":"git","url":"git://github.com/wmluke/gulp-inline-angular-templates.git"},"author":{"name":"wmluke","email":"wmlukeb@gmail.com","url":"https://github.com/wmluke"},"engines":{"node":">=0.10.0"},"scripts":{"test":"./node_modules/mocha/bin/mocha"},"main":"src/index.js","keywords":["gulpplugin angular templates cache"],"dependencies":{"cheerio":"^0.17.0","event-stream":"^3.1.5","gulp-util":"~2.2.14","lodash":"^2.4.1","through2":"~0.4.1","vinyl-fs":"^0.1.4","vinyl-source-stream":"^0.1.1"},"devDependencies":{"mocha":"*","graceful-fs":"~3.0.2"},"bugs":{"url":"https://github.com/wmluke/gulp-inline-angular-templates/issues"},"_id":"gulp-inline-angular-templates@0.1.4","dist":{"shasum":"f4e2fc1cd9787a03dc4c64acca67c5e8e8861e16","tarball":"https://registry.npmjs.org/gulp-inline-angular-templates/-/gulp-inline-angular-templates-0.1.4.tgz","integrity":"sha512-VAs+qfoUkzf6u+hC9n4BbScNiZm75ST10OIiFgrBFOheRrIuKHomKbmqzHbojfcWVCaXx27qGOLmHD+mOAg4WA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCupA5P1S1sfqdI+p/1smgu21vMvayrcY2kK9UhwaprxQIgaPRD6ymyPsK22Re5KPVlAwNV+Rl2MOiYZ2i2VCIrF5E="}]},"_from":"./","_npmVersion":"1.3.11","_npmUser":{"name":"wmluke","email":"wmlukeb@gmail.com"},"maintainers":[{"name":"wmluke","email":"wmlukeb@gmail.com"}]},"0.1.5":{"name":"gulp-inline-angular-templates","version":"0.1.5","description":"Inline angular templates into an HTML file","license":"MIT","repository":{"type":"git","url":"git://github.com/wmluke/gulp-inline-angular-templates.git"},"author":{"name":"wmluke","email":"wmlukeb@gmail.com","url":"https://github.com/wmluke"},"engines":{"node":">=0.10.0"},"scripts":{"test":"./node_modules/mocha/bin/mocha"},"main":"src/index.js","keywords":["gulpplugin angular templates cache"],"dependencies":{"cheerio":"^0.17.0","event-stream":"^3.1.5","gulp-util":"~2.2.14","lodash":"^2.4.1","through2":"~0.4.1","vinyl-fs":"^0.1.4","vinyl-source-stream":"^0.1.1"},"devDependencies":{"mocha":"*","graceful-fs":"~3.0.2"},"bugs":{"url":"https://github.com/wmluke/gulp-inline-angular-templates/issues"},"_id":"gulp-inline-angular-templates@0.1.5","dist":{"shasum":"aad157ba792e9182f89fedf3c5c7833d137bd808","tarball":"https://registry.npmjs.org/gulp-inline-angular-templates/-/gulp-inline-angular-templates-0.1.5.tgz","integrity":"sha512-zvAYo6WfcR64AEpQq9k4CQ2VZV4xxCrM0LPbRqTouEDWV7ElTJBoMEADtNKErAHT8JjeBFB7l38IWjwB5zwRWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuVWbcroJ1af4XQa2yAW0OZ5kyWO44KdoxtJ4B14mH4gIhAKSJ7CeA7VWavY1UcFNMjYfQFfyFO7Wwy+oSnNTAkCCk"}]},"_from":"./","_npmVersion":"1.3.11","_npmUser":{"name":"wmluke","email":"wmlukeb@gmail.com"},"maintainers":[{"name":"wmluke","email":"wmlukeb@gmail.com"}]}},"readme":"# [gulp](http://gulpjs.com)-inline-angular-templates [![Build Status](https://travis-ci.org/wmluke/gulp-inline-angular-templates.svg?branch=master)](https://travis-ci.org/wmluke/gulp-inline-angular-templates)\n\n> Inline angular templates into an HTML file\n\n## Install\n\n```bash\n$ npm install --save-dev gulp-inline-angular-templates\n```\n\n## Usage\n\n```js\nvar gulp = require('gulp');\nvar inlineAngularTemplates = require('gulp-inline-angular-templates');\n\ngulp.task('default', function () {\n    return gulp.src('dist/index.html')\n        .pipe(inlineAngularTemplates({\n             base: 'dist/templates', // (Optional) ID of the <script> tag will be relative to this folder. Default is project dir.\n             prefix: '/',            // (Optional) Prefix path to the ID. Default is empty string.\n             selector: 'body',       // (Optional) CSS selector of the element to use to insert the templates. Default is `body`.\n             method: 'prepend'       // (Optional) DOM insert method. Default is `prepend`.\n             unescape: {             // (Optional) List of escaped characters to unescape\n                 '&lt;': '<',\n                 '&gt;': '>',\n                 '&apos;': '\\'',\n                 '&amp;': '&'\n             }\n         }))\n        .pipe(gulp.dest('dist'));\n});\n```\n\nThis will prepend the template files into the body of `dist/index.html` something like...\n\n```html\n<html>\n<body>\n<!-- Begin Templates -->\n<script type=\"text/ng-template\" id=\"/views/template1.html\">\n<div>\n    <h1>Template 1</h1>\n</div>\n</script>\n\n<script type=\"text/ng-template\" id=\"/views/template2.html\">\n<div>\n    <h1>Template 2</h1>\n</div>\n</script>\n<!-- End Templates -->\n\n<div ng-view></div>\n</body>\n</html>\n```\n\n## API\n\n### inlineAngularTemplates(options)\n\n#### Options\n\n##### options.base\nType: `String`\nDefault value: Grunt working folder\n\nID of the `<script>` tag will be relative to this folder\n\n##### options.prefix\nType: `String`\nDefault value: Empty string\n\nAppend this prefix to the template ID.\n\n##### options.selector\nType: `String`\nDefault value: 'body'\n\nThe CSS selector of the element to use to insert the templates.\n\n##### options.method\nType: `String`\nValues: append | prepend | replaceWith | after | before\nDefault value: 'prepend'\n\nThe DOM method used to insert the templates.\n\n##### options.unescape\nType: `Object`\nDefault value: '{}'\n\nList of escaped characters to unescape.\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n\n\n## License\n\nMIT © [wmluke](https://github.com/wmluke)\n","maintainers":[{"name":"wmluke","email":"wmlukeb@gmail.com"}],"time":{"modified":"2022-06-18T17:18:22.827Z","created":"2014-09-04T08:26:56.010Z","0.1.0":"2014-09-04T08:26:56.568Z","0.1.1":"2014-09-04T18:17:40.921Z","0.1.2":"2014-09-04T18:22:33.947Z","0.1.3":"2014-09-07T19:08:09.078Z","0.1.4":"2014-09-07T19:19:46.897Z","0.1.5":"2014-09-07T19:22:49.991Z"},"readmeFilename":"readme.md","keywords":["gulpplugin angular templates cache"],"repository":{"type":"git","url":"git://github.com/wmluke/gulp-inline-angular-templates.git"},"author":{"name":"wmluke","email":"wmlukeb@gmail.com","url":"https://github.com/wmluke"},"bugs":{"url":"https://github.com/wmluke/gulp-inline-angular-templates/issues"},"license":"MIT"}