"Front-End Ops is the bridge between an application’s intent and an application’s reality." - Alex Sexton
===
grunt
- run all the default grunt tasks
===
grunt tasks
- List available Grunt tasks using Grunt-Available-Tasks===
grunt test
- Run all testing tasksgrunt test-js
- run only JS testing tasks
grunt jshint
- Validate JS files with JSHint using Grunt-contrib-jshintgrunt test-html
- Validate HTML files with HTML Inspector using HTML inspector via Grunt-html-inspectorgrunt test-css
- run all stylesheet testing tasks
grunt scsslint
- Lint SCSS files to a specific coding standard using scss lint via Grunt-Shell grunt csslint
- Lints CSS files using csslint via Grunt css lintgrunt csscss
- Analyzes CSS files for redundancy and identifies duplicate CSS slectors and rule-sets using CSSCSS via Grunt-csscssgrunt uncss
- Identifies and removes unused CSS using Grunt-uncss===
grunt styleguide
- Re-generate style guide and run all style guide tests
grunt dexy
- Re-generate style guide with Dexy via Grunt-Shell and Grunt-contrib-copygrunt hardy
- run style guide compliance tests with Hardy via Grunt-Shellgrunt wraith
- run visual regression tests with Wraith via Grunt-Shell===
grunt css-metrics
- Analyze CSS files and log simple metrics using Grunt-css-metricsgrunt css-stats
- Analyze CSS files and log simple stats using
css-stats-ack.sh via Grunt-Shell===
grunt browserstack
- Start a BrowserStack tunnel using Comming Soon, see: issue 55===
grunt build
- run all build tasks
grunt cmq
- Combine matching media queries using Grunt-combine-media-queries===
grunt throttle
- Run bandwidth throttled performance tests using Grunt-Throttlegrunt yslow
- Run performance test with the YSlow Library using Grunt-Yslowgrunt page-speed
- Run performance test with google page-speed insights using Grunt-pagespeedgrunt byte-size
- Output the file size and gzip size of files using Grunt-Bytesizegrunt phantomas
- Output PhantomJS-based web performance metrics using Phantomas===
Additional resources and alternative modules/tools that didn't fit into my current workflow, but may be useful down the road or are worth keeping an eye on. If I've left something out that you feel would be a value add, please file an issue or PR.
© Kwale Design - Original source code dual licensed under MIT license / GPL2 license. Open-sourced projects used within this project retain their original licenses.