Update postpublish, Rollup.
This commit is contained in:
parent
8b6cffa1c8
commit
80927e0f2d
|
|
@ -28,7 +28,7 @@
|
|||
"pretest": "rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -g d3-collection:d3,d3-dispatch:d3,d3-quadtree:d3,d3-timer:d3 -f umd -n d3 -o build/d3-force.js -- index.js",
|
||||
"test": "tape 'test/**/*-test.js' && eslint index.js src",
|
||||
"prepublish": "npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-force.js -c -m -o build/d3-force.min.js",
|
||||
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-force.js ../d3.github.com/d3-force.v1.js && cp build/d3-force.min.js ../d3.github.com/d3-force.v1.min.js && cd ../d3.github.com && git add d3-force.v1.js d3-force.v1.min.js && git commit -m \"d3-force ${VERSION}\" && git push && cd - && zip -j build/d3-force.zip -- LICENSE README.md build/d3-force.js build/d3-force.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-force/build/d3-force.js d3-force.v1.js && cp ../d3-force/build/d3-force.min.js d3-force.v1.min.js && git add d3-force.v1.js d3-force.v1.min.js && git commit -m \"d3-force ${VERSION}\" && git push && cd - && zip -j build/d3-force.zip -- LICENSE README.md build/d3-force.js build/d3-force.min.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"d3-collection": "1",
|
||||
|
|
@ -39,7 +39,7 @@
|
|||
"devDependencies": {
|
||||
"eslint": "2",
|
||||
"package-preamble": "0.0",
|
||||
"rollup": "0.33",
|
||||
"rollup": "0.34",
|
||||
"tape": "4",
|
||||
"uglify-js": "2"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user