Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/somoscuatro/gulp-wordpress

A Gulp task collection for WordPress themes and plugins.
https://github.com/somoscuatro/gulp-wordpress

Last synced: 4 days ago
JSON representation

A Gulp task collection for WordPress themes and plugins.

Awesome Lists containing this project

README

        

# Gulp WordPress

A Gulp task collection for WordPress themes and plugins.

## :sparkles: 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?

## :computer: Requirements

1. [Node >= 12 and NPM >= 6](https://nodejs.org/it/)
1. [Gulp CLI >= 2.x](https://gulpjs.com/)

## :zap: Quickstart

1. Install Gulp WordPress with `yarn add --dev @somoscuatro/gulp-wordpress`.
1. Create a `gulpfile.js` in the root of your project and require the `gulp-wordpress` package (see [sample.gulpfile.js](https://github.com/somoscuatro/gulp-wordpress/blob/master/sample.gulpfile.js)).
1. Finally, simply run `gulp` to build your assets.

## :wrench: Change default configuration

It's possible to change the default configuration by copying [`config.js`](https://github.com/somoscuatro/gulp-wordpress/blob/master/config.js) file into your project root directory.

## :building_construction: How to contribute

Any kind of contribution is very welcome!

Please, be sure to read our [Code of Conduct](https://github.com/somoscautro/gulp-wordpress/blob/master/CODE_OF_CONDUCT) before start contributing.

If you notice something wrong please [open an issue](https://github.com/somoscuatro/gulp-wordpress/issues) or create a [Pull Request](https://github.com/somoscuatro/gulp-wordpress/pulls) or just send an email to [[email protected]](mailto:[email protected]). If you want to warn me about an important security vulnerability, please use [the GitHub Security page](https://github.com/somoscuatro/gulp-wordpress/security).

## :pencil2: License

[0BSD License](https://github.com/somoscautro/gulp-wordpress/blob/master/LICENSE) © [somoscuatro](https://somoscuatro.es).