diff --git a/bin/bower b/bin/bower index bd7ef12e..a1ecd296 100755 --- a/bin/bower +++ b/bin/bower @@ -1,10 +1,17 @@ #!/usr/bin/env node -var fs = require("fs"); +var fs = require("fs"), + pkg = require("../package.json"); console.log(JSON.stringify({ "name": "d3", - "version": require("../package.json").version, + "version": pkg.version, + "description": pkg.description, + "keywords": pkg.keywords, + "homepage": pkg.homepage, + "author": pkg.author, + "contributors": pkg.contributors, + "repository": pkg.repository, "main": "d3.js", "scripts": [ "d3.js" diff --git a/bower.json b/bower.json index db3e4c0f..4ee5d580 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,30 @@ { "name": "d3", "version": "3.4.1", + "description": "A small, free JavaScript library for manipulating documents based on data.", + "keywords": [ + "dom", + "w3c", + "visualization", + "svg", + "animation", + "canvas" + ], + "homepage": "http://d3js.org", + "author": { + "name": "Mike Bostock", + "url": "http://bost.ocks.org/mike" + }, + "contributors": [ + { + "name": "Jason Davies", + "url": "http://jasondavies.com" + } + ], + "repository": { + "type": "git", + "url": "https://github.com/mbostock/d3.git" + }, "main": "d3.js", "scripts": [ "d3.js"