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 6e9ee93 commit e9124ee
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 @@ -24,7 +24,7 @@
"pretest": "rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -f umd -g d3-array:d3,d3-collection:d3,d3-color:d3,d3-format:d3,d3-interpolate:d3,d3-time:d3,d3-time-format:d3 -n d3 -o build/d3-scale.js -- index.js",
"test": "TZ=America/Los_Angeles tape 'test/**/*-test.js' && eslint index.js src test",
"prepublish": "npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-scale.js -c -m -o build/d3-scale.min.js",
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cd ../d3.github.com && cp ../d3-scale/build/d3-scale.js d3-scale.v1.js && cp ../d3-scale/build/d3-scale.min.js d3-scale.v1.min.js && git add d3-scale.v1.js d3-scale.v1.min.js && git commit -m \"d3-scale ${VERSION}\" && git push && cd - && zip -j build/d3-scale.zip -- LICENSE README.md build/d3-scale.js build/d3-scale.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-scale/build/d3-scale.js d3-scale.v1.js && cp ../d3-scale/build/d3-scale.min.js d3-scale.v1.min.js && git add d3-scale.v1.js d3-scale.v1.min.js && git commit -m \"d3-scale ${VERSION}\" && git push && cd - && zip -j build/d3-scale.zip -- LICENSE README.md build/d3-scale.js build/d3-scale.min.js"
},
"dependencies": {
"d3-array": "1",
Expand All @@ -38,7 +38,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 e9124ee

Please sign in to comment.