v 5.7.5
- All sources are placed within the
/bin/
folder. - All compiled filed are genrated in the
/dist
folder. - Tasks are coded for GulpJS.
- Single tasks are splitted in part files, placed in the folder
/gulp-tasks/
. - NodeJS packages are specified within the
package.json
file. - SASS preprocessor
- CSS rule are specified for mobile first
- node : 6.11.2
- npm : 3.10.10
- With a command console, move to the framework's root folder. Where the
gulpfile.js
file is. - Install all dependencies executing the following command
$ npm install
- The framework's main parameters à located in the
params.json
file
- Build of ModernizR.
- Favicons files generator, based on one single file located at
/bin/favicon.png
. - Imagesize sould be at least 260x260.
- Build HTML Templates located at
/bin/html/
. - index.html automatic generation
- Destination Folder located at
dist/
.
- SASS compilation from files located at
/bin/sass/
. - Code verification with stylelint.
- Media queries concatenation.
- CSS minification.
- ESlint from files located at
/bin/scripts/
. - Javascript concatenation from files located at
/bin/scripts/
. - Javascript minification.
- Javascript documentation from files located at
/bin/scripts/
.
- Styleguide generation with sc5styleguide plugin.
- Styleguide syntax is KSS.
- Destination Folder located at
styleguide/
. - Exports HTML parts to
/bin/html/components/
, ready to include.
- Icons located at
/bin/icons/
, as SVG format, are encoded in base64. - The generation is based on a
/bin/icons/_icons.scss
template withlodash
langage variables. - A SASS file with the datas is generated in the
bin/sass/_theme-placeholders/_icons.scss
.
- Encodes custom fonts into base 64 file within the main stylesheet
- Minify and copy images from
bin/img/
to/img/
. - JPG, PNG, GIF and SVG files are supported.
- Copy all assets to an optional theme folder (null, therefore bypassed, by default.)
- Delete selected files
- Executes all the routines necessary to build the whole framework functionalities
- Executes core routines just for VM deployment bash
- Watch
/bin/sass/**/*.scss
files changes, and applygulp styleguide
andgulp copy
. - Watch
/bin/js/**/*.js
files changes, and applygulp scripts
. - Watch
/bin/icons/*.svg
files changes, and applygulp icons
. - Watch
/bin/img/**/*
files changes, and applygulp images
.