#Grunt boilerplate with Jasmine
A bare bones project with a grunt build process that gets you up and running with:
- Sass
- autoprefixer
- CSSLint
- JSHint - enforcing the Airbnb JavaScript Style Guide
- Jasmine unit tests (including jasmine-jquery) in a headless browser from the command line and/or in a real browser
- Generating production files and deploying files to GitHub Pages
Start by installing the required node modules:
npm install
You can then run the following tasks:
grunt server
- Start a server and run tests when files changegrunt test
- Run tests in the consolegrunt test:browser
- Run tests in a browsergrunt release
- Generate files, runs tests, build to dist and copy files to gh-pages branchgrunt clean
- Delete all generated and temporary filesgrunt version
- Shows version number
The generated production files are visible on Github Pages at http://aduggin.github.io/grunt-boilerplate-with-jasmine/
CSSLint, JSHint and the Jasmine Unit Tests are run on Travis CI