This repository was archived by the owner on Jul 19, 2019. It is now read-only.
File tree 3 files changed +6
-2
lines changed
3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
const React = require ( 'react' )
2
- const { PropTypes } = React
2
+ const PropTypes = require ( 'prop-types' )
3
3
const { findDOMNode } = require ( 'react-dom' )
4
4
const scrollIntoView = require ( 'dom-scroll-into-view' )
5
5
Original file line number Diff line number Diff line change 72
72
],
73
73
"keywords" : [],
74
74
"dependencies" : {
75
- "dom-scroll-into-view" : " 1.0.1"
75
+ "dom-scroll-into-view" : " 1.0.1" ,
76
+ "prop-types" : " ^15.5.10"
76
77
},
77
78
"peerDependencies" : {
78
79
"react" : " ^0.14.7 || ^15.0.0-0" ,
89
90
],
90
91
"unmockedModulePathPatterns" : [
91
92
" <rootDir>/node_modules/react" ,
93
+ " <rootDir>/node_modules/prop-types" ,
92
94
" <rootDir>/node_modules/react-addons-test-utils" ,
93
95
" <rootDir>/node_modules/enzyme"
94
96
]
Original file line number Diff line number Diff line change @@ -8,10 +8,12 @@ browserify ../lib/Autocomplete.js \
8
8
--transform babelify \
9
9
--external react \
10
10
--external react-dom \
11
+ --external prop-types \
11
12
--debug \
12
13
| youemdee ReactAutocomplete \
13
14
--dependency react:React \
14
15
--dependency react-dom:ReactDOM \
16
+ --dependency prop-types:PropTypes \
15
17
| exorcist react-autocomplete.js.map \
16
18
> react-autocomplete.js
17
19
uglifyjs react-autocomplete.js \
You can’t perform that action at this time.
0 commit comments