Skip to content

Commit

Permalink
feat(dependencies): Support react 16
Browse files Browse the repository at this point in the history
  • Loading branch information
danez committed Oct 4, 2017
1 parent 858af7c commit 94447e9
Show file tree
Hide file tree
Showing 3 changed files with 168 additions and 187 deletions.
39 changes: 12 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,26 +30,17 @@
"bugs": {
"url": "https://github.com/reactjs/react-tabs/issues"
},
"files": [
"dist",
"lib",
"style"
],
"files": ["dist", "lib", "style"],
"homepage": "https://github.com/reactjs/react-tabs",
"keywords": [
"react",
"tabs",
"a11y",
"react-component"
],
"keywords": ["react", "tabs", "a11y", "react-component"],
"peerDependencies": {
"react": "^0.14.9 || ^15.3.0"
"react": "^0.14.9 || ^15.3.0 || ^16.0.0"
},
"devDependencies": {
"babel-cli": "^6.9.0",
"babel-core": "^6.9.1",
"babel-eslint": "^8.0.1",
"babel-jest": "^21.2.0",
"babel-jest": "^21.3.0-beta.1",
"babel-loader": "^7.0.0",
"babel-plugin-transform-class-properties": "^6.11.5",
"babel-plugin-transform-object-rest-spread": "^6.8.0",
Expand All @@ -60,7 +51,7 @@
"cross-env": "^5.0.0",
"css-loader": "^0.28.0",
"enzyme": "^3.1.0",
"enzyme-adapter-react-15": "^1.0.1",
"enzyme-adapter-react-16": "^1.0.1",
"eslint": "^4.5.0",
"eslint-config-airbnb": "^15.0.1",
"eslint-plugin-import": "^2.2.0",
Expand All @@ -69,15 +60,14 @@
"eslint-plugin-react": "^7.0.1",
"hoist-non-react-statics": "^2.3.1",
"husky": "^0.14.3",
"jest": "^21.2.1",
"jest": "^21.3.0-beta.1",
"lint-staged": "^4.0.4",
"npm-run-all": "^4.1.1",
"prettier": "^1.2.2",
"react": "^15.0.0",
"react-addons-test-utils": "^15.0.0",
"react-dom": "^15.0.0",
"react-modal": "^1.3.0",
"react-test-renderer": "^15.5.4",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-modal": "^3.0.0-rc2",
"react-test-renderer": "^16.0.0",
"rimraf": "^2.5.2",
"standard-version": "^4.2.0",
"style-loader": "^0.18.1",
Expand All @@ -90,15 +80,10 @@
"prop-types": "^15.5.0"
},
"jest": {
"roots": [
"src"
],
"roots": ["src"],
"testRegex": "/__tests__/.+-test\\.js$"
},
"lint-staged": {
"src/**/*.js": [
"eslint --fix",
"git add"
]
"src/**/*.js": ["eslint --fix", "git add"]
}
}
2 changes: 1 addition & 1 deletion src/components/__tests__/Tabs-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/* eslint-disable react/no-multi-comp */
import React from 'react';
import Enzyme, { shallow, mount } from 'enzyme';
import Adapter from 'enzyme-adapter-react-15';
import Adapter from 'enzyme-adapter-react-16';
import renderer from 'react-test-renderer';
import Tab from '../Tab';
import TabList from '../TabList';
Expand Down
Loading

0 comments on commit 94447e9

Please sign in to comment.