gulp-drupal-stack

3.3.0 • Public • Published

Gulp Drupal Stack

gulp-drupal-stack-banner

Maintenance Gitter travis Documentation Status

This stack core is to be included in your main project and sets up many Gulp tasks that can work in many flexible ways by passing in different config objects, which can be based off of gulpfile.default.yml (and is merged with).

Features

  • SCSS => CSS compiling with LibSass, PostCSS, linting, CSScomb(x), and SourceMaps
  • JS compiling via Babel, linting and aggregation
  • webpack module bundling
  • SVG => Font Icons compiling with support for adding mixins and classes to SCSS along with a demo page
  • Drupal file watching to trigger Drush cache clears
  • Copy any files to an other location
  • Sprite generator (with Retina Display support)

All is easily configurable by changing values in your gulpfile.yml file in your project. These values are merged into the gulpfile.default.yml file - look there for the available options and defaults.

Documentation

Full documentation is available here.

TODO

  • Browsersync live reload and style injection (should be OK, not tested)
  • Images => Images optimization (to validate)
  • JS specs => JS tests using Karma

Contributing

Have a look at the Contributing section. If you have any question feel free to discuss about it on our Gitter.

Credits

Original project from p2-theme-core.

License

MIT (original license)

Readme

Keywords

Package Sidebar

Install

npm i gulp-drupal-stack

Weekly Downloads

1

Version

3.3.0

License

MIT

Unpacked Size

156 kB

Total Files

44

Last publish

Collaborators

  • ovh-ux-cds