Skip to content

Commit

Permalink
Hard-code the list of bower ignores.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Jul 1, 2013
1 parent fc60a61 commit 580577b
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions bin/bower
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,22 @@ console.log(JSON.stringify({
"scripts": [
"d3.js"
],
"ignore": fs.readdirSync(".").filter(function(d) {
return d !== "d3.js"
&& d !== "bower.json"
&& d !== "LICENSE"
&& d !== "README.md";
})
"ignore": [
".DS_Store",
".git",
".gitignore",
".npmignore",
".travis.yml",
"Makefile",
"bin",
"component.json",
"d3.min.js",
"index-browserify.js",
"index.js",
"lib",
"node_modules",
"package.json",
"src",
"test"
]
}, null, 2));

0 comments on commit 580577b

Please sign in to comment.