File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 19
19
},
20
20
"files" : [
21
21
" lib" ,
22
- " assets/*.css"
22
+ " assets/*.css" ,
23
+ " dist"
23
24
],
24
25
"licenses" : " MIT" ,
25
26
"main" : " ./lib/index" ,
27
+ "entry" : {
28
+ "rc-scroll-anim" : [" ./src/index.js" , " ./assets/index.less" ]
29
+ },
26
30
"config" : {
27
31
"port" : 8020
28
32
},
29
33
"scripts" : {
30
34
"build" : " rc-tools run build" ,
31
35
"gh-pages" : " rc-tools run gh-pages" ,
32
36
"start" : " rc-tools run server" ,
33
- "pub" : " rc-tools run pub" ,
37
+ "pub" : " rc-tools run pub --babel-runtime " ,
34
38
"lint" : " rc-tools run lint" ,
35
39
"karma" : " rc-tools run karma" ,
36
40
"saucelabs" : " rc-tools run saucelabs" ,
52
56
" lint"
53
57
],
54
58
"dependencies" : {
59
+ "babel-runtime" : " 6.x" ,
55
60
"raf" : " 3.x" ,
56
61
"rc-tween-one" : " ~0.11.6" ,
57
62
"tween-functions" : " 1.x"
You can’t perform that action at this time.
0 commit comments