Simpler version of Web app generator
Yeoman generator that scaffolds out a front-end web app using gulp for the build process
- Initial prompt (Modernizr, Bootstrap)
- jQuery
- Analytics from index.html template
Please see our gulpfile.js for up to date information on what we support.
- CSS Autoprefixing
- Built-in preview server with livereload and browser synchronization (new)
- Automagically compile Sass
- Automagically lint your scripts
- Awesome image optimization
- Automagically wire-up dependencies installed with Bower (when
gulp watch
orgulp wiredep
)
For more information on what this generator can do for you, take a look at the gulp plugins used in our package.json
.
- Install:
npm install -g generator-simpler-gulp-webapp
- Run
yo simpler-gulp-webapp
- Run
gulp
for building to thedist
directory andgulp serve
for preview
(HTML/CSS/JS/Images/etc)
To install dependencies, run bower install --save package-name
to get the files, then add a script
or style
tag to your index.html
or another appropriate place.
We have recipes for integrating other popular technologies like CoffeeScript.
-
--skip-install
Skips the automatic execution ofbower
andnpm
after scaffolding has finished. -
--test-framework=<framework>
Defaults tomocha
. Can be switched for another supported testing framework likejasmine
.