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