File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 14
14
- node_js : 12
15
15
name : Check code style
16
16
script : npm run test:lint
17
+ - node_js : 12
18
+ name : Test with React 16
19
+ before_script : npm install react@16 react-dom@16 react-test-renderer@16
20
+ script : npm run test:mocha
Original file line number Diff line number Diff line change 9
9
"build" : " ROLLUP=1 rollup -c" ,
10
10
"test:lint" : " eslint --cache ." ,
11
11
"test:mocha" : " TESTS=1 mocha --require @babel/register" ,
12
- "test" : " npm run lint && npm run test:mocha" ,
12
+ "test" : " npm run test: lint && npm run test:mocha" ,
13
13
"docs" : " prop-types-table src/index.js | md-insert README.md --header Props -i" ,
14
14
"example" : " npm install && cd example && npm install"
15
15
},
35
35
"prop-types" : " ^15.5.10"
36
36
},
37
37
"peerDependencies" : {
38
- "react" : " ^0.14.0 || ^15.0.0 || ^16.0.0"
38
+ "react" : " ^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 "
39
39
},
40
40
"devDependencies" : {
41
41
"@babel/core" : " ^7.0.0" ,
55
55
"mocha" : " ^8.0.1" ,
56
56
"prop-types-table" : " ^1.0.0" ,
57
57
"proxyquire" : " ^2.0.1" ,
58
- "react" : " ^16.5 .0" ,
59
- "react-dom" : " ^16.5 .0" ,
60
- "react-test-renderer" : " ^16.5 .0" ,
58
+ "react" : " ^17.0 .0" ,
59
+ "react-dom" : " ^17.0 .0" ,
60
+ "react-test-renderer" : " ^17.0 .0" ,
61
61
"rollup" : " ^2.0.2"
62
62
},
63
63
"greenkeeper" : {
You can’t perform that action at this time.
0 commit comments