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 8b6cffa commit 80927e0
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 @@ -28,7 +28,7 @@
"pretest": "rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -g d3-collection:d3,d3-dispatch:d3,d3-quadtree:d3,d3-timer:d3 -f umd -n d3 -o build/d3-force.js -- index.js",
"test": "tape 'test/**/*-test.js' && eslint index.js src",
"prepublish": "npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-force.js -c -m -o build/d3-force.min.js",
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-force.js ../d3.github.com/d3-force.v1.js && cp build/d3-force.min.js ../d3.github.com/d3-force.v1.min.js && cd ../d3.github.com && git add d3-force.v1.js d3-force.v1.min.js && git commit -m \"d3-force ${VERSION}\" && git push && cd - && zip -j build/d3-force.zip -- LICENSE README.md build/d3-force.js build/d3-force.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-force/build/d3-force.js d3-force.v1.js && cp ../d3-force/build/d3-force.min.js d3-force.v1.min.js && git add d3-force.v1.js d3-force.v1.min.js && git commit -m \"d3-force ${VERSION}\" && git push && cd - && zip -j build/d3-force.zip -- LICENSE README.md build/d3-force.js build/d3-force.min.js"
},
"dependencies": {
"d3-collection": "1",
Expand All @@ -39,7 +39,7 @@
"devDependencies": {
"eslint": "2",
"package-preamble": "0.0",
"rollup": "0.33",
"rollup": "0.34",
"tape": "4",
"uglify-js": "2"
}
Expand Down

0 comments on commit 80927e0

Please sign in to comment.