File tree Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Original file line number Diff line number Diff line change
1
+ node_modules /
Original file line number Diff line number Diff line change 1
1
[ ![ Build Status] ( https://travis-ci.org/icd2k3/react-scroll-into-view-if-needed.svg?branch=master )] ( https://travis-ci.org/icd2k3/react-scroll-into-view-if-needed )
2
2
[ ![ Coverage Status] ( https://coveralls.io/repos/github/icd2k3/react-scroll-into-view-if-needed/badge.svg )] ( https://coveralls.io/github/icd2k3/react-scroll-into-view-if-needed )
3
- [ ![ dependencies Status] ( https://david-dm.org/icd2k3/react-scroll-into-view-if-needed/status.svg )] ( https://david-dm.org/icd2k3/react-scroll-into-view-if-needed )
4
3
5
4
## Description
6
5
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-scroll-into-view-if-needed" ,
3
- "version" : " 1.0.2 " ,
3
+ "version" : " 1.0.3 " ,
4
4
"description" : " A thin component wrapper around scroll-into-view-if-needed" ,
5
5
"main" : " dist/umd/index.js" ,
6
6
"module" : " dist/es/index.js" ,
7
7
"repository" : " git@github.com:icd2k3/react-scroll-into-view-if-needed.git" ,
8
- "author" : " JUSTIN SCHRADER <icd2k3@gmail.com>" ,
8
+ "author" : " Justin Schrader <icd2k3@gmail.com>" ,
9
+ "keywords" : [
10
+ " react" ,
11
+ " scroll-into-view-if-needed" ,
12
+ " scroll" ,
13
+ " scrolling"
14
+ ],
9
15
"license" : " MIT" ,
10
16
"peerDependencies" : {
11
17
"prop-types" : " ^15.6.1" ,
12
18
"react" : " ^16.0.0"
13
19
},
14
- "dependencies" : {
15
- "scroll-into-view-if-needed" : " ^1.5.0"
16
- },
20
+ "dependencies" : {},
17
21
"devDependencies" : {
18
22
"babel-cli" : " ^6.26.0" ,
19
23
"babel-core" : " ^6.26.0" ,
39
43
"rollup" : " ^0.58.1" ,
40
44
"rollup-plugin-babel" : " ^3.0.3" ,
41
45
"rollup-plugin-commonjs" : " ^9.1.0" ,
42
- "rollup-plugin-node-resolve" : " ^3.3.0"
46
+ "rollup-plugin-node-resolve" : " ^3.3.0" ,
47
+ "scroll-into-view-if-needed" : " ^1.5.0"
43
48
},
44
49
"scripts" : {
45
50
"build" : " rollup -c && cross-env BUILD_TYPE=standalone rollup -c" ,
Original file line number Diff line number Diff line change 1
1
import { createElement , createRef , PureComponent } from 'react' ;
2
2
import PropTypes from 'prop-types' ;
3
+ // eslint-disable-next-line import/no-extraneous-dependencies
3
4
import scrollIntoViewIfNeeded from 'scroll-into-view-if-needed' ;
4
5
5
6
export default class ScrollIntoViewIfNeeded extends PureComponent {
You can’t perform that action at this time.
0 commit comments