Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make the updateVersion grunt task pretty print the JSON.

  • Loading branch information...
commit ad069690554739056c084ee3b62750e6c2fb3e74 1 parent 051befb
Rémy Bach authored
Showing with 48 additions and 3 deletions.
  1. +17 −1 bower.json
  2. +30 −1 superLabels.jquery.json
  3. +1 −1  tasks/updateVersion.js
18 bower.json
View
@@ -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 superLabels.jquery.json
View
@@ -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  tasks/updateVersion.js
View
@@ -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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.