Skip to content

Commit

Permalink
Prepare for patch release.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Jun 30, 2016
1 parent 6ea3df4 commit 3e798c2
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,12 +28,12 @@
"pretest": "rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -f umd -n d3 -o build/d3-timer.js -- index.js",
"test": "tape 'test/**/*-test.js' && eslint index.js src",
"prepublish": "npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-timer.js -c -m -o build/d3-timer.min.js",
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-timer.js ../d3.github.com/d3-timer.v1.js && cp build/d3-timer.min.js ../d3.github.com/d3-timer.v1.min.js && cd ../d3.github.com && git add d3-timer.v1.js d3-timer.v1.min.js && git commit -m \"d3-timer ${VERSION}\" && git push && cd - && zip -j build/d3-timer.zip -- LICENSE README.md build/d3-timer.js build/d3-timer.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-timer/build/d3-timer.js d3-timer.v1.js && cp ../d3-timer/build/d3-timer.min.js d3-timer.v1.min.js && git add d3-timer.v1.js d3-timer.v1.min.js && git commit -m \"d3-timer ${VERSION}\" && git push && cd - && zip -j build/d3-timer.zip -- LICENSE README.md build/d3-timer.js build/d3-timer.min.js"
},
"devDependencies": {
"eslint": "2",
"package-preamble": "0.0",
"rollup": "0.31",
"rollup": "0.33",
"tape": "4",
"uglify-js": "2"
}
Expand Down

0 comments on commit 3e798c2

Please sign in to comment.