File tree 1 file changed +3
-2
lines changed 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 16
16
"url" : " http://bost.ocks.org/mike"
17
17
},
18
18
"main" : " build/d3-dispatch.js" ,
19
+ "module" : " index" ,
19
20
"jsnext:main" : " index" ,
20
21
"repository" : {
21
22
"type" : " git" ,
25
26
"pretest" : " rm -rf build && mkdir build && rollup --banner \" $(preamble)\" -f umd -n d3 -o build/d3-dispatch.js -- index.js" ,
26
27
"test" : " tape 'test/**/*-test.js' && eslint index.js src" ,
27
28
"prepublish" : " npm run test && uglifyjs --preamble \" $(preamble)\" build/d3-dispatch.js -c -m -o build/d3-dispatch.min.js" ,
28
- "postpublish" : " VERSION=`node -e 'console.log(require(\" ./package.json\" ).version)'`; git push && git push --tags && cp build/d3-dispatch.js .. /d3.github.com/d3-dispatch. v1.js && cp build/d3-dispatch.min.js ../d3.github.com/d3 -dispatch.v1.min.js && cd ../d3.github.com && git add d3-dispatch.v1.js d3-dispatch.v1.min.js && git commit -m \" d3-dispatch ${VERSION}\" && git push && cd - && zip -j build/d3-dispatch.zip -- LICENSE README.md build/d3-dispatch.js build/d3-dispatch.min.js"
29
+ "postpublish" : " VERSION=`node -e 'console.log(require(\" ./package.json\" ).version)'`; git push && git push --tags && cd .. /d3.github.com && git pull && cp .. /d3-dispatch/build/d3-dispatch.js d3-dispatch. v1.js && cp ../d3-dispatch/ build/d3-dispatch.min.js d3 -dispatch.v1.min.js && git add d3-dispatch.v1.js d3-dispatch.v1.min.js && git commit -m \" d3-dispatch ${VERSION}\" && git push && cd - && zip -j build/d3-dispatch.zip -- LICENSE README.md build/d3-dispatch.js build/d3-dispatch.min.js"
29
30
},
30
31
"devDependencies" : {
31
32
"eslint" : " 2" ,
32
33
"package-preamble" : " 0.0" ,
33
- "rollup" : " 0.31 " ,
34
+ "rollup" : " 0.34 " ,
34
35
"tape" : " 4" ,
35
36
"uglify-js" : " 2"
36
37
}
You can’t perform that action at this time.
0 commit comments