- Able to assemble html, sass, images, fonts
- Uses gulp-rigger to include html-chunks
- Generates svg sprite
- Uses stylelint to lint scss
- All errors are printed to the console
- Adds vendor prefixes
- Optimizes images
- Merges same media queries
- Minifies build files
If you are a Windows user please execute this command in your terminal
npm install --global windows-build-tools
If you are a Linux user please execute this command in your terminal
sudo apt-get install gcc g++ make
- Download, clone or fork this repo
- In terminal, navigate to the repo's root folder
- Run
npm install
, this will install all dependencies and get rid of junk files - After all deps are installed, start developement with
npm start
- Executing
npm run build
will prepare your project for deployment - Executing
npm run sprite
will rebuild svg sprite - Executing
npm run images
will rebuild non sprite images
- Put all styles in
src/sass
and import everything instyles.scss
- Put images in
src/images
folder - If you need a svg sprite, put all svg files in
src/images/icons
, while naming themicon-[name].svg
. Filename will be used as a symbolid
- Put fonts in
src/fonts
folder - Pull all html chunks to be processed by rigger in
src/html
If you've found a bug or would like to propose an update, make a fork of this repo and open a pull request with some comments about an update. Thx!