Skip to content

Commit 7aa9698

Browse files
Bump react from 16.14.0 to 17.0.0 (#155)
1 parent f4419ba commit 7aa9698

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,7 @@ jobs:
1414
- node_js: 12
1515
name: Check code style
1616
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

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"build": "ROLLUP=1 rollup -c",
1010
"test:lint": "eslint --cache .",
1111
"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",
1313
"docs": "prop-types-table src/index.js | md-insert README.md --header Props -i",
1414
"example": "npm install && cd example && npm install"
1515
},
@@ -35,7 +35,7 @@
3535
"prop-types": "^15.5.10"
3636
},
3737
"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"
3939
},
4040
"devDependencies": {
4141
"@babel/core": "^7.0.0",
@@ -55,9 +55,9 @@
5555
"mocha": "^8.0.1",
5656
"prop-types-table": "^1.0.0",
5757
"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",
6161
"rollup": "^2.0.2"
6262
},
6363
"greenkeeper": {

0 commit comments

Comments
 (0)