1.0.0 • Published 4 years ago

@gameplayjdk/gulpfile v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

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 UnitFeature
StyleScss compilation
Source minification
Sourcemap generation
ScriptSource concatenation
Source minification
Sourcemap generation
DataJust copying
ImageFile minification
Image responsiveResponsive 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.