A static template for HTML5, CSS3, JS run with Gulp
First, do not forget to install Node.js and Yarn. After downloaded the repository, install the node_modules with :
yarn install
To run the app, run this command in your terminal :
yarn run dev
Then browser-sync should start and you should be able to see the app.
To build it, run this command in your terminal :
yarn run build
- BrowserSync : time-saving synchronised browser testing.
- Clean : Delete the dist repo before each build
- Style task : use sass, notify errors, autoprefixer, csscomb and sourcemaps
- Javascript : use browserify, handle errors, minify
- Srcset : create responsive images sizes. This task isn't include in watcher, must be launch by ourselves
- Images : images optimisation for .png, .jpg, .svg & .gif
- File include : plugin that allows to include HTML file to separate code.
This repository is under MIT Licence.