{"_id":"gulp-include-source","_rev":"28-9698c3ee58692f19697af6a99e38d397","name":"gulp-include-source","description":"Include scripts and styles into your HTML files automatically.","dist-tags":{"latest":"0.0.5"},"versions":{"0.0.1":{"name":"gulp-include-source","version":"0.0.1","description":"Include scripts and styles into your HTML files automatically.","main":"index.js","scripts":{"test":"mocha"},"keywords":["gulpplugin","html","include","import","require","assets"],"author":{"name":"André Gil","email":"hey@andregil.org"},"license":"MIT","dependencies":{"replace-ext":"0.0.1","through2":"^0.4.1","glob":"^3.2.9","gulp-util":"^2.2.14"},"devDependencies":{"vinyl":"^0.2.3","mocha":"^1.18.0","mockery":"^1.4.0"},"_id":"gulp-include-source@0.0.1","dist":{"shasum":"5f1b41491559ecc674764a33f63eb8df9d5ea3fa","tarball":"https://registry.npmjs.org/gulp-include-source/-/gulp-include-source-0.0.1.tgz","integrity":"sha512-IP6PlSVuQ++hQlCp30xoRqmv5S8UU/bBGpereDZ4eKMbKjJFNuZyEji2PlhaXUyVSrluuot2jo2BWgDlYJrG4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICSX/DrHnrr378k9E91/0sNIJb/7o9/YnrcpiqKF8hduAiBCEFmh+U8dBn9A8T7Ew6YK/2YYD8IncssSJk2oUQlBBw=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"gil","email":"hey@andregil.org"},"maintainers":[{"name":"gil","email":"hey@andregil.org"}]},"0.0.2":{"name":"gulp-include-source","version":"0.0.2","description":"Include scripts and styles into your HTML files automatically.","author":{"name":"André Gil","email":"hey@andregil.org","url":"http://somepixels.net/"},"homepage":"https://github.com/gil/gulp-include-source","repository":{"type":"git","url":"git://github.com/gil/gulp-include-source.git"},"bugs":{"url":"https://github.com/gil/gulp-include-source/issues"},"main":"index.js","scripts":{"test":"mocha"},"keywords":["gulpplugin","html","include","import","require","assets"],"license":"MIT","dependencies":{"replace-ext":"0.0.1","through2":"^0.4.1","glob":"^3.2.9","gulp-util":"^2.2.14"},"devDependencies":{"vinyl":"^0.2.3","mocha":"^1.18.0","mockery":"^1.4.0"},"_id":"gulp-include-source@0.0.2","dist":{"shasum":"4dbe62c8cf0fd4d3506ad94cd1f1087eb23c9605","tarball":"https://registry.npmjs.org/gulp-include-source/-/gulp-include-source-0.0.2.tgz","integrity":"sha512-tsesBMbQILMihufdvnpgu86DPu+ulwMwLLBd2GWz0/cGW4VPRg/wfNDjO8KkC/tz/8YUyd22DNRTb5DaXmHIAg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB4qjriQ+Xs6ZR5k3/szYbcSVf8mr3I7u6ix6C8UA83UAiAy/GEsdH/S5li1uFwZhFGELRDLjN6fNdJLDxoV/1aazw=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"gil","email":"hey@andregil.org"},"maintainers":[{"name":"gil","email":"hey@andregil.org"}]},"0.0.3":{"name":"gulp-include-source","version":"0.0.3","description":"Include scripts and styles into your HTML files automatically.","author":{"name":"André Gil","email":"hey@andregil.org","url":"http://somepixels.net/"},"homepage":"https://github.com/gil/gulp-include-source","repository":{"type":"git","url":"git://github.com/gil/gulp-include-source.git"},"bugs":{"url":"https://github.com/gil/gulp-include-source/issues"},"main":"index.js","scripts":{"test":"mocha"},"keywords":["gulpplugin","html","include","import","require","assets"],"license":"MIT","dependencies":{"replace-ext":"0.0.1","through2":"^0.4.1","glob":"^3.2.9","gulp-util":"^2.2.14"},"devDependencies":{"vinyl":"^0.2.3","mocha":"^1.18.0","mockery":"^1.4.0"},"_id":"gulp-include-source@0.0.3","dist":{"shasum":"a341da926b357a743d4b610addf824feed9d1091","tarball":"https://registry.npmjs.org/gulp-include-source/-/gulp-include-source-0.0.3.tgz","integrity":"sha512-24JZUqF7SBi2hu11BljRHlAZ5N8UGZh2fCrMRQbYgHyBllC5PuJNh2eLn/EskvhSAzjQg772NIqkkukTf+LGmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAgDADSPvetmiY/e8+2Bnvuxz3XRg3JAzYBBUxH6cmBeAiEAy91XUyAu34RJRtb/q+Nb25e7q01D9Qay7d4WMkwX98o="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"gil","email":"hey@andregil.org"},"maintainers":[{"name":"gil","email":"hey@andregil.org"}]},"0.0.4":{"name":"gulp-include-source","version":"0.0.4","description":"Include scripts and styles into your HTML files automatically.","author":{"name":"André Gil","email":"hey@andregil.org","url":"http://somepixels.net/"},"homepage":"https://github.com/gil/gulp-include-source","repository":{"type":"git","url":"git://github.com/gil/gulp-include-source.git"},"bugs":{"url":"https://github.com/gil/gulp-include-source/issues"},"main":"index.js","scripts":{"test":"mocha"},"keywords":["gulpplugin","html","include","import","require","assets"],"license":"MIT","dependencies":{"replace-ext":"0.0.1","through2":"^0.4.1","glob":"^3.2.9","gulp-util":"^2.2.14"},"devDependencies":{"vinyl":"^0.2.3","mocha":"^1.18.0","mockery":"^1.4.0"},"_id":"gulp-include-source@0.0.4","_shasum":"6806269f1073414ce8d72fe3f4c13d04354a2240","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"gil","email":"hey@andregil.org"},"maintainers":[{"name":"gil","email":"hey@andregil.org"}],"dist":{"shasum":"6806269f1073414ce8d72fe3f4c13d04354a2240","tarball":"https://registry.npmjs.org/gulp-include-source/-/gulp-include-source-0.0.4.tgz","integrity":"sha512-AE/1Olfo2BGVEgCSK7YFktqsleDBl7A0pwKoKiuzw03dCBYxYZuL0dfTw4y2U194qGeIxOsSWM1BkRsUbCqFVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFjr8PH8w6Vg3ANrJFgSzE4Jx/6W/SFtdHmPe8Mu17VJAiEA2R7s9FDDDqvYatqFIjpB0eShKXfn9O7yd4y3p39wZy0="}]}},"0.0.5":{"name":"gulp-include-source","version":"0.0.5","description":"Include scripts and styles into your HTML files automatically.","author":{"name":"André Gil","email":"hey@andregil.org","url":"http://somepixels.net/"},"homepage":"https://github.com/gil/gulp-include-source","repository":{"type":"git","url":"git://github.com/gil/gulp-include-source.git"},"bugs":{"url":"https://github.com/gil/gulp-include-source/issues"},"main":"index.js","scripts":{"test":"mocha"},"keywords":["gulpplugin","html","include","import","require","assets"],"license":"MIT","dependencies":{"replace-ext":"0.0.1","through2":"^0.4.1","glob":"^3.2.9","gulp-util":"^2.2.14"},"devDependencies":{"vinyl":"^0.2.3","mocha":"^1.18.0","mockery":"^1.4.0"},"_id":"gulp-include-source@0.0.5","_shasum":"f1a90a6aaccef9137a6b8ccf95c5d5e49f764c52","_from":".","_npmVersion":"1.4.10","_npmUser":{"name":"gil","email":"hey@andregil.org"},"maintainers":[{"name":"gil","email":"hey@andregil.org"}],"dist":{"shasum":"f1a90a6aaccef9137a6b8ccf95c5d5e49f764c52","tarball":"https://registry.npmjs.org/gulp-include-source/-/gulp-include-source-0.0.5.tgz","integrity":"sha512-Tma6iHtPAIluortoma+9IzGmO2YuMuJ1o7af8KaIOXWCZHoFNoHiIq3+ErrLzed6F+op80Yg1QlcKE+/svgM5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCoWrpMAO1/at67kY896S24mXueI+3F9Q2GCaZdWAHc5QIgDMjKgChReYJTS1LthrathEYokqYvnEtDhchtqM5ObAQ="}]}}},"readme":"# gulp-include-source\n\nGulp plugin to include scripts and styles into your HTML files automatically.\n\n\n\n## Install\n\nInstall with [npm](https://npmjs.org/package/gulp-ngmin)\n\n```\nnpm install gulp-include-source --save-dev\n```\n\n\n\n## Example\n\n#### gulpfile.js\n\n```js\ngulp.task('html', function() {\n  return gulp.src( './client/index.html' )\n    .pipe( includeSources() )\n    .pipe( gulp.dest('build/') );\n});\n```\n\n#### index.html\n\n```html\n<html>\n<head>\n  <!-- include:css(style/**/*.css) -->\n</head>\n<body>\n  <!-- include:js(list:vendorList) -->\n  <!-- include:js(script/**/*.js) -->\n</body>\n</html>\n```\n\n#### scriptList\n\n```\nbower_components/jquery/dist/jquery.js\nbower_components/angular/angular.js\n```\n\n#### Result:\n\n```html\n<html>\n<head>\n  <link rel=\"stylesheet\" href=\"style/main.css\">\n</head>\n<body>\n  <script src=\"bower_components/jquery/dist/jquery.js\"></script>\n  <script src=\"bower_components/angular/angular.js\"></script>\n  <script src=\"app.js\"></script>\n  <script src=\"controllers/LoginController.js\"></script>\n  <script src=\"controllers/MainController.js\"></script>\n  <script src=\"services/LoginService.js\"></script>\n</body>\n</html>\n```\n\n\n\n## API\n\n### includeSources(options)\n\n#### options.cwd\n\nType: `String`\n\nBase directory from where the plugin will search for source files.\n\n#### options.scriptExt\n\nType: `String`\n\nWhen available, will override script extension in resulted HTML code.\n\n#### options.styleExt\n\nType: `String`\n\nWhen available, will override style extension in resulted HTML code.\n\n\n\n## License\n\nMIT © [André Gil](http://somepixels.net)","maintainers":[{"name":"gil","email":"hey@andregil.org"}],"time":{"modified":"2022-06-18T17:17:35.801Z","created":"2014-03-18T04:08:20.890Z","0.0.1":"2014-03-18T04:08:20.890Z","0.0.2":"2014-03-18T04:23:36.074Z","0.0.3":"2014-03-18T04:57:36.526Z","0.0.4":"2014-05-26T00:50:36.804Z","0.0.5":"2014-07-28T02:34:51.263Z"},"keywords":["gulpplugin","html","include","import","require","assets"],"author":{"name":"André Gil","email":"hey@andregil.org","url":"http://somepixels.net/"},"license":"MIT","readmeFilename":"README.md","homepage":"https://github.com/gil/gulp-include-source","repository":{"type":"git","url":"git://github.com/gil/gulp-include-source.git"},"bugs":{"url":"https://github.com/gil/gulp-include-source/issues"},"users":{"realetive":true,"zhonglimh":true,"yinluobing":true}}