Skip to content

Commit c70c99f

Browse files
committed
chore: update dependencies
1 parent d6d0f63 commit c70c99f

5 files changed

Lines changed: 2861 additions & 4161 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ cache:
55
notifications:
66
email: false
77
node_js:
8-
- '9'
8+
- "10"
99
after_success:
1010
- npm run travis-deploy-once "npm run coveralls && npm run semantic-release"
1111
branches:

jest.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ const path = require("path");
22

33
module.exports = {
44
preset: "react-native",
5+
transform: {
6+
"^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
7+
},
58
transformIgnorePatterns: [
69
"node_modules/(?!(react-native|react-native-button|react-native-core-library|@bam.tech/[w-]*|static-container|react-native-tab-view)|react-native-iphone-x-helper/)"
710
],

jest/preamble.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ const mockDocumentForEnzymeMount = () => {
88

99
const { JSDOM } = jsdom;
1010

11-
const { document } = new JSDOM("").window;
11+
const { window } = new JSDOM("");
12+
const { document } = window;
1213
global.document = document;
14+
global.window = window;
1315
};
16+
1417
mockDocumentForEnzymeMount();

package.json

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"lodash": "^4.17.11",
2626
"react-native-modalbox": "^1.7.1",
2727
"react-native-root-siblings": "3.1.7",
28-
"recompose": "^0.26.0"
28+
"recompose": "^0.30.0"
2929
},
3030
"author": "Almouro <contact@almouro.com> (http://alexandremoureaux.com/)",
3131
"license": "MIT",
@@ -35,25 +35,24 @@
3535
"homepage": "https://github.com/bamlab/react-native-formik#readme",
3636
"devDependencies": {
3737
"@babel/runtime": "^7.2.0",
38-
"@types/react": "^16.3.8",
39-
"babel-core": "6.26.3",
40-
"babel-jest": "23.6.0",
41-
"babel-preset-react-native": "4.0.0",
42-
"commitizen": "^2.9.6",
38+
"@types/react": "^16.8.6",
39+
"babel-jest": "24.1.0",
40+
"babel-preset-react-native": "5.0.2",
41+
"commitizen": "^3.0.7",
4342
"coveralls": "^3.0.0",
4443
"cz-conventional-changelog": "^2.1.0",
4544
"enzyme": "^3.3.0",
4645
"enzyme-adapter-react-16": "^1.0.0",
47-
"eslint": "^5.2.0",
46+
"eslint": "^5.15.1",
4847
"eslint-config-bambi": "^1.4.0",
4948
"formik": "^1.0.2",
50-
"husky": "^0.14.3",
51-
"jest": "23.6.0",
52-
"metro-react-native-babel-preset": "0.50.0",
49+
"husky": "^1.3.1",
50+
"jest": "24.1.0",
51+
"metro-react-native-babel-preset": "0.53.0",
5352
"prettier": "^1.14.0",
54-
"react": "16.2.0",
55-
"react-dom": "16.2.1",
56-
"react-native": "0.53.0",
53+
"react": "16.8.3",
54+
"react-dom": "16.8.3",
55+
"react-native": "0.58.6",
5756
"semantic-release": "^15.9.3",
5857
"travis-deploy-once": "^5.0.1",
5958
"validate-commit-msg": "^2.14.0"

0 commit comments

Comments
 (0)