{"id":16322120,"url":"https://github.com/1999/gulp-order-bemdeps","last_synced_at":"2025-04-09T03:31:15.531Z","repository":{"id":57258410,"uuid":"45659415","full_name":"1999/gulp-order-bemdeps","owner":"1999","description":"Gulp plugin which reorders a stream of files using deps.js files contents","archived":false,"fork":false,"pushed_at":"2019-04-18T18:59:25.000Z","size":652,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-25T21:21:26.014Z","etag":null,"topics":["bem","gulp-plugins","topological-sort"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/1999.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-06T04:34:15.000Z","updated_at":"2018-11-06T23:58:33.000Z","dependencies_parsed_at":"2022-08-25T19:12:37.812Z","dependency_job_id":null,"html_url":"https://github.com/1999/gulp-order-bemdeps","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1999%2Fgulp-order-bemdeps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1999%2Fgulp-order-bemdeps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1999%2Fgulp-order-bemdeps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1999%2Fgulp-order-bemdeps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1999","download_url":"https://codeload.github.com/1999/gulp-order-bemdeps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223362248,"owners_count":17133066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bem","gulp-plugins","topological-sort"],"created_at":"2024-10-10T22:50:02.772Z","updated_at":"2024-11-06T15:11:44.496Z","avatar_url":"https://github.com/1999.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gulp-order-bemdeps\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/1999/gulp-order-bemdeps.svg)](https://greenkeeper.io/)\n\n[![Build Status](https://img.shields.io/travis/1999/gulp-order-bemdeps.svg?style=flat)](https://travis-ci.org/1999/gulp-order-bemdeps)\n[![Dependency Status](http://img.shields.io/david/1999/gulp-order-bemdeps.svg?style=flat)](https://david-dm.org/1999/gulp-order-bemdeps#info=dependencies)\n[![DevDependency Status](http://img.shields.io/david/dev/1999/gulp-order-bemdeps.svg?style=flat)](https://david-dm.org/1999/gulp-order-bemdeps#info=devDependencies)\n\nGulp plugin which reorders a stream of files using deps.js files contents. If you're not familiar with what BEM is or what deps.js files are used for, [this link](https://en.bem.info/technology/deps/about/#depsjs-syntax) is for you.\n\nPost on Medium.com: https://medium.com/@1999/bem-more-than-methodology-less-than-technology-4b66c42da6ef\n\n# Install\n\n```\nnpm install gulp-order-bemdeps --save-dev\n```\n\n# Basic Usage\n\n```javascript\n'use strict';\n\nlet gulp = require('gulp');\nlet sass = require('gulp-sass');\nlet bemDepsOrder = require('gulp-order-bemdeps');\n\ngulp.task('css', () =\u003e {\n    gulp\n        .src([\n            'app/blocks/**/*.scss',\n            'bower_components/bem-core/**/*.css',\n            'app/ymodules/**/*.scss'\n        ])\n        .pipe(bemDepsOrder(gulp.src([\n            'app/**/*deps.js'\n        ])))\n        .pipe(concat(\"all.css\"))\n        .pipe(sass().on('error', sass.logError))\n        .pipe(gulp.dest(\"./\"));\n});\n```\n\n## Options\nThe only argument is stream of vinyl deps.js files. Use `gulp.src()` for this.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1999%2Fgulp-order-bemdeps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1999%2Fgulp-order-bemdeps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1999%2Fgulp-order-bemdeps/lists"}