This Gulp boilerplate provides a starter kit to compile SCSS and JS files and create your sites using TWIG.JS as a templating system. It supporting ES6 features.
- SCSS compilation
- SCSS minification
- SCSS Autoprefixer
- Font copy to dest folder
- Javascript ES6 transpilation
- Image optimization
- SVG minification
- Changes watcher
- CSS and JS Linterns
- Templating with TWIG.JS
- CRP styles creation
- Browsersync
Clone the project and install using yarn or npm
$ git clone https://github.com/josesentis/gulp-boilerplate.git your-repo-name
$ cd your-repo-name
$ yarn / npm install
$ yarn start / npm run start
src/assets- Javascript, SCSS, fonts and image filessrc/views- Twig Files. Gulp compiles twigs found in the root folder.dist/css- Compiled and minified asset files.dist/jsdist/img