From 5f0a6a5b0bbe9870c54a3106cafdbb742555b4b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nacho=20Mart=C3=ADn?= Date: Wed, 6 Dec 2017 20:51:40 +0100 Subject: [PATCH] Updated dependencies [Fix #29] --- .../examples/custom-field-validation/index.js | 5 ++- docs/pages/examples/custom-themes/index.js | 4 +- package.json | 37 +++++++++---------- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/docs/pages/examples/custom-field-validation/index.js b/docs/pages/examples/custom-field-validation/index.js index 5fe6352..64cd3d7 100644 --- a/docs/pages/examples/custom-field-validation/index.js +++ b/docs/pages/examples/custom-field-validation/index.js @@ -1,9 +1,10 @@ import React from 'react' import ReactDOM from 'react-dom' import { createStore, combineReducers } from 'redux' -import { reducer as formReducer } from 'redux-form' +import { reducer as formReducer, Field } from 'redux-form' import { Provider } from 'react-redux' -import Liform from '../../../../src/' +import Liform, { DefaultTheme } from '../../../../src/' +import classNames from "classNames" const RenderPassword = field => { const className = classNames([ diff --git a/docs/pages/examples/custom-themes/index.js b/docs/pages/examples/custom-themes/index.js index cbc5120..85ab990 100644 --- a/docs/pages/examples/custom-themes/index.js +++ b/docs/pages/examples/custom-themes/index.js @@ -1,9 +1,9 @@ import React from 'react' import ReactDOM from 'react-dom' import { createStore, combineReducers } from 'redux' -import { reducer as formReducer } from 'redux-form' +import { reducer as formReducer, Field } from 'redux-form' import { Provider } from 'react-redux' -import Liform from '../../../../src/' +import Liform, { DefaultTheme } from '../../../../src/' const RenderInput = field => { diff --git a/package.json b/package.json index b6ee7d0..265735a 100644 --- a/package.json +++ b/package.json @@ -26,44 +26,43 @@ "babel-cli": "^6.7.5", "babel-core": "^6.3.26", "babel-eslint": "^8.0.3", - "babel-loader": "^6.2.0", - "babel-plugin-react-transform": "^2.0.2", + "babel-loader": "^7.1.2", + "babel-plugin-react-transform": "^3.0.0", "babel-plugin-transform-object-rest-spread": "^6.22.0", "babel-preset-es2015": "^6.6.0", "babel-preset-react": "^6.5.0", "babel-preset-stage-0": "^6.5.0", "babel-register": "^6.7.2", - "cross-env": "^3.1.4", - "enzyme": "^2.7.1", - "eslint": "^3.5.0", + "cross-env": "^5.1.1", + "enzyme": "^3.2.0", + "eslint": "^4.12.1", "eslint-config-react-app": "^2.0.1", "eslint-plugin-flowtype": "^2.39.1", "eslint-plugin-import": "^2.8.0", "eslint-plugin-jsx-a11y": "^6.0.2", "eslint-plugin-react": "^7.5.1", - "expect": "^1.20.2", - "jsdom": "^9.11.0", + "expect": "^21.2.1", + "jsdom": "^11.5.1", "json-loader": "^0.5.7", - "mocha": "^3.0.2", - "nyc": "^10.1.2", + "mocha": "^4.0.1", + "nyc": "^11.3.0", "prettier": "^1.8.2", - "react": "^15.6.1", "react-addons-test-utils": "^15.6.0", - "react-dom": "^15.6.1", - "react-redux": "^4.4.5", - "redux": "^3.5.2", - "redux-form": "^6.0.2", - "sinon": "^1.17.7", - "webpack": "^1.12.15", - "webpack-dev-server": "^1.16.1", + "sinon": "^4.1.2", + "webpack": "^3.10.0", + "webpack-dev-server": "^2.9.5", "webpack-hot-middleware": "^2.21.0" }, "dependencies": { "ajv": "^5.2.2", "classnames": "^2.2.5", - "deepmerge": "^1.4.4", + "deepmerge": "^2.0.1", "lodash": "^4.10.0", "prop-types": "^15.5.10", - "redux-form": "^6.0.2" + "react": "^16.2.0", + "react-dom": "^16.2.0", + "react-redux": "^5.0.6", + "redux": "^3.5.2", + "redux-form": "^7.2.0" } }