|
30 | 30 | "bugs": {
|
31 | 31 | "url": "https://github.com/reactjs/react-tabs/issues"
|
32 | 32 | },
|
33 |
| - "files": [ |
34 |
| - "dist", |
35 |
| - "lib", |
36 |
| - "style" |
37 |
| - ], |
| 33 | + "files": ["dist", "lib", "style"], |
38 | 34 | "homepage": "https://github.com/reactjs/react-tabs",
|
39 |
| - "keywords": [ |
40 |
| - "react", |
41 |
| - "tabs", |
42 |
| - "a11y", |
43 |
| - "react-component" |
44 |
| - ], |
| 35 | + "keywords": ["react", "tabs", "a11y", "react-component"], |
45 | 36 | "peerDependencies": {
|
46 |
| - "react": "^0.14.9 || ^15.3.0" |
| 37 | + "react": "^0.14.9 || ^15.3.0 || ^16.0.0" |
47 | 38 | },
|
48 | 39 | "devDependencies": {
|
49 | 40 | "babel-cli": "^6.9.0",
|
50 | 41 | "babel-core": "^6.9.1",
|
51 | 42 | "babel-eslint": "^8.0.1",
|
52 |
| - "babel-jest": "^21.2.0", |
| 43 | + "babel-jest": "^21.3.0-beta.1", |
53 | 44 | "babel-loader": "^7.0.0",
|
54 | 45 | "babel-plugin-transform-class-properties": "^6.11.5",
|
55 | 46 | "babel-plugin-transform-object-rest-spread": "^6.8.0",
|
|
60 | 51 | "cross-env": "^5.0.0",
|
61 | 52 | "css-loader": "^0.28.0",
|
62 | 53 | "enzyme": "^3.1.0",
|
63 |
| - "enzyme-adapter-react-15": "^1.0.1", |
| 54 | + "enzyme-adapter-react-16": "^1.0.1", |
64 | 55 | "eslint": "^4.5.0",
|
65 | 56 | "eslint-config-airbnb": "^15.0.1",
|
66 | 57 | "eslint-plugin-import": "^2.2.0",
|
|
69 | 60 | "eslint-plugin-react": "^7.0.1",
|
70 | 61 | "hoist-non-react-statics": "^2.3.1",
|
71 | 62 | "husky": "^0.14.3",
|
72 |
| - "jest": "^21.2.1", |
| 63 | + "jest": "^21.3.0-beta.1", |
73 | 64 | "lint-staged": "^4.0.4",
|
74 | 65 | "npm-run-all": "^4.1.1",
|
75 | 66 | "prettier": "^1.2.2",
|
76 |
| - "react": "^15.0.0", |
77 |
| - "react-addons-test-utils": "^15.0.0", |
78 |
| - "react-dom": "^15.0.0", |
79 |
| - "react-modal": "^1.3.0", |
80 |
| - "react-test-renderer": "^15.5.4", |
| 67 | + "react": "^16.0.0", |
| 68 | + "react-dom": "^16.0.0", |
| 69 | + "react-modal": "^3.0.0-rc2", |
| 70 | + "react-test-renderer": "^16.0.0", |
81 | 71 | "rimraf": "^2.5.2",
|
82 | 72 | "standard-version": "^4.2.0",
|
83 | 73 | "style-loader": "^0.18.1",
|
|
90 | 80 | "prop-types": "^15.5.0"
|
91 | 81 | },
|
92 | 82 | "jest": {
|
93 |
| - "roots": [ |
94 |
| - "src" |
95 |
| - ], |
| 83 | + "roots": ["src"], |
96 | 84 | "testRegex": "/__tests__/.+-test\\.js$"
|
97 | 85 | },
|
98 | 86 | "lint-staged": {
|
99 |
| - "src/**/*.js": [ |
100 |
| - "eslint --fix", |
101 |
| - "git add" |
102 |
| - ] |
| 87 | + "src/**/*.js": ["eslint --fix", "git add"] |
103 | 88 | }
|
104 | 89 | }
|
0 commit comments