generator-yawa
v0.5.0
Published
Scaffold out a front-end web app
Downloads
31
Maintainers
Readme
Yet Another Web App Generator
Yeoman generator that scaffolds out a front-end web app, based on the official webapp generator.
Dependencies
This project depends on a few others that needs to be installed seperatly :
- To run
yo
(install :npm install -g yo
)
- To be usefull (ie: to run the project scaffolded with it)
grunt
(install :npm install -g grunt-cli
)compass
(install :gem install compass
)
Features
- Assemble
- CSS Autoprefixing (new)
- Built-in preview server with LiveReload
- Automagically compile CoffeeScript & Compass
- Automagically lint your scripts
- Automagically wire up your Bower components. Supported both with and without (new) RequireJS.
- Awesome Image Optimization (via OptiPNG, pngquant, jpegtran and gifsicle)
- Mocha Unit Testing with PhantomJS
- Optional - RequireJS
- Optional - Bootstrap for SASS
- Optional - Leaner Modernizr builds
- Optional - GroundworkCSS : a fully responsive HTML5, CSS and Javascript toolkit created by @ghepting.
For more information on what generator-yawa
can do for you, take a look at the Grunt tasks used in our package.json
.
Getting Started
- Install:
npm install -g generator-yawa
- Run:
yo yawa
- Run
grunt build
for building andgrunt server
for preview
Options
--skip-install
Skips the automatic execution of
bower
andnpm
after scaffolding has finished.--test-framework <framework>
Defaults to
mocha
. Can be switched for another supported testing framework likejasmine
.
TODO
- Investigate other template engine integration (Dust.js, Underscore, Jade...) using Assemble (or not).
Contribute
If you find a bug or woud like to see a new feature added, please fill an issue here on github or even better, send a pull request.
Author
YAWA Generator is brought to you by Jeremie Parker and made possible by the awsome work of all the opensource community around Yeoman, Grunt, Bootstrap, Groundwork etc...