Web Project Base - Grunt tasks setup
The project has setup default Grunt tasks.
The Web Project Base requires the following dependencies.
npm install
The project is based on a source and a dist folder. The project consists of the following Grunt Tasks:
- grunt
- grunt-contrib-clean
- grunt-contrib-connect
- grunt-contrib-copy
- grunt-contrib-htmlmin
- grunt-contrib-jshint
- grunt-contrib-sass
- grunt-contrib-uglify
- grunt-contrib-watch
- grunt-autoprefixer
- grunt-html-build
- grunt-json-minify
- grunt-jsonlint
- grunt-modernizr
- grunt-newer
- load-grunt-tasks
- time-grunt
- Jshint Lint
- Json Lint
- Sass Source Maps
- Sass Style extended
- Css Autoprefixer
- Modernizr Build
- htmlbuild
- Jshint Lint
- Javascript concat
- Uglify Javascript
- Javascript Source Maps
- Json Lint
- Json Minify
- Sass Source Maps
- Sass Style compressed
- Css Autoprefixer
- Modernizr Build
- htmlbuild
- HTML Minification
To run project for development
grunt
To run build for production:
grunt prod -env=prod
To run project for production, after build for production:
grunt run
To run unit tests
grunt ut --browser=PhantomJS
To run E2E tests
grunt e2e
-
1.0.0: Initial Release
-
1.0.1: (2014-07-06)
- Added Karma for unit tests.
- Added Protactor for E2E tests in non AngularJS site.
- Added grunt usemin