Skip to content

Commit 3ba2562

Browse files
committed
Update postpublish, Rollup.
1 parent 3e41f24 commit 3ba2562

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
"pretest": "rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -f umd -n d3 -o build/d3-selection.js -- index.js",
2626
"test": "tape 'test/**/*-test.js' && eslint index.js src",
2727
"prepublish": "npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-selection.js -c -m -o build/d3-selection.min.js",
28-
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-selection.js ../d3.github.com/d3-selection.v1.js && cp build/d3-selection.min.js ../d3.github.com/d3-selection.v1.min.js && cd ../d3.github.com && git add d3-selection.v1.js d3-selection.v1.min.js && git commit -m \"d3-selection ${VERSION}\" && git push && cd - && zip -j build/d3-selection.zip -- LICENSE README.md build/d3-selection.js build/d3-selection.min.js"
28+
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-selection/build/d3-selection.js d3-selection.v1.js && cp ../d3-selection/build/d3-selection.min.js d3-selection.v1.min.js && git add d3-selection.v1.js d3-selection.v1.min.js && git commit -m \"d3-selection ${VERSION}\" && git push && cd - && zip -j build/d3-selection.zip -- LICENSE README.md build/d3-selection.js build/d3-selection.min.js"
2929
},
3030
"devDependencies": {
3131
"eslint": "2",
3232
"jsdom": "9",
3333
"package-preamble": "0.0",
34-
"rollup": "0.33",
34+
"rollup": "0.34",
3535
"tape": "4",
3636
"uglify-js": "2"
3737
}

0 commit comments

Comments
 (0)