bmarshall511 / gulp_starter
Rapidly setup gulp with pre-built tasks that help enforce coding standards, provide backwards compatibility, generates documentation & helps boost performance.
Installs: 89
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Language:JavaScript
This package is auto-updated.
Last update: 2022-08-29 18:18:52 UTC
README
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
- Self-documents SCSS files using sassdoc
- 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
TODO
s andFIXME
s from code comments to aTODO.md
file using gulp-todo
Project setup
npm install
Compiles for development
npm run compile
Compiles for development & watches for file changes
npm run watch
Compiles & minifies for production
npm run build