Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
Make the updateVersion grunt task pretty print the JSON.
Browse files Browse the repository at this point in the history
  • Loading branch information
remybach committed May 28, 2013
1 parent 051befb commit ad06969
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 3 deletions.
18 changes: 17 additions & 1 deletion bower.json
@@ -1 +1,17 @@
{"name":"jQuery.superLabels","version":"2.0.4","description":"Give your forms a helping of awesome!","homepage":"http://remy.bach.me.uk/superlabels_demo/","bugs":"https://github.com/remybach/jQuery.superLabels/issues","repository":{"type":"git","url":"https://github.com/remybach/jQuery.superLabels"},"main":"jquery.superLabels.min.js","licenses":[{"type":"MIT"}]}
{
"name": "jQuery.superLabels",
"version": "2.0.4",
"description": "Give your forms a helping of awesome!",
"homepage": "http://remy.bach.me.uk/superlabels_demo/",
"bugs": "https://github.com/remybach/jQuery.superLabels/issues",
"repository": {
"type": "git",
"url": "https://github.com/remybach/jQuery.superLabels"
},
"main": "jquery.superLabels.min.js",
"licenses": [
{
"type": "MIT"
}
]
}
31 changes: 30 additions & 1 deletion superLabels.jquery.json
@@ -1 +1,30 @@
{"name":"superLabels","version":"2.0.4","title":"jQuery Super Labels","author":{"name":"Rémy Bach","url":"http://remy.bach.me.uk"},"licenses":[{"type":"MIT","url":"http://remybach.mit-license.org/"}],"dependencies":{"jquery":">=1.5"},"description":"Give your forms a helping of awesome!","keywords":["form","forms","label","labels","usability"],"homepage":"https://github.com/remybach/jQuery.superLabels","docs":"https://github.com/remybach/jQuery.superLabels","demo":"http://remy.bach.me.uk/superlabels_demo/","bugs":"https://github.com/remybach/jQuery.superLabels/issues"}
{
"name": "superLabels",
"version": "2.0.4",
"title": "jQuery Super Labels",
"author": {
"name": "Rémy Bach",
"url": "http://remy.bach.me.uk"
},
"licenses": [
{
"type": "MIT",
"url": "http://remybach.mit-license.org/"
}
],
"dependencies": {
"jquery": ">=1.5"
},
"description": "Give your forms a helping of awesome!",
"keywords": [
"form",
"forms",
"label",
"labels",
"usability"
],
"homepage": "https://github.com/remybach/jQuery.superLabels",
"docs": "https://github.com/remybach/jQuery.superLabels",
"demo": "http://remy.bach.me.uk/superlabels_demo/",
"bugs": "https://github.com/remybach/jQuery.superLabels/issues"
}
2 changes: 1 addition & 1 deletion tasks/updateVersion.js
Expand Up @@ -25,7 +25,7 @@ module.exports = function(grunt) {

json.version = grunt.config('meta.version');

grunt.file.write(filename, JSON.stringify(json));
grunt.file.write(filename, JSON.stringify(json, null, 4));

grunt.log.writeln('Done updating version in: '+filename);
}
Expand Down

0 comments on commit ad06969

Please sign in to comment.