diff --git a/Gruntfile.js b/Gruntfile.js index 3e38fe4..1a26616 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -111,6 +111,14 @@ module.exports = function (grunt) { concat: { generated: { + // Will be generated with usemin:html + nonull: true + } + }, + + cssmin: { + generated: { + // Will be generated with usemin:html nonull: true } }, @@ -118,6 +126,7 @@ module.exports = function (grunt) { // Minify and concatenate bansho in one file uglify: { generated: { + // Will be generated with usemin:html nonull: true }, options: { @@ -168,6 +177,7 @@ module.exports = function (grunt) { 'useminPrepare:html', 'concat:generated', 'uglify:generated', + 'cssmin:generated', 'usemin:html' ]); }; diff --git a/app/index.html b/app/index.html index 4d150de..3c50701 100644 --- a/app/index.html +++ b/app/index.html @@ -10,11 +10,13 @@ - - + + + + diff --git a/package.json b/package.json index 44a2397..5c02f6c 100644 --- a/package.json +++ b/package.json @@ -8,20 +8,21 @@ "bower": "^1.3.1", "grunt": "^0.4.5", "grunt-cli": "^0.1.13", + "grunt-contrib-clean": "~0.6.0", + "grunt-contrib-concat": "~0.5.1", + "grunt-contrib-copy": "~0.8.0", + "grunt-contrib-cssmin": "^0.12.3", + "grunt-contrib-jshint": "~0.11.2", "grunt-contrib-sass": "^0.8.1", + "grunt-contrib-uglify": "~0.8.0", "grunt-contrib-watch": "^0.6.1", + "grunt-usemin": "~3.0.0", "http-server": "^0.6.1", "karma": "~0.10", "karma-junit-reporter": "^0.2.2", - "protractor": "^1.1.1", - "shelljs": "^0.2.6", - "grunt-contrib-uglify": "~0.8.0", - "grunt-usemin": "~3.0.0", - "grunt-contrib-concat": "~0.5.1", - "grunt-contrib-clean": "~0.6.0", - "grunt-contrib-copy": "~0.8.0", "load-grunt-tasks": "~3.1.0", - "grunt-contrib-jshint": "~0.11.2" + "protractor": "^1.1.1", + "shelljs": "^0.2.6" }, "scripts": { "postinstall": "bower install",