Skip to content

Commit

Permalink
Prepare for major release.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Jun 24, 2016
1 parent 6712d2e commit 43d3be4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ Visualize relationships or network flow with an aesthetically-pleasing circular

## Installing

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

```html
<script src="https://d3js.org/d3-array.v1.min.js"></script>
<script src="https://d3js.org/d3-path.v1.min.js"></script>
<script src="https://d3js.org/d3-chord.v0.0.min.js"></script>
<script src="https://d3js.org/d3-chord.v1.min.js"></script>
<script>
var chord = d3.chord();
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"pretest": "rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -g d3-array:d3,d3-path:d3 -f umd -n d3 -o build/d3-chord.js -- index.js",
"test": "tape 'test/**/*-test.js' && eslint index.js src",
"prepublish": "npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-chord.js -c -m -o build/d3-chord.min.js",
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-chord.js ../d3.github.com/d3-chord.v0.0.js && cp build/d3-chord.min.js ../d3.github.com/d3-chord.v0.0.min.js && cd ../d3.github.com && git add d3-chord.v0.0.js d3-chord.v0.0.min.js && git commit -m \"d3-chord ${VERSION}\" && git push && cd - && zip -j build/d3-chord.zip -- LICENSE README.md build/d3-chord.js build/d3-chord.min.js"
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-chord.js ../d3.github.com/d3-chord.v1.js && cp build/d3-chord.min.js ../d3.github.com/d3-chord.v1.min.js && cd ../d3.github.com && git add d3-chord.v1.js d3-chord.v1.min.js && git commit -m \"d3-chord ${VERSION}\" && git push && cd - && zip -j build/d3-chord.zip -- LICENSE README.md build/d3-chord.js build/d3-chord.min.js"
},
"dependencies": {
"d3-array": "1",
Expand All @@ -34,7 +34,7 @@
"devDependencies": {
"eslint": "2",
"package-preamble": "0.0",
"rollup": "0.31",
"rollup": "0.33",
"tape": "4",
"uglify-js": "2"
}
Expand Down

0 comments on commit 43d3be4

Please sign in to comment.