A grunt coffee/less/live-reload/cssmin/uglify/connect/angular/bootstrap/jquery/underscore boilerplate.
npm i -g grunt-cli releasy cd speedbag npm i grunt
Have fun! Changes to your coffee, less or html files will reload the page automatically. Nice.
The compiled files can be found in the
Distributable build (minifies, etc.)
The deploy-ready files can be found in the
src- most of your files will be here.
script- CoffeeScript and JS source files
style- CSS and LESS source files
templates- Knockout JS style templates examples
partials- Angular templates examples
i18n- Translations for usage with ng-translate
index.html- Your app entry point.
Gruntfile.coffee- This is the configuration file for grunt. Contains all the build tasks.
build- this folder will be created after you run a grunt task.
The Speedbag Gruntfile is actually quite empty.
This is because all tasks are defined in the meta-project grunt-vtex.
If you want to contribute an improvement to a task, please do so on that repo.
Your Gruntfile should only contain customizations that are very specific to your project.
VTEX - 2014