From 7aa9698fe29a6d2f5e51c7c52f773b155f1116a9 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 22 Oct 2020 10:27:23 +0000 Subject: [PATCH] Bump react from 16.14.0 to 17.0.0 (#155) --- .travis.yml | 4 ++++ package.json | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index b931ddc..4f455d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,3 +14,7 @@ jobs: - node_js: 12 name: Check code style script: npm run test:lint + - node_js: 12 + name: Test with React 16 + before_script: npm install react@16 react-dom@16 react-test-renderer@16 + script: npm run test:mocha diff --git a/package.json b/package.json index e90f083..a14fe94 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "build": "ROLLUP=1 rollup -c", "test:lint": "eslint --cache .", "test:mocha": "TESTS=1 mocha --require @babel/register", - "test": "npm run lint && npm run test:mocha", + "test": "npm run test:lint && npm run test:mocha", "docs": "prop-types-table src/index.js | md-insert README.md --header Props -i", "example": "npm install && cd example && npm install" }, @@ -35,7 +35,7 @@ "prop-types": "^15.5.10" }, "peerDependencies": { - "react": "^0.14.0 || ^15.0.0 || ^16.0.0" + "react": "^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" }, "devDependencies": { "@babel/core": "^7.0.0", @@ -55,9 +55,9 @@ "mocha": "^8.0.1", "prop-types-table": "^1.0.0", "proxyquire": "^2.0.1", - "react": "^16.5.0", - "react-dom": "^16.5.0", - "react-test-renderer": "^16.5.0", + "react": "^17.0.0", + "react-dom": "^17.0.0", + "react-test-renderer": "^17.0.0", "rollup": "^2.0.2" }, "greenkeeper": {