Generator dependencies
Swill Boilerplate dependencies
Yeoman generator for Swill Boilerplate
- Clean the assets (build, images, css, js) in the project to maintain the directory organized
- Compress Images
- Generate Sprites with .png
- Generate Sprites with .svg and a .png to fallback
- Analyze CSS with csslint
- Prefix CSS with Autoprefixer
- Compile Sass or Stylus (Catch the Stylus error and direct shows on the page, as in Sass)
- Concatenate And Minify Scripts
- Analyze JavaScript with ESLint
- Compile ES2015
- Notify when tasks are complete
- Monitors change in the files and reload browser with BrowserSync
- Javascript tests with Jasmine and Karma
- Build the project compressing HTML, CSS and JS.
- Push the
build
folder to gh-pages branch
First, install Yeoman and generator-swill-boilerplate
using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-swill-boilerplate
Then generate your new project:
yo swill-boilerplate
Swill Boilerplate Generator is released under the terms of the MIT license.