{"id":15011471,"url":"https://github.com/lucien144/gulp-devstack","last_synced_at":"2025-10-03T20:32:05.720Z","repository":{"id":29415411,"uuid":"32950979","full_name":"lucien144/gulp-devstack","owner":"lucien144","description":"⚡️ Personal gulp stack for frontend development.","archived":true,"fork":false,"pushed_at":"2018-12-07T14:44:49.000Z","size":160,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"dev","last_synced_at":"2025-01-20T07:47:36.169Z","etag":null,"topics":["autoprefixer","babel","browsersync","gulp","lesscss","pug","pugjs","spritesmith"],"latest_commit_sha":null,"homepage":"http://144.wtf","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lucien144.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-26T20:46:31.000Z","updated_at":"2023-01-28T01:17:24.000Z","dependencies_parsed_at":"2022-09-06T18:11:59.096Z","dependency_job_id":null,"html_url":"https://github.com/lucien144/gulp-devstack","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucien144%2Fgulp-devstack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucien144%2Fgulp-devstack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucien144%2Fgulp-devstack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucien144%2Fgulp-devstack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucien144","download_url":"https://codeload.github.com/lucien144/gulp-devstack/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235184546,"owners_count":18949260,"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":["autoprefixer","babel","browsersync","gulp","lesscss","pug","pugjs","spritesmith"],"created_at":"2024-09-24T19:41:08.145Z","updated_at":"2025-10-03T20:32:00.417Z","avatar_url":"https://github.com/lucien144.png","language":"CSS","readme":"# Gulp Devstack\n\n⚡️ Personal gulp stack for frontend development.\n\n## Features\n\n- HTML served as [PUG](https://pugjs.org)s\n- Javascript: Babelify + Browserify with uglify \u0026 sourcemaps =\u003e [latest ES preset](https://babeljs.io/docs/plugins/preset-latest/)\n- Styles: LESS + autoprefix + [glob plugin](https://github.com/just-boris/less-plugin-glob)\n\t- Pre-defined breakpoints\n\t- Structured LESS\n\t- [HTML5 reset](https://github.com/murtaugh/HTML5-Reset)\n\t- Custom mixins\n\t- Autoprefix: \u003e 1%, 2 latest versions\n- Images: sprites w/ [gulp.spritesmith](https://github.com/twolfson/gulp.spritesmith)\n- [Browser-sync](https://browsersync.io/)\n- Mac OS X notifications on error and success\n\n## Installation \u0026 run\n\n### Installation\n\n- `npm i`\n\n### Commands\n\n| Command | Definition |\n|---------|------------|\n| `gulp` / `gulp default` | Watching files, compile and livereload. |\n| `gulp build` | Build assets for production |\n| `scripts` | Build scripts. |\n| `sprites` | Generate PNG sprites. |\n| `svg` | Generate SVG sprites. |\n| `styles` | Compile LESS. |\n| `html` | Watch HTML. |\n| `watch` | Watch. |\n| `set-build-env` | Set ENV to production.  |\n\n\n### Sprites\n\nSprites are created in pseudo element `:before`. Sprites are fully responsive, important is to keep the icon/image ratio when resizing.\n\n```\n\u003ca class=\"ico-fb\"\u003eFacebook\u003c/a\u003e -\u003e expecting to have ico-fb.{png|svg}, showing icon and text.\n\u003ca class=\"sprite ico-fb\"\u003e\u003cspan\u003eFacebook\u003c/span\u003e\u003c/a\u003e -\u003e expecting to have ico-fb.{png|svg}, showing only icon and hiding text.\n\u003ca class=\"sprite sprite--center ico-fb\"\u003e\u003cspan\u003eFacebook\u003c/span\u003e\u003c/a\u003e -\u003e expecting to have ico-fb.{png|svg}, showing only icon and hiding text, centered in all directions.\n```\n\nIf you create files `sprite.svg` and `sprite-hover.svg`, the `:hover` is added automatically.\n\n### Mixins / pre-defined classes\n\n| Mixin / Class | Definition |\n|---------------|------------|\n| `.skir` | Scott Kellum Image Replacement |\n| `.font-antialiasing()` | Alias for `-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;` |\n| `.top-left(top: 0, left: 0, z-index: '', position: absolute)` | |\n| `.top-left-f(...)` | Alias for fixed position. |\n| `.top-right(...)` | |\n| `.bottom-left(...)` | |\n| `.bottom-right(...)` | |\n| `.size(@width: auto, [@height: auto])` | Example: .size(10px); .size(10px, 10px); |\n| `.pseudo(@display: inline-block)` | Alias for `display: @display; content: \"\";` |\n| `.bg(@image, @position: 0 0, @repeat: no-repeat, @color: transparent)` | |\n| `.bgc(@color: #fff)` | |\n| `.test(@c: red)` | |\n| `.triangle-t(@width, @height, @color)` | Makes top triangle. ▲ |\n| `.triangle-b(...)` | Makes bottom triangle. ▼ |\n\n## Todo\n- [x] livereload ⃕ browser-sync ?\n- [ ] [less-plugin-npm-import](https://github.com/less/less-plugin-npm-import) ?\n- [x] [gulp-if](https://www.npmjs.com/package/gulp-if), [gulp variables](http://stackoverflow.com/questions/27253597/is-it-possible-to-assign-a-variable-in-a-gulp-task-before-running-dependencies)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucien144%2Fgulp-devstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucien144%2Fgulp-devstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucien144%2Fgulp-devstack/lists"}