diff --git a/package.json b/package.json index 978a655..5e31024 100644 --- a/package.json +++ b/package.json @@ -138,22 +138,22 @@ ], "devDependencies": { "@babel/cli": "^7.2.3", - "@babel/core": "^7.2.2", + "@babel/core": "^7.3.4", "@babel/plugin-external-helpers": "^7.2.0", - "@babel/plugin-proposal-class-properties": "^7.3.3", + "@babel/plugin-proposal-class-properties": "^7.3.4", "@babel/plugin-proposal-decorators": "^7.3.0", "@babel/plugin-proposal-json-strings": "^7.2.0", - "@babel/plugin-proposal-object-rest-spread": "^7.3.2", + "@babel/plugin-proposal-object-rest-spread": "^7.3.4", "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-syntax-import-meta": "^7.2.0", - "@babel/plugin-transform-async-to-generator": "^7.2.0", + "@babel/plugin-transform-async-to-generator": "^7.3.4", "@babel/plugin-transform-modules-commonjs": "^7.2.0", "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/plugin-transform-react-inline-elements": "^7.2.0", - "@babel/plugin-transform-runtime": "^7.2.0", - "@babel/preset-env": "^7.3.1", + "@babel/plugin-transform-runtime": "^7.3.4", + "@babel/preset-env": "^7.3.4", "@babel/preset-react": "^7.0.0", - "@rollup-umd/documentation": "^1.3.14", + "@rollup-umd/documentation": "^1.3.16", "@semantic-release/changelog": "^3.0.2", "@semantic-release/git": "^7.0.8", "@semantic-release/github": "^5.2.10", @@ -170,7 +170,7 @@ "babel-plugin-react-transform": "^3.0.0", "babel-plugin-transform-react-remove-prop-types": "^0.4.24", "cz-conventional-changelog": "^2.1.0", - "eslint": "^5.12.1", + "eslint": "^5.15.0", "eslint-config-airbnb-base": "^13.1.0", "eslint-plugin-import": "^2.16.0", "exports-loader": "^0.7.0", @@ -178,13 +178,13 @@ "istanbul-reports": "^2.1.1", "jest-cli": "^24.1.0", "jest-sonar-reporter": "^2.0.0", - "lint-staged": "^8.1.4", + "lint-staged": "^8.1.5", "pre-commit": "^1.2.2", "react-styleguidist": "^8.0.6", - "rollup": "^1.2.3", + "rollup": "^1.4.0", "semantic-release": "^15.13.3", "toctoc": "^0.3.2", - "webpack": "^4.29.5" + "webpack": "^4.29.6" }, "dependencies": { "rollup-plugin-babel": "^4.3.2", @@ -196,7 +196,7 @@ "rollup-plugin-node-resolve": "^4.0.1", "rollup-plugin-replace": "^2.1.0", "rollup-plugin-terser": "^4.0.4", - "rollup-plugin-visualizer": "^0.9.2", + "rollup-plugin-visualizer": "^1.0.2", "rollup-watch": "^4.3.1" }, "peerDependencies": {}, diff --git a/src/index.js b/src/index.js index cb3f2bf..aeca51c 100644 --- a/src/index.js +++ b/src/index.js @@ -137,7 +137,7 @@ function createConfig(options = {}) { commonjs({ include: 'node_modules/**', namedExports: { - react: ['cloneElement', 'createElement', 'PropTypes', 'Children', 'Component'], + react: ['cloneElement', 'createElement', 'PropTypes', 'Children', 'Component', 'createContext'], 'react-is': ['isElement', 'isValidElementType', 'ForwardRef'], ...namedExports, },