Skip to content

Entermedia-LLC/gulp-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-starter Build Status

Rapidly setup gulp with pre-built tasks that help enforce coding standards, provide backwards compatibility, generates documentation & helps boost performance.

  • CMS agnostic for maximum flexibility
  • Supports ECMAScript 2015+ code using Babel
  • Uses Sass to compile CSS & cssnano to compress files
  • Automatically adds CSS vendor prefixes using autoprefixer
  • Helps keep SCSS & CSS consistant using best practices using stylelint
  • Lints JS files using eslint, auto formats using Prettier & minifies using gulp-minify
  • Generates source maps using gulp-sourcemaps
  • Minifies images using imagemin, including webp conversions
  • Parses and outputs TODOs and FIXMEs from code comments to a TODO.md file using gulp-todo

Project setup

npm install

If using Entermedia's SCSS base project styles and after downloading to src/scss, run:

npm install --legacy-peer-deps

Compiles for development

npm run dev

Compiles for development & watches for file changes

npm run watch

Compiles & minifies for production

npm run build