{"_id":"gulp-deporder","_rev":"15-c0b323ecd70380704e20017f0078d03a","name":"gulp-deporder","description":"Reorder by dependencies","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"gulp-deporder","description":"Reorder by dependencies","version":"1.0.0","homepage":"http://github.com/mkleehammer/gulp-deporder","repository":{"type":"git","url":"git://github.com/mkleehammer/gulp-deporder.git"},"author":{"name":"michael@kleehammer.com"},"main":"./index.js","keywords":["gulpplugin"],"engines":{"node":">= 0.4.0"},"scripts":{"test":"mocha"},"dependencies":{"through":"~2.3.4","gulp-util":"~2.2.14"},"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/mkleehammer/gulp-deporder/issues"},"_id":"gulp-deporder@1.0.0","dist":{"shasum":"635f5f9f157f08583db607a90ae9ea8913ce5f92","tarball":"https://registry.npmjs.org/gulp-deporder/-/gulp-deporder-1.0.0.tgz","integrity":"sha512-3xEiIQx+GBdTmnUMiSvYO49t4NNTTirk4jZNPOc3hNn4utAvxSL/Tyax/w/tKXh+zDDnl8cs/vsCMqzuWJm6Kg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFsaf9vwxh0jC+7+QfwA3ytVEFrYk/w6kMZCX4iYhgJgIhAPCAGXLn/eXWKzQqqsfTSZt4zQXuFin6ummBMOfZWHZ0"}]},"_from":".","_npmVersion":"1.3.25","_npmUser":{"name":"mkleehammer","email":"michael@kleehammer.com"},"maintainers":[{"name":"mkleehammer","email":"michael@kleehammer.com"}],"directories":{}},"1.1.0":{"name":"gulp-deporder","description":"Reorder by dependencies","version":"1.1.0","homepage":"http://github.com/mkleehammer/gulp-deporder","repository":{"type":"git","url":"git://github.com/mkleehammer/gulp-deporder.git"},"author":{"name":"michael@kleehammer.com"},"main":"./index.js","keywords":["gulpplugin"],"engines":{"node":">= 0.4.0"},"scripts":{"test":"mocha"},"dependencies":{"through":"~2.3.4","gulp-util":"~2.2.14"},"devDependencies":{"mocha":"*"},"gitHead":"d7d7b7cef25135ea8249c6d6f0fd61e57d54c487","bugs":{"url":"https://github.com/mkleehammer/gulp-deporder/issues"},"_id":"gulp-deporder@1.1.0","_shasum":"9668080a8922f0aeb339111ca2cc152326955841","_from":".","_npmVersion":"2.9.1","_nodeVersion":"0.12.3","_npmUser":{"name":"mkleehammer","email":"michael@kleehammer.com"},"dist":{"shasum":"9668080a8922f0aeb339111ca2cc152326955841","tarball":"https://registry.npmjs.org/gulp-deporder/-/gulp-deporder-1.1.0.tgz","integrity":"sha512-OkIMcLEumWAP4to/t7y5pkBT/6Vg5/1jCYSI4vrAPWpZRuNmWqMSLggluvfrtld1qkuE5E6dJccII18Jww1goA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYr/eMouNojY3Qq828B63MBsgVk1k0vs6DxMjdbtafRQIgfe/BOmn8ceteJem9x5rX5BLDLbASZ3Bo3FUpnCyncqw="}]},"maintainers":[{"name":"mkleehammer","email":"michael@kleehammer.com"}],"directories":{}},"1.2.0":{"name":"gulp-deporder","description":"Reorder by dependencies","version":"1.2.0","homepage":"http://github.com/mkleehammer/gulp-deporder","repository":{"type":"git","url":"git://github.com/mkleehammer/gulp-deporder.git"},"author":{"name":"michael@kleehammer.com"},"license":"MIT","main":"./index.js","keywords":["gulpplugin"],"engines":{"node":">= 0.4.0"},"scripts":{"test":"mocha"},"dependencies":{"path":"^0.12.7","plugin-error":"^1.0.1","through":"~2.3.4","vinyl":"^2.2.0"},"devDependencies":{"mocha":"*"},"gitHead":"27d285b4b18df659b74a0d3bd33e5615443a3a05","bugs":{"url":"https://github.com/mkleehammer/gulp-deporder/issues"},"_id":"gulp-deporder@1.2.0","_npmVersion":"6.4.1","_nodeVersion":"8.11.2","_npmUser":{"name":"mkleehammer","email":"michael@kleehammer.com"},"dist":{"integrity":"sha512-ouSc/mLApQdYdK43fWrE8C9EwD4n7gfWRdNuWGlq+c2aPd4OR7SEXih5NasGn0e6aITkL/iu5tVWEiWcEJCMug==","shasum":"1f2158399a51869bbe196e41985567962d074039","tarball":"https://registry.npmjs.org/gulp-deporder/-/gulp-deporder-1.2.0.tgz","fileCount":4,"unpackedSize":13200,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2s00CRA9TVsSAnZWagAAwo8QAI5c7M4OOQxt6lDBjtZK\nG1r1sDdIBpegbEw9JoglBlDQJg5plkZudStBQte+U1yzE9UwWCa9C6ygG5Ql\np/ymaoiG/23QtzYFxuClwJlM628qkTYNiy9vmPv+dAkMapZOtdwG9ZFul/tt\nwySOHMq9Kn+cgD4vlY8LlcKl/q2dXcbkg/TxuNUa0vaRrxDQraLV3FT7U+nI\n8THTQMnrgWkbmgpE7A9SGQpx0xeMzHtTbeJdqzS5KFcmLWucWc5PnpHz+/Z0\naGB2voyZtLF7vqZRbWWj9fr0x98OEfWWcW6XeaXeBCoMDhHzgj/93bl0d3JW\nilaAdZWrGUUgsW3FaXjajq+08GwK5ryVNnhgO/upUcClvGTacxlSptWbrlcH\ndGFdFo8jBHHolcIc9nJ/f1LlIkuuYPtPeV8/2kBXDBwb3F6hXVpD+ERnp7v1\ndpxtEH43Z/OPOtctHJqGeRBSnUeVaaa85M8w1K+MilOAjHhCi29vdJow12GT\nMKhiAf4Kv77boCA1ooTrMPrrWFfplem2pQ7dWOLzTE2QwPGfKxO7hGHlRIBg\nPexDyewB1xcMIpPXxRv2KgSurlNWgm8e3+cgxYi7SvKVqu71zCNLEzC17WR3\nFWQBYyfEJ9TqhI7n2QrN0ESNw3M2Um4evZBpakkHdfnmUZS2kL3f5HywfYCl\nsYgT\r\n=SSOg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPs5/+2agnrVUbsbyliMLd4yVFOsdA8KSyjB0ObEZu3gIhAL/egACydvZc7wyw3lOnaPFdtorNy8+NneaaKa/m53wr"}]},"maintainers":[{"name":"mkleehammer","email":"michael@kleehammer.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gulp-deporder_1.2.0_1562853500591_0.26279190095561566"},"_hasShrinkwrap":false}},"readme":"Gulp DepOrder plugin\n====================\n\nThis plugin will reorder JavaScript or CSS files in the stream based on comments at the top of files.\nThis is useful for automatically ordering files before concatenating them without a full-blown dependency system like requirejs.\n\nThe plugin attempts to reorder as little as possible so you can manually order large sets of\nfiles and only use the comments to fine tune.\n\n# How to use\n\n### Gulp\nFor JavaScript files:\n```javascript\nvar deporder = require('gulp-deporder');\nvar concat = require('gulp-concat');\n\ngulp.task('scripts', function() {\n    return gulp.src('./lib/*.js')\n        .pipe(deporder())\n        .pipe(concat('all.js'))\n        .pipe(gulp.dest('./dist/'))\n});\n```\n\nFor CSS files:\n```javascript\nvar deporder = require('gulp-deporder');\nvar concat = require('gulp-concat');\n\ngulp.task('styles', function() {\n    return gulp.src('./lib/*.css')\n        .pipe(deporder())\n        .pipe(concat('all.css'))\n        .pipe(gulp.dest('./dist/'))\n});\n```\n\n### JavaScript\n\nThere is several ways to specify dependencies:\nFirst is single-line:\n``// requires: foo.js bar.js``\nSecond is multi-line if you have lot of dependencies:\n```javascript\n/* requires:\nfoo.js\nbar.js\n*/\n```\n\n### CSS\nSince CSS doesn't support single-line comments, you should only use multi-line comments:\n```css\n/* requires:\nfoo.css\nbar.css\n*/\n```\n\n## Write less, do more\nYou also need know, that all examples above uses ``requires: foo.js``, but you can also use it without trailing \"s\", like ``require: foo.js`` or even without colon like ``requires foo.js`` or ``require foo.js``.\nAnd, of course, in multi-line style you can use spaces to indent your dependencies, like:\n```javascript\n/* require\n  foo/bar.js\n      bar/foo.js\n*/\n```\nAll of those spaces will be cleaned and dependencies are processed correctly.\n\n# LICENSE\n\n(MIT License)\n\nCopyright (c) 2014 Michael Kleehammer <michael@kleehammer.com>\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","maintainers":[{"name":"mkleehammer","email":"michael@kleehammer.com"}],"time":{"modified":"2022-06-18T16:56:40.730Z","created":"2014-03-10T02:20:59.380Z","1.0.0":"2014-03-10T02:20:59.380Z","1.1.0":"2015-05-22T14:21:09.964Z","1.2.0":"2019-07-11T13:58:20.718Z"},"homepage":"http://github.com/mkleehammer/gulp-deporder","keywords":["gulpplugin"],"repository":{"type":"git","url":"git://github.com/mkleehammer/gulp-deporder.git"},"author":{"name":"michael@kleehammer.com"},"bugs":{"url":"https://github.com/mkleehammer/gulp-deporder/issues"},"readmeFilename":"README.md","users":{"joshukraine":true,"luchaninov":true},"license":"MIT"}