Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand All @@ -58,4 +59,4 @@
"prettifier",
"prettify"
]
}
}
3 changes: 1 addition & 2 deletions tasks/prettify.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -138,4 +137,4 @@ module.exports = function (grunt) {
return str;
};

};
};
4 changes: 1 addition & 3 deletions test/actual/custom_indentation/gist.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@
grunt.fail.warn(<span class="string">'HTML prettification failed.'</span>);
}
};</code></pre>
<p>
<br>
</p>
<p><br></p>
<script src="https://gist.github.com/5898072.js"></script>
<script src="https://gist.github.com/5898077.js"></script>
</div>
Expand Down
4 changes: 1 addition & 3 deletions test/actual/defaults/gist.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@
grunt.fail.warn(<span class="string">'HTML prettification failed.'</span>);
}
};</code></pre>
<p>
<br>
</p>
<p><br></p>
<script src="https://gist.github.com/5898072.js"></script>
<script src="https://gist.github.com/5898077.js"></script>
</div>
Expand Down
4 changes: 1 addition & 3 deletions test/actual/jsbeautifyrc/gist.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@
grunt.fail.warn(<span class="string">'HTML prettification failed.'</span>);
}
};</code></pre>
<p>
<br>
</p>
<p><br></p>
<script src="https://gist.github.com/5898072.js"></script>
<script src="https://gist.github.com/5898077.js"></script>
</div>
Expand Down
4 changes: 1 addition & 3 deletions test/actual/padcomments/gist.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@
grunt.fail.warn(<span class="string">'HTML prettification failed.'</span>);
}
};</code></pre>
<p>
<br>
</p>
<p><br></p>
<script src="https://gist.github.com/5898072.js"></script>
<script src="https://gist.github.com/5898077.js"></script>
</div>
Expand Down