Commit 45098edc authored by Jason Davies's avatar Jason Davies

Auto-update version number in package.json.

parent 402c2e49
......@@ -19,7 +19,8 @@ all: \
d3.geom.js \
d3.geom.min.js \
d3.time.js \
d3.time.min.js
d3.time.min.js \
package.json
.INTERMEDIATE d3.js: \
src/start.js \
......@@ -201,5 +202,8 @@ d3.js d3%.js: Makefile
cat $(filter %.js,$^) > $@
@chmod a-w $@
package.json: d3.js
sed -e s/{version}/`node -e 'require("./test/env"); require("./d3"); d3.version'`/ $@.template > $@
clean:
rm -f d3*.js
{
"name": "d3",
"version": "1.29.5",
"version": "1.29.6",
"description": "A small, free JavaScript library for manipulating documents based on data.",
"keywords": ["dom", "w3c", "visualization", "svg", "animation", "canvas"],
"homepage": "http://mbostock.github.com/d3/",
......
{
"name": "d3",
"version": "{version}",
"description": "A small, free JavaScript library for manipulating documents based on data.",
"keywords": ["dom", "w3c", "visualization", "svg", "animation", "canvas"],
"homepage": "http://mbostock.github.com/d3/",
"author": {"name": "Mike Bostock", "url": "http://bost.ocks.org/mike"},
"repository": {"type": "git", "url": "http://github.com/mbostock/d3.git"},
"dependencies": {
"uglify-js": "1.0.6",
"jsdom": "0.2.3",
"vows": "0.5.10"
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment