Skip to content

Commit

Permalink
Prepare for minor release.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Apr 1, 2016
1 parent 26f1531 commit b9dbc4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ A good hierarchical visualization should facilitate rapid multiscale inference:

## Installing

If you use NPM, `npm install d3-hierarchy`. Otherwise, download the [latest release](https://github.com/d3/d3-hierarchy/releases/latest). You can also load directly from [d3js.org](https://d3js.org), either as a [standalone library](https://d3js.org/d3-hierarchy.v0.1.min.js) or as part of [D3 4.0 alpha](https://github.com/mbostock/d3/tree/4). AMD, CommonJS, and vanilla environments are supported. In vanilla, a `d3_hierarchy` global is exported:
If you use NPM, `npm install d3-hierarchy`. Otherwise, download the [latest release](https://github.com/d3/d3-hierarchy/releases/latest). You can also load directly from [d3js.org](https://d3js.org), either as a [standalone library](https://d3js.org/d3-hierarchy.v0.2.min.js) or as part of [D3 4.0 alpha](https://github.com/mbostock/d3/tree/4). AMD, CommonJS, and vanilla environments are supported. In vanilla, a `d3_hierarchy` global is exported:

```html
<script src="https://d3js.org/d3-hierarchy.v0.1.min.js"></script>
<script src="https://d3js.org/d3-hierarchy.v0.2.min.js"></script>
<script>
var treemap = d3_hierarchy.treemap();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"pretest": "rm -rf build && mkdir build && json2module package.json > build/package.js && rollup -f umd -n d3_hierarchy -o build/d3-hierarchy.js -- index.js",
"test": "tape 'test/**/*-test.js' && eslint index.js src",
"prepublish": "npm run test && uglifyjs build/d3-hierarchy.js -c -m -o build/d3-hierarchy.min.js",
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-hierarchy.js ../d3.github.com/d3-hierarchy.v0.1.js && cp build/d3-hierarchy.min.js ../d3.github.com/d3-hierarchy.v0.1.min.js && cd ../d3.github.com && git add d3-hierarchy.v0.1.js d3-hierarchy.v0.1.min.js && git commit -m \"d3-hierarchy ${VERSION}\" && git push && cd - && zip -j build/d3-hierarchy.zip -- LICENSE README.md build/d3-hierarchy.js build/d3-hierarchy.min.js"
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-hierarchy.js ../d3.github.com/d3-hierarchy.v0.2.js && cp build/d3-hierarchy.min.js ../d3.github.com/d3-hierarchy.v0.2.min.js && cd ../d3.github.com && git add d3-hierarchy.v0.2.js d3-hierarchy.v0.2.min.js && git commit -m \"d3-hierarchy ${VERSION}\" && git push && cd - && zip -j build/d3-hierarchy.zip -- LICENSE README.md build/d3-hierarchy.js build/d3-hierarchy.min.js"
},
"devDependencies": {
"d3-dsv": "~0.3.1",
Expand Down

0 comments on commit b9dbc4c

Please sign in to comment.