0.2.2 • Published 10 years ago
generator-fk-website v0.2.2
Yeoman generator for a static website
Yeoman generator that scaffolds out a static website.
npm i -g generator-fk-websiteFeatures
- 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
gulpfor preview andgulp build --productionfor 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 bowerThis 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.