diff --git a/package.json b/package.json index 7274e7d..5ff58cf 100644 --- a/package.json +++ b/package.json @@ -21,8 +21,7 @@ "license": "MIT", "dependencies": { "@condenast/jsonml.js": "^1.0.1", - "lodash.camelcase": "^4.1.1", - "lodash.isfunction": "^3.0.8" + "lodash": "^4.14.1" }, "peerDependencies": { "react": "^16.0.0" diff --git a/src/JsonmlToReact.js b/src/JsonmlToReact.js index 3973835..ef1295c 100644 --- a/src/JsonmlToReact.js +++ b/src/JsonmlToReact.js @@ -1,6 +1,6 @@ import React from 'react'; import JsonML from '@condenast/jsonml.js/dist/utils'; -import isFunction from 'lodash.isfunction'; +import isFunction from 'lodash/isFunction'; import { filter, diff --git a/src/utils.js b/src/utils.js index c148793..990afcf 100644 --- a/src/utils.js +++ b/src/utils.js @@ -1,4 +1,4 @@ -import camelCase from 'lodash.camelcase'; +import camelCase from 'lodash/camelCase'; /** * Returns a copy of an object, with specific keys omitted