Skip to content

A Gulp task collection for WordPress themes and plugins.

License

Notifications You must be signed in to change notification settings

somoscuatro/gulp-wordpress

Repository files navigation

Gulp WordPress

A Gulp task collection for WordPress themes and plugins.

✨ Features

  • Future JS in your hands — thanks to Browserify and Babel, you can write beautiful ES6 and ES7 JS since now.
  • A lint to rule them all — You can not do it wrong! Stylelint and ESLint are here to help you to code it cleanly.
  • It's so tiny! - Every single line of JavaScript and CSS is concatenated and minified. Your pages will load super fast!
  • GoogleFonts injector - Just list which Google Fonts you want to use and they're automatically inject. Magic, no?

💻 Requirements

  1. Node >= 12 and NPM >= 6
  2. Gulp CLI >= 2.x

⚡ Quickstart

  1. Install Gulp WordPress with yarn add --dev @somoscuatro/gulp-wordpress.
  2. Create a gulpfile.js in the root of your project and require the gulp-wordpress package (see sample.gulpfile.js).
  3. Finally, simply run gulp to build your assets.

🔧 Change default configuration

It's possible to change the default configuration by copying config.js file into your project root directory.

🏗️ How to contribute

Any kind of contribution is very welcome!

Please, be sure to read our Code of Conduct before start contributing.

If you notice something wrong please open an issue or create a Pull Request or just send an email to bugs@somoscuatro.es. If you want to warn me about an important security vulnerability, please use the GitHub Security page.

✏️ License

0BSD License © somoscuatro.