Skip to content

Commit

Permalink
Switch to prepublishOnly.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Apr 16, 2018
1 parent 78a2bac commit 601a15b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"scripts": {
"pretest": "rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -f umd -n d3 -o build/d3-hierarchy.js -- index.js",
"test": "tape 'test/**/*-test.js' && eslint index.js src",
"prepublish": "npm run test && uglifyjs -b beautify=false,preamble=\"'$(preamble)'\" build/d3-hierarchy.js -c -m -o build/d3-hierarchy.min.js",
"prepublishOnly": "npm run test && uglifyjs -b beautify=false,preamble=\"'$(preamble)'\" build/d3-hierarchy.js -c -m -o build/d3-hierarchy.min.js",
"postpublish": "git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3-hierarchy/build/d3-hierarchy.js d3-hierarchy.v1.js && cp ../d3-hierarchy/build/d3-hierarchy.min.js d3-hierarchy.v1.min.js && git add d3-hierarchy.v1.js d3-hierarchy.v1.min.js && git commit -m \"d3-hierarchy ${npm_package_version}\" && git push && cd - && zip -j build/d3-hierarchy.zip -- LICENSE README.md build/d3-hierarchy.js build/d3-hierarchy.min.js"
},
"devDependencies": {
Expand Down

0 comments on commit 601a15b

Please sign in to comment.