|
35 | 35 | "test:coverage": "yarn run test -- --coverage",
|
36 | 36 | "test:coverage:deploy": "yarn run coverage && codecov"
|
37 | 37 | },
|
| 38 | + "peerDependencies": { |
| 39 | + "react": ">=15.0.0" |
| 40 | + }, |
38 | 41 | "devDependencies": {
|
39 | 42 | "app-root-dir": "1.0.2",
|
40 | 43 | "babel-cli": "6.18.0",
|
41 | 44 | "babel-core": "6.21.0",
|
42 | 45 | "babel-eslint": "7.1.1",
|
43 | 46 | "babel-jest": "18.0.0",
|
44 | 47 | "babel-loader": "6.2.10",
|
45 |
| - "babel-plugin-syntax-flow": "6.18.0", |
46 |
| - "babel-plugin-transform-flow-strip-types": "6.21.0", |
47 | 48 | "babel-polyfill": "6.20.0",
|
48 | 49 | "babel-preset-env": "1.1.4",
|
49 | 50 | "babel-preset-latest": "6.16.0",
|
| 51 | + "babel-preset-react": "^6.16.0", |
50 | 52 | "babel-preset-stage-3": "6.17.0",
|
51 | 53 | "babel-register": "6.18.0",
|
52 | 54 | "codecov": "1.0.1",
|
53 | 55 | "cross-env": "3.1.3",
|
| 56 | + "enzyme": "^2.7.0", |
| 57 | + "enzyme-to-json": "^1.4.5", |
54 | 58 | "eslint": "3.12.2",
|
55 | 59 | "eslint-config-airbnb": "13.0.0",
|
56 | 60 | "eslint-plugin-flowtype": "2.29.2",
|
57 | 61 | "eslint-plugin-import": "2.2.0",
|
58 | 62 | "eslint-plugin-jsx-a11y": "2.2.3",
|
| 63 | + "eslint-plugin-react": "^6.8.0", |
59 | 64 | "flow-bin": "0.37.4",
|
60 | 65 | "flow-coverage-report": "^0.2.0",
|
61 | 66 | "flow-typed": "^2.0.0",
|
|
65 | 70 | "jest": "18.1.0",
|
66 | 71 | "pretty-bytes": "4.0.2",
|
67 | 72 | "ramda": "0.23.0",
|
| 73 | + "react": "^15.4.1", |
| 74 | + "react-addons-test-utils": "^15.4.1", |
| 75 | + "react-dom": "^15.4.1", |
68 | 76 | "readline-sync": "1.4.5",
|
69 | 77 | "rimraf": "2.5.4",
|
| 78 | + "sinon": "^1.17.7", |
70 | 79 | "webpack": "2.2.0-rc.3",
|
71 | 80 | "webpack-dev-middleware": "1.9.0",
|
72 | 81 | "webpack-hot-middleware": "2.14.0"
|
|
80 | 89 | "collectCoverageFrom": [
|
81 | 90 | "src/**/*.{js,jsx}"
|
82 | 91 | ],
|
| 92 | + "snapshotSerializers": [ |
| 93 | + "<rootDir>/node_modules/enzyme-to-json/serializer" |
| 94 | + ], |
83 | 95 | "testPathIgnorePatterns": [
|
84 | 96 | "<rootDir>/(commonjs|coverage|flow-typed|node_modules|tools|umd)/"
|
85 | 97 | ]
|
|
0 commit comments