diff --git a/package.json b/package.json index 7add76f..d3376c6 100644 --- a/package.json +++ b/package.json @@ -28,17 +28,18 @@ "test": "grunt test" }, "dependencies": { - "async": "~0.9.0", - "globby": "^0.1.1", - "js-beautify": "~1.5.4", - "lodash": "~2.4.1", - "underscore.string": "~2.3.3" + "async": "^3.2.4", + "globby": "^11.1.0", + "js-beautify": "^1.14.0", + "lodash": "^4.17.21", + "underscore.string": "^3.3.6" }, "devDependencies": { "assemble": "~0.4.27", "grunt": "~0.4.2", "grunt-contrib-clean": "~0.5.0", "grunt-contrib-jshint": "~0.7.2", + "grunt-readme": "^0.4.5", "mocha": "*", "verb": ">= 0.2.6" }, @@ -58,4 +59,4 @@ "prettifier", "prettify" ] -} \ No newline at end of file +} diff --git a/tasks/prettify.js b/tasks/prettify.js index 9a06b84..9e4a499 100644 --- a/tasks/prettify.js +++ b/tasks/prettify.js @@ -12,7 +12,6 @@ */ var fs = require('fs'); -var path = require('path'); var glob = require('globby'); var prettify = require('js-beautify').html; var _str = require('underscore.string'); @@ -138,4 +137,4 @@ module.exports = function (grunt) { return str; }; -}; \ No newline at end of file +}; diff --git a/test/actual/custom_indentation/gist.html b/test/actual/custom_indentation/gist.html index a3a966e..1ecfcca 100644 --- a/test/actual/custom_indentation/gist.html +++ b/test/actual/custom_indentation/gist.html @@ -53,9 +53,7 @@ grunt.fail.warn('HTML prettification failed.'); } }; -

-
-

+


diff --git a/test/actual/defaults/gist.html b/test/actual/defaults/gist.html index a3a966e..1ecfcca 100644 --- a/test/actual/defaults/gist.html +++ b/test/actual/defaults/gist.html @@ -53,9 +53,7 @@ grunt.fail.warn('HTML prettification failed.'); } }; -

-
-

+


diff --git a/test/actual/jsbeautifyrc/gist.html b/test/actual/jsbeautifyrc/gist.html index a3a966e..1ecfcca 100644 --- a/test/actual/jsbeautifyrc/gist.html +++ b/test/actual/jsbeautifyrc/gist.html @@ -53,9 +53,7 @@ grunt.fail.warn('HTML prettification failed.'); } }; -

-
-

+


diff --git a/test/actual/padcomments/gist.html b/test/actual/padcomments/gist.html index a3a966e..1ecfcca 100644 --- a/test/actual/padcomments/gist.html +++ b/test/actual/padcomments/gist.html @@ -53,9 +53,7 @@ grunt.fail.warn('HTML prettification failed.'); } }; -

-
-

+