{"id":18564935,"url":"https://github.com/michaelschwobe/wordpress-theme-gulp-boilerplate","last_synced_at":"2026-04-06T08:32:17.696Z","repository":{"id":89694202,"uuid":"86621923","full_name":"michaelschwobe/wordpress-theme-gulp-boilerplate","owner":"michaelschwobe","description":"Drop-in Gulp tasks for WordPress theme development.","archived":false,"fork":false,"pushed_at":"2018-01-30T21:29:55.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-15T18:47:31.038Z","etag":null,"topics":["babel","boilerplate","browser-sync","es6-javascript","eslint","gulp","imagemin","less","postcss","sass","wordpress"],"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/michaelschwobe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-03-29T19:35:09.000Z","updated_at":"2017-03-29T19:51:55.000Z","dependencies_parsed_at":"2023-04-26T21:17:50.107Z","dependency_job_id":null,"html_url":"https://github.com/michaelschwobe/wordpress-theme-gulp-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/michaelschwobe/wordpress-theme-gulp-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelschwobe%2Fwordpress-theme-gulp-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelschwobe%2Fwordpress-theme-gulp-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelschwobe%2Fwordpress-theme-gulp-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelschwobe%2Fwordpress-theme-gulp-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaelschwobe","download_url":"https://codeload.github.com/michaelschwobe/wordpress-theme-gulp-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelschwobe%2Fwordpress-theme-gulp-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31464604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["babel","boilerplate","browser-sync","es6-javascript","eslint","gulp","imagemin","less","postcss","sass","wordpress"],"created_at":"2024-11-06T22:16:50.580Z","updated_at":"2026-04-06T08:32:17.691Z","avatar_url":"https://github.com/michaelschwobe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wordpress-theme-gulp-boilerplate\n\n\u003e Drop-in [Gulp](http://gulpjs.com/) tasks for [WordPress](https://wordpress.org/) theme development.\n\n__Includes:__\n\n- Image optimization (imagemin).\n- Less, Sass, and PostCSS processing and minification (sourcemaps, autoprefixer, cssnano).\n- JavaScript linting, compiling, and minification (eslint, babel, uglify).\n- Delivery folder generation - clean and ready for distribution to staging, production, etc.\n\n## Installation\n\n__Step 1:__ Add global packages to your computer.\n\n- Required: [node \u0026 npm](https://nodejs.org/), [gulp-cli](http://gulpjs.com/)\n- Optional: [yarn](https://yarnpkg.com/)\n\n__Step 2:__ Drag these files into your theme folder (or just rename and use the current folder):\n\n- .gitignore\n- gulpfile.babel.js\n- package.json\n- yarn.lock\n\n__Step 3:__ Navigate to your theme directory via CLI and run this script:\n\n```sh\nmkdir src \u0026\u0026 mkdir src/images src/scripts src/styles \u0026\u0026 touch src/images/screenshot.png src/styles/style.css\n```\n\n__Step 4:__ Move pre-existing theme images, styles, and scripts to their respective folders.\n\n__Step 5:__ Install dependencies:\n\n```sh\nyarn\n```\n\n__Optional:__\n\n- Update `.gitignore` with your own settings.\n- Change any source stylesheet extensions to: `.less` or `.scss`.\n- Create a stylesheet for localization: `touch src/styles/rtl.css`\n\n## Configuration\n\nDefault paths and plugin-configurations can be modified to your liking, but anything beyond that may require some Gulp file refactoring. Additional documentation provided via comments within `gulpfile.babel.js`\n\n__Notes:__\n\n- Use a bang to avoid comments from being stripped out of stylesheets, ex: `/*! ... */`\n- Vendor files must have the suffix `.min` to avoid being processed.\n- All Gulp tasks can be run independently, for either environment, ex:\n    - Development: `gulp styles`\n    - Production: `NODE_ENV=production gulp styles`\n\n## Development\n\n1. Start a server running your WordPress project at the default proxy: `localhost:8888`\n2. Run the default script.\n\n__Default script:__\n\nProcesses source files, lints scripts, starts a BrowerSync server on port 3000, and watches for file changes.\n\n```sh\nyarn start\n```\n\n__Other scripts:__\n\nClears cache and deletes everything generated. This is your reset button.\n\n```sh\nyarn run clean\n```\n\nLints JavaScript source files -- including gulpfile.babel.js, excluding files ending with `.min.js`.\n\n```sh\nyarn run lint\n```\n\n## Staging/Production\n\n__Default script:__\n\nProcesses/minifies/moves files to the configured output folder for distribution.\n\n```sh\nyarn run build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelschwobe%2Fwordpress-theme-gulp-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaelschwobe%2Fwordpress-theme-gulp-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelschwobe%2Fwordpress-theme-gulp-boilerplate/lists"}