File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " d3-selection" ,
3
- "version" : " 0.6.3 " ,
3
+ "version" : " 0.6.5 " ,
4
4
"description" : " Data-driven DOM manipulation: select elements and join them to data." ,
5
5
"keywords" : [
6
6
" d3" ,
21
21
"url" : " https://github.com/d3/d3-selection.git"
22
22
},
23
23
"scripts" : {
24
- "pretest" : " mkdir -p build && node -e 'process.stdout.write(\" var version = \\\"\" + require(\" ./package.json\" ).version + \"\\\" ; export * from \\\" ../index\\\" ; export {version};\" );' > build/bundle.js && rollup -f umd -u d3-selection - n d3_selection -o build/d3-selection.js -- build/bundle.js" ,
24
+ "pretest" : " mkdir -p build && node -e 'process.stdout.write(\" var version = \\\"\" + require(\" ./package.json\" ).version + \"\\\" ; export * from \\\" ../index\\\" ; export {version};\" );' > build/bundle.js && rollup -f umd -n d3_selection -o build/d3-selection.js -- build/bundle.js" ,
25
25
"test" : " faucet `find test -name '*-test.js'` && eslint index.js src" ,
26
- "prepublish" : " npm test && uglifyjs build/d3-selection.js -c -m -o build/d3-selection.min.js && rm -f build/d3-selection.zip && zip -j build/d3-selection.zip -- LICENSE README.md build/d3-selection.js build/d3-selection.min.js"
26
+ "prepublish" : " npm test && uglifyjs build/d3-selection.js -c -m -o build/d3-selection.min.js && rm -f build/d3-selection.zip && zip -j build/d3-selection.zip -- LICENSE README.md build/d3-selection.js build/d3-selection.min.js" ,
27
+ "postpublish" : " VERSION=`node -e 'console.log(require(\" ./package.json\" ).version)'`; git push && git tag -am \" Release $VERSION.\" v${VERSION} && git push --tags && cp build/d3-selection.js ../d3.github.com/d3-selection.v0.6.js && cp build/d3-selection.min.js ../d3.github.com/d3-selection.v0.6.min.js && cd ../d3.github.com && git add d3-selection.v0.6.js d3-selection.v0.6.min.js && git commit -m \" d3-selection ${VERSION}\" && git push"
27
28
},
28
29
"devDependencies" : {
29
30
"faucet" : " 0.0" ,
30
- "rollup" : " 0.20.5 " ,
31
+ "rollup" : " 0.25 " ,
31
32
"jsdom" : " 8" ,
32
33
"tape" : " 4" ,
33
34
"uglify-js" : " 2"
You can’t perform that action at this time.
0 commit comments