Commit 193a8605 authored by Mike Bostock's avatar Mike Bostock

Update bower on publish. Fixes #2874.

parent 024e8b04
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
"pretest": "rm -rf build && mkdir build && json2module package.json > build/package.js && bin/rollup-node", "pretest": "rm -rf build && mkdir build && json2module package.json > build/package.js && bin/rollup-node",
"test": "tape 'test/**/*-test.js'", "test": "tape 'test/**/*-test.js'",
"prepublish": "npm run test && bin/rollup \"$(preamble)\" && uglifyjs --preamble \"$(preamble)\" build/d3.js -c -m -o build/d3.min.js", "prepublish": "npm run test && bin/rollup \"$(preamble)\" && uglifyjs --preamble \"$(preamble)\" build/d3.js -c -m -o build/d3.min.js",
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3.js ../d3.github.com/d3.v4.js && cp build/d3.min.js ../d3.github.com/d3.v4.min.js && cd ../d3.github.com && git add d3.v4.js d3.v4.min.js && git commit -m \"d3 ${VERSION}\" && git push && cd - && zip -j build/d3.zip -- LICENSE README.md API.md CHANGES.md build/d3.js build/d3.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/build/d3.js d3.v4.js && cp ../d3/build/d3.min.js d3.v4.min.js && git add d3.v4.js d3.v4.min.js && git commit -m \"d3 ${VERSION}\" && git push && cd - && cd ../d3-bower && git pull && cp ../d3/LICENSE ../d3/README.md ../d3/build/d3.js ../d3/build/d3.min.js . && git add -- LICENSE README.md d3.js d3.min.js && git commit -m \"${VERSION}\" && git tag -am \"${VERSION}\" v${VERSION} && git push && git push --tags && cd - && zip -j build/d3.zip -- LICENSE README.md API.md CHANGES.md build/d3.js build/d3.min.js"
}, },
"devDependencies": { "devDependencies": {
"json2module": "0.0", "json2module": "0.0",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment