Minimal Gulp 4 boilerplate with Babel, Sass, ESLint, Live Reload, and development/production optimization.
git clone git@github.com:renansigolo/gulp-boilerplate.git
npm i
npm start
npm run build
gulp
- The streaming build system.
@babel/core
- Transpile ES6+ to backwards compatible JavaScript.@babel/preset-env
- Smart defaults for Babel.
browser-sync
- Keep multiple browsers & devices in sync when building websites.cssnano
- A modular minifier, built on top of the PostCSS ecosystem.del
- Delete files and directoriesgulp-autoprefixer
- Prefix CSSgulp-babel
- Gulp plugin for Babelgulp-concat
- Streaming concat middleware for gulpgulp-eslint
- A Gulp plugin for identifying and reporting on patterns found in ECMAScript/JavaScript code.gulp-htmlmin
- Minify HTMLgulp-imagemin
- Minify PNG, JPEG, GIF and SVG imagesimagemin-guetzli
- Imagemin plugin for guetzliimagemin-pngquant
- Imagemin plugin for pngquant
gulp-postcss
- Pipe CSS through PostCSS processors with a single parsegulp-rename
- Rename files easilygulp-sass
- SASS plugin for gulpgulp-sitemap
- Generate a search engine friendly sitemap.xml using a Gulp streamgulp-sourcemaps
- Sourcemap support for gulpjs.gulp-uglify
- Minify files with UglifyJS
- Generate your
site.manifest
file at Web App Manifest Generator - Generate your
favicons
at RealFaviconGenerator
- A huge thanks to Tania Rascia 👍🏻
This project is open source and available under the MIT License.