Skip to content

Commit ed87244

Browse files
authored
chore: update dependencies (#383)
1 parent 2baaeda commit ed87244

File tree

3 files changed

+931
-1503
lines changed

3 files changed

+931
-1503
lines changed

.babelrc

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
{
2-
"presets": ["@babel/preset-env", "@babel/preset-react"]
2+
"presets": ["@babel/preset-env", "@babel/preset-react"],
3+
"env": {
4+
"test": {
5+
"plugins": ["@babel/plugin-transform-modules-commonjs"]
6+
}
7+
}
38
}

package.json

+31-31
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,12 @@
3636
"clean:website": "rimraf build",
3737
"prebuild:website": "yarn run clean:website",
3838
"build:website": "parcel build website/index.html -d build --public-url /react-split-pane/",
39-
"test": "mochify -R spec --transform babelify",
40-
"test:watch": "mochify -R spec --watch --transform babelify",
41-
"test:coverage": "mochify --plugin [ mochify-istanbul --exclude '**/test/**' --report lcovonly ] --transform babelify && cat lcov.info | coveralls && rm lcov.info",
39+
"test": "BABEL_ENV=test mochify -R spec --transform babelify",
40+
"test:watch": "BABEL_ENV=test mochify -R spec --watch --transform babelify",
41+
"test:coverage": "BABEL_ENV=test mochify --plugin [ mochify-istanbul --exclude '**/test/**' --report lcovonly ] --transform babelify && cat lcov.info | coveralls && rm lcov.info",
4242
"prettier": "prettier --write '{src,test}/**/*.js'",
4343
"lint": "eslint src test",
4444
"release": "standard-version",
45-
"precommit": "lint-staged",
4645
"deploy": "gh-pages -d build",
4746
"prepublishOnly": "yarn run test && yarn run build"
4847
},
@@ -52,48 +51,49 @@
5251
}
5352
},
5453
"dependencies": {
55-
"prop-types": "^15.5.10",
54+
"prop-types": "^15.7.2",
5655
"react-lifecycles-compat": "^3.0.4",
57-
"react-style-proptype": "^3.0.0"
56+
"react-style-proptype": "^3.2.2"
5857
},
5958
"devDependencies": {
60-
"@babel/core": "^7.2.0",
61-
"@babel/preset-env": "^7.2.0",
62-
"@babel/preset-react": "^7.0.0",
59+
"@babel/core": "^7.7.2",
60+
"@babel/plugin-transform-modules-commonjs": "^7.7.0",
61+
"@babel/preset-env": "^7.7.1",
62+
"@babel/preset-react": "^7.7.0",
6363
"@emotion/core": "^10.0.22",
6464
"@emotion/styled": "^10.0.23",
65-
"@types/react": "^16.0.36",
66-
"babel-eslint": "^10.0.1",
65+
"@types/react": "^16.9.11",
66+
"babel-eslint": "^10.0.3",
6767
"babelify": "^10.0.0",
68-
"chai": "^4.0.2",
69-
"chai-spies": "^0.7.1",
70-
"coveralls": "^2.13.1",
71-
"cross-env": "^5.2.0",
72-
"eslint": "^4.19.1",
73-
"eslint-config-fbjs": "^2.1.0",
68+
"chai": "^4.2.0",
69+
"chai-spies": "^1.0.0",
70+
"coveralls": "^3.0.7",
71+
"cross-env": "^6.0.3",
72+
"eslint": "^6.6.0",
73+
"eslint-config-fbjs": "^3.1.1",
7474
"eslint-config-prettier": "^6.5.0",
7575
"eslint-config-react": "^1.1.7",
7676
"eslint-plugin-babel": "^5.1.0",
77-
"eslint-plugin-flowtype": "^2.49.3",
78-
"eslint-plugin-jsx-a11y": "^6.0.3",
79-
"eslint-plugin-prettier": "^2.6.0",
80-
"eslint-plugin-react": "^7.9.1",
81-
"eslint-plugin-relay": "^0.0.28",
77+
"eslint-plugin-flowtype": "^4.3.0",
78+
"eslint-plugin-jsx-a11y": "^6.2.3",
79+
"eslint-plugin-prettier": "^3.1.1",
80+
"eslint-plugin-react": "^7.16.0",
81+
"eslint-plugin-relay": "^1.3.12",
8282
"gh-pages": "^2.1.1",
83-
"husky": "^1.2.0",
84-
"mochify": "^5.8.0",
83+
"husky": "^3.0.9",
84+
"mochify": "^6.6.0",
8585
"mochify-istanbul": "^2.4.2",
8686
"parcel-bundler": "^1.12.4",
87-
"prettier": "1.15.3",
88-
"pretty-quick": "^1.8.0",
87+
"prettier": "1.19.1",
88+
"pretty-quick": "^2.0.1",
8989
"react": ">=15",
9090
"react-dom": "^16.0.0-0",
9191
"react-router-dom": "^5.1.2",
92-
"rimraf": "^2.6.2",
93-
"rollup": "^0.68.2",
94-
"rollup-plugin-babel": "^4.0.3",
95-
"rollup-plugin-commonjs": "^9.1.3",
96-
"rollup-plugin-node-resolve": "^4.2.4",
92+
"rimraf": "^3.0.0",
93+
"rollup": "^1.26.5",
94+
"rollup-plugin-babel": "^4.3.3",
95+
"rollup-plugin-commonjs": "^10.1.0",
96+
"rollup-plugin-node-resolve": "^5.2.0",
9797
"standard-version": "^7.0.0"
9898
},
9999
"peerDependencies": {

0 commit comments

Comments
 (0)