/gulpfile

A collection of common gulp tasks.

Primary LanguageJavaScriptMIT LicenseMIT

gulpfile

A collection of common gulp tasks.

What is this

It is exactly that. A reusable library of gulp tasks, that can be used in any project by installing it as a dependency.

The idea is to only have to write the tasks once and distribute them over multiple projects. By doing so, it only requires a minimum amount of boilerplate code to set the tasks up as needed. The aim is to speed up development by shortening the time usually needed to set up a build-pipeline for frontend dependencies.

Disclaimer!

Some configuration cannot be changed and is opinionated. The provided tasks may not fit every use-case.

How to install

The installation process is pretty straight forward:

npm install --save-dev @gameplayjdk/gulpfile

What is included

Asset Unit Feature
Style Scss compilation
Source minification
Sourcemap generation
Script Source concatenation
Source minification
Sourcemap generation
Data Just copying
Image File minification
Image responsive Responsive format generation

For more information, have a look at the package.json file.

How to use

You can find an example gulpfile using this package inside the example/ folder of this repository.

Some day a blog post about this may be linked here...

Further reading

This is a list of articles that I found very useful to get started with the basic gulp tasks included in this library.

License

It's MIT, as usual.