README
Yeoman generator for a static website
Yeoman generator that scaffolds out a static website.
npm i -g generator-fk-website
Features
- Gulp task-runner
- SCSS with libsass
- Simple Templating
- SMACSS Support
- Normalize CSS
- CSS Pleeease
- Simple Templating
- Built-in preview server with BrowserSync
- Automagically wire up your Bower components with wiredep.
- Image Optimization imageoptim
- Bourbon and Neat
- Usemin
- jQuery 2.x
- Lean Modernizr builds
Getting Started
- Install:
npm install -g generator-fk-website
- Run:
yo fk-website
- Run
gulp
for preview andgulp build --production
for building
Third-Party Dependencies
(HTML/CSS/JS/Images/etc)
Third-party dependencies are managed with wiredep. Add new dependencies using Bower and then run the gulp bower
task to load them:
$ bower install --save jquery
$ gulp bower
This works if the package author has followed the Bower spec. If the files are not automatically added to your source code, check with the package's repo for support and/or file an issue with them to have it updated.
To manually add dependencies, bower install --save depName
to get the files, then add a script
or style
tag to your index.html
or another appropriate place.