From 30f1b068c93664096dd0c4dd9009abdbd7ba9d2c Mon Sep 17 00:00:00 2001 From: Jimmy Jia Date: Tue, 30 May 2017 13:32:41 -0400 Subject: [PATCH] Update and clean up dependencies --- karma.conf.js | 4 ++-- package.json | 36 ++++++++++++++++++------------------ 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/karma.conf.js b/karma.conf.js index 5cdddea..f415302 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -14,8 +14,8 @@ module.exports = (config) => { webpack: { module: { - loaders: [ - { test: /\.js$/, exclude: /node_modules/, loader: 'babel' }, + rules: [ + { test: /\.js$/, exclude: /node_modules/, use: 'babel-loader' }, ], }, plugins: [ diff --git a/package.json b/package.json index a6dc782..2059baf 100644 --- a/package.json +++ b/package.json @@ -38,19 +38,19 @@ "babel-runtime": "^6.23.0", "invariant": "^2.2.2", "lodash": "^4.17.4", - "prop-types": "^15.5.6", + "prop-types": "^15.5.10", "react-static-container": "^1.0.1" }, "peerDependencies": { - "react": ">=0.14.0", - "react-relay": ">=0.6.0", - "react-router": ">=2.3.0" + "react": "^0.14.9 || >=15.3.0", + "react-relay": ">=0.6.0 <1.0.0", + "react-router": "^2.3.0 || ^3.0.0" }, "devDependencies": { "babel-cli": "^6.24.1", "babel-core": "^6.24.1", - "babel-eslint": "^7.2.1", - "babel-loader": "^6.4.1", + "babel-eslint": "^7.2.3", + "babel-loader": "^7.0.0", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-dev-expression": "^0.2.1", "babel-plugin-transform-runtime": "^6.23.0", @@ -61,31 +61,31 @@ "babel-register": "^6.24.1", "babel-relay-plugin": "^0.10.0", "chai": "^3.5.0", - "cross-env": "^4.0.0", + "cross-env": "^5.0.0", "eslint": "^3.19.0", "eslint-config-4catalyzer-react": "^0.2.0", - "eslint-plugin-import": "^2.2.0", + "eslint-plugin-import": "^2.3.0", "eslint-plugin-jsx-a11y": "^2.2.3", "eslint-plugin-react": "^6.10.3", - "graphql": "^0.9.2", + "graphql": "^0.10.1", "graphql-relay": "^0.5.1", - "karma": "^1.6.0", - "karma-chrome-launcher": "^2.0.0", + "karma": "^1.7.0", + "karma-chrome-launcher": "^2.1.1", "karma-firefox-launcher": "^1.0.1", "karma-mocha": "^1.3.0", "karma-mocha-reporter": "^2.2.3", "karma-sinon-chai": "^1.3.1", "karma-sourcemap-loader": "^0.3.7", - "karma-webpack": "^1.8.0", - "mocha": "^3.2.0", - "react": "^15.5.3", - "react-dom": "^15.5.3", + "karma-webpack": "^2.0.3", + "mocha": "^3.4.2", + "react": "^15.5.4", + "react-dom": "^15.5.4", "react-relay": "^0.10.0", "react-router": "^2.8.0", "relay-local-schema": "^0.5.5", "rimraf": "^2.6.1", - "sinon": "^2.1.0", - "sinon-chai": "^2.9.0", - "webpack": "^1.13.2" + "sinon": "^2.3.2", + "sinon-chai": "^2.10.0", + "webpack": "^2.6.1" } }