Skip to content

Commit

Permalink
Update postpublish, Rollup.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Jul 29, 2016
1 parent ae5af8b commit 9446ed5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
"pretest": "rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -f umd -n d3 -o build/d3-hierarchy.js -- index.js",
"test": "tape 'test/**/*-test.js' && eslint index.js src",
"prepublish": "npm run test && uglifyjs --preamble \"$(preamble)\" 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.v1.js && cp build/d3-hierarchy.min.js ../d3.github.com/d3-hierarchy.v1.min.js && cd ../d3.github.com && git add d3-hierarchy.v1.js d3-hierarchy.v1.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 && cd ../d3.github.com && git pull && cp ../d3-hierarchy/build/d3-hierarchy.js d3-hierarchy.v1.js && cp ../d3-hierarchy/build/d3-hierarchy.min.js d3-hierarchy.v1.min.js && git add d3-hierarchy.v1.js d3-hierarchy.v1.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": "1",
"d3-queue": "3",
"eslint": "2",
"package-preamble": "0.0",
"rollup": "0.33",
"rollup": "0.34",
"tape": "4",
"uglify-js": "2"
}
Expand Down

0 comments on commit 9446ed5

Please sign in to comment.