Gulp Toolkit
A collection of gulp tasks for generate static sites.
Multi project support feature is dropped at v3
Usage
# installnpm i gulp-cg-toolkit
// simplest gulpfile.jsconst gulp =gulp// gulpfile.js with custom configconst gulp =const pkg =gulpname: pkgnameversion: pkgversionpages: "./src/my-pages"partials: "./src/may-partials"
Default Configuration
Functions
gulp serve
serve using browser-syncgulp clean
clean dist folder, all files will be deletedgulp build
run handlebars scss and staticgulp build:hbs
build handlebars templatesgulp build:scss
build scss filesgulp build:files
copy all contents of the files folder in dist root
Credits
File stracture and some tasks are inspired or copied from gulp-wp-toolkit
License
MIT License