gulp-wp-theme

WordPress Theme Project Templates for Gulp

Usage no npm install needed!

<script type="module">
  import gulpWpTheme from 'https://cdn.skypack.dev/gulp-wp-theme';
</script>

README

gulp-wp-theme

gulp-wp-theme, namely gulp Wordpress Theme, is a build system made with gulp for programming and compiling WordPress Themes using browserify and CSS precompilers.

It includes the following tools, tasks, and workflows:

  • Browserify (with browserify-shim) – Make modularized JavaScript in a node like manner and output different bundles.
  • Watchify – caching version of browserify for super fast rebuilds)
  • Stylus – CSS precompiler and syntax
  • BrowserSync – for live reloading and a static server
  • A bump task to update the version numbers of your theme.
  • A changelog task to pull out a HTML changelog you could use to build into your themes configuration or the WordPress dashboard.
  • Image and SVG optimization
  • Error Notifications in Notification Center
  • Pre configured global WordPress jQuery for use with browserify
  • Different configs for development, production and user specific environment

How to use

Take a look at the documentation.

Contribution

We are open for any contribution to this project as long it's useful in WordPress Theme projects. Our projects are dog food proven, means we use it in our daily projects.