Commit 2236488f authored by Mike Bostock's avatar Mike Bostock
Browse files

Am I bowering rite? Fixes #1251 #1338.

parent 8a9c125b
......@@ -3,7 +3,7 @@ LOCALE ?= en_US
GENERATED_FILES = \
d3.js \
d3.min.js \
component.json
bower.json
all: $(GENERATED_FILES)
......@@ -33,9 +33,9 @@ d3.min.js: d3.js
@rm -f $@
bin/uglify $< > $@
component.json: bin/component package.json
bower.json: bin/bower package.json
@rm -f $@
bin/component > $@
bin/bower > $@
@chmod a-w $@
clean:
......
#!/usr/bin/env node
var fs = require("fs");
console.log(JSON.stringify({
"name": "d3",
"version": require("../package.json").version,
"main": "index-browserify.js",
"scripts": ["index-browserify.js", "d3.js"]
"main": "d3.js",
"scripts": [
"d3.js"
],
"ignore": fs.readdirSync(".").filter(function(d) {
return d !== "d3.js"
&& d !== "bower.json"
&& d !== "LICENSE"
&& d !== "README.md";
})
}, null, 2));
{
"name": "d3",
"version": "3.2.2",
"main": "d3.js",
"scripts": [
"d3.js"
],
"ignore": [
".DS_Store",
".git",
".gitignore",
".npmignore",
".travis.yml",
"Makefile",
"bin",
"d3.min.js",
"index-browserify.js",
"index.js",
"lib",
"node_modules",
"package.json",
"src",
"test"
]
}
{
"name": "d3",
"version": "3.2.2",
"main": "index-browserify.js",
"scripts": [
"index-browserify.js",
"d3.js"
]
}
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